PHPStan level 9 #444
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
5s
code-quality
/
Lint PHP files
16s
code-quality
/
Lint Gherkin Feature files
10s
code-quality
/
Spell check
9s
code-quality
/
PHPCS
17s
code-quality
/
PHPStan
29s
Annotations
13 errors
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPCS:
src/Theme_Mod_Command.php#L207
Trailing commas are not allowed in function declaration parameter lists in PHP 7.4 or earlier
|
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
src/WP_CLI/ParseThemeNameInput.php (in context of class Theme_Command)#L199
Parameter #1 $theme (WP_Theme) of method Theme_Command::get_status() should be contravariant with parameter $file (mixed) of method WP_CLI\CommandWithUpgrade::get_status()
|
|
code-quality / PHPStan:
src/WP_CLI/Fetchers/Theme.php#L23
Parameter #1 $name (string) of method WP_CLI\Fetchers\Theme::get() should be contravariant with parameter $arg (int|string) of method WP_CLI\Fetchers\Base::get()
|
|
code-quality / PHPStan:
src/WP_CLI/Fetchers/Plugin.php#L21
Parameter #1 $name (string) of method WP_CLI\Fetchers\Plugin::get() should be contravariant with parameter $arg (int|string) of method WP_CLI\Fetchers\Base::get()
|
|
code-quality / PHPStan:
src/Theme_Command.php#L220
Parameter #2 $assoc_args (array) of method Theme_Command::activate() should be contravariant with parameter $assoc_args (mixed) of method WP_CLI\CommandWithUpgrade::activate()
|
|
code-quality / PHPStan:
src/Theme_Command.php#L220
Parameter #1 $args (array) of method Theme_Command::activate() should be contravariant with parameter $args (mixed) of method WP_CLI\CommandWithUpgrade::activate()
|
|
code-quality / PHPStan:
src/Plugin_Command.php#L795
Strict comparison using !== between null and mixed will always evaluate to true.
|
|
code-quality / PHPStan:
src/Plugin_Command.php#L357
Parameter #2 $assoc_args (array) of method Plugin_Command::activate() should be contravariant with parameter $assoc_args (mixed) of method WP_CLI\CommandWithUpgrade::activate()
|
|
code-quality / PHPStan:
src/Plugin_Command.php#L357
Parameter #1 $args (array) of method Plugin_Command::activate() should be contravariant with parameter $args (mixed) of method WP_CLI\CommandWithUpgrade::activate()
|
|
code-quality / PHPStan:
src/Plugin_Command.php#L76
PHPDoc type WP_CLI\Fetchers\Plugin of property Plugin_Command::$fetcher is not the same as PHPDoc type mixed of overridden property WP_CLI\CommandWithUpgrade::$fetcher.
|