Add restart command and --watch option to wp shell #124
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
5s
code-quality
/
Lint PHP files
21s
code-quality
/
Lint Gherkin Feature files
11s
code-quality
/
Spell check
6s
code-quality
/
PHPCS
22s
code-quality
/
PHPStan
25s
Annotations
10 errors
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
src/WP_CLI/Shell/REPL.php#L165
Parameter #1 $arg of function escapeshellarg expects string, string|false given.
|
|
code-quality / PHPStan:
src/WP_CLI/Shell/REPL.php#L161
Parameter #1 $filename of function is_readable expects string, string|false given.
|
|
code-quality / PHPStan:
src/WP_CLI/Shell/REPL.php#L161
Parameter #1 $filename of function is_file expects string, string|false given.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L175
Parameter #1 $string of function substr expects string, mixed given.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L174
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L149
Cannot access offset 0 on mixed.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L146
Cannot access offset 0 on mixed.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L133
Method Shell_Command::restart_process() has parameter $assoc_args with no value type specified in iterable type array.
|
|
code-quality / PHPStan:
src/Shell_Command.php#L122
Method Shell_Command::resolve_watch_path() should return string but returns string|false.
|