Update to WPCS v3 #241
code-quality.yml
on: pull_request
code-quality
/
Lint PHP files
35s
code-quality
/
PHPCS
27s
Annotations
3 errors and 4 warnings
code-quality / PHPCS:
src/Term_Command.php#L153
The parameter "$assoc_args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
|
code-quality / PHPCS:
src/Term_Command.php#L638
The parameter "[ 'hide_empty' => false ]" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
|
code-quality / PHPCS
Process completed with exit code 1.
|
code-quality / PHPCS:
src/WP_CLI/Entity/RecursiveDataStructureTraverser.php#L31
It is recommended not to use reserved keyword "parent" as function parameter name. Found: $parent
|
code-quality / PHPCS:
src/User_Application_Password_Command.php#L391
The method parameter $assoc_args is never used
|
code-quality / PHPCS:
src/User_Application_Password_Command.php#L500
The method parameter $assoc_args is never used
|
code-quality / PHPCS:
src/Site_Command.php#L160
global_terms_enabled() has been deprecated since WordPress version 6.1.0.
|