Skip to content

Update to WPCS v3

Update to WPCS v3 #241

Re-run triggered September 1, 2023 11:40
Status Failure
Total duration 44s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint PHP files
35s
code-quality / Lint PHP files
code-quality  /  PHPCS
27s
code-quality / PHPCS
Fit to window
Zoom out
Zoom in

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.