Update wp-cli/wp-cli-tests requirement from ^3.1 to ^4.0 #242
code-quality.yml
on: pull_request
code-quality
/
Lint PHP files
24s
code-quality
/
PHPCS
26s
Annotations
10 errors and 10 warnings
code-quality / PHPCS:
src/Site_Meta_Command.php#L115
The closing brace for the class must go on the next line after the body
|
code-quality / PHPCS:
src/Post_Type_Command.php#L149
Expected 1 space after FUNCTION keyword; 0 found
|
code-quality / PHPCS:
src/Menu_Command.php#L71
If control structure block found as the only statement within an "else" block. Use elseif instead.
|
code-quality / PHPCS:
src/Menu_Command.php#L188
Expected 1 space after FUNCTION keyword; 0 found
|
code-quality / PHPCS:
src/Menu_Command.php#L203
The closing brace for the class must go on the next line after the body
|
code-quality / PHPCS:
tests/RecursiveDataStructureTraverserTest.php#L163
The closing brace for the class must go on the next line after the body
|
code-quality / PHPCS:
src/Site_Option_Command.php#L248
If control structure block found as the only statement within an "else" block. Use elseif instead.
|
code-quality / PHPCS:
src/Site_Option_Command.php#L310
Expected 1 space after FUNCTION keyword; 0 found
|
code-quality / PHPCS:
src/Site_Option_Command.php#L365
Expected 1 space after FUNCTION keyword; 0 found
|
code-quality / PHPCS:
src/Site_Option_Command.php#L404
If control structure block found as the only statement within an "else" block. Use elseif instead.
|
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/Menu_Command.php#L102
Stand-alone post-increment statement found. Use pre-increment instead: ++$errors.
|
code-quality / PHPCS:
src/Menu_Command.php#L105
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
|
code-quality / PHPCS:
src/Menu_Item_Command.php#L378
Stand-alone post-increment statement found. Use pre-increment instead: ++$errors.
|
code-quality / PHPCS:
src/Menu_Item_Command.php#L399
Loose comparisons are not allowed. Expected: "!=="; Found: "!="
|
code-quality / PHPCS:
src/Menu_Item_Command.php#L400
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
|
code-quality / PHPCS:
src/Term_Command.php#L460
Stand-alone post-increment statement found. Use pre-increment instead: ++$errors.
|
code-quality / PHPCS:
src/Term_Command.php#L463
Stand-alone post-increment statement found. Use pre-increment instead: ++$successes.
|
code-quality / PHPCS:
src/Term_Command.php#L560
Stand-alone post-increment statement found. Use pre-increment instead: ++$current_depth.
|
code-quality / PHPCS:
src/User_Application_Password_Command.php#L391
The method parameter $assoc_args is never used
|