Add WordPress 6.9+ Abilities API support #570
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
6s
code-quality
/
Lint PHP files
20s
code-quality
/
Lint Gherkin Feature files
12s
code-quality
/
Spell check
4s
code-quality
/
PHPCS
23s
code-quality
/
PHPStan
37s
Annotations
14 errors and 2 warnings
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPCS:
src/Ability_Command.php#L36
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Ability_Command".
|
|
code-quality / PHPCS:
src/Ability_Category_Command.php#L32
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Ability_Category_Command".
|
|
code-quality / PHPCS
Process completed with exit code 2.
|
|
code-quality / PHPStan:
src/Ability_Command.php#L321
Parameter #1 $message of static method WP_CLI::line() expects string, string|false given.
|
|
code-quality / PHPStan:
src/Ability_Command.php#L306
Function wp_get_ability not found.
|
|
code-quality / PHPStan:
src/Ability_Command.php#L285
Function wp_has_ability not found.
|
|
code-quality / PHPStan:
src/Ability_Command.php#L244
Function wp_has_ability not found.
|
|
code-quality / PHPStan:
src/Ability_Command.php#L197
Function wp_get_ability not found.
|
|
code-quality / PHPStan:
src/Ability_Category_Command.php#L226
Access to property $description on an unknown class WP_Ability_Category.
|
|
code-quality / PHPStan:
src/Ability_Category_Command.php#L225
Access to property $name on an unknown class WP_Ability_Category.
|
|
code-quality / PHPStan:
src/Ability_Category_Command.php#L223
Parameter $category of method Ability_Category_Command::format_category_for_output() has invalid type WP_Ability_Category.
|
|
code-quality / PHPStan:
src/Ability_Category_Command.php#L210
Function wp_has_ability_category not found.
|
|
code-quality / PHPStan:
src/Ability_Category_Command.php#L172
Function wp_get_ability_category not found.
|
|
code-quality / PHPCS:
src/Ability_Command.php#L108
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
|
code-quality / PHPCS:
src/Ability_Category_Command.php#L88
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
|