Skip to content

Update wp-cli/wp-cli-tests requirement from ^3.1 to ^4.0 #227

Update wp-cli/wp-cli-tests requirement from ^3.1 to ^4.0

Update wp-cli/wp-cli-tests requirement from ^3.1 to ^4.0 #227

Triggered via pull request August 30, 2023 15:08
Status Failure
Total duration 1m 6s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

code-quality.yml

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

Annotations

10 errors and 10 warnings
code-quality / PHPCS: src/WP_CLI/DestructiveThemeUpgrader.php#L17
Expected 1 blank line at end of file; 2 found
code-quality / PHPCS: src/WP_CLI/Fetchers/Plugin.php#L33
Expected 1 blank line at end of file; 2 found
code-quality / PHPCS: extension-command.php#L7
Use the __DIR__ constant instead of calling dirname(__FILE__) (PHP >= 5.3)
code-quality / PHPCS: src/WP_CLI/ParsePluginNameInput.php#L31
Expected 1 space after FUNCTION keyword; 0 found
code-quality / PHPCS: src/WP_CLI/Fetchers/Theme.php#L66
Expected 1 blank line at end of file; 2 found
code-quality / PHPCS: src/Theme_Mod_Command.php#L132
Function closing brace must go on the next line following the body; found 1 blank lines before brace
code-quality / PHPCS: src/Theme_Mod_Command.php#L219
Function closing brace must go on the next line following the body; found 1 blank lines before brace
code-quality / PHPCS: src/Theme_Mod_Command.php#L250
The closing brace for the class must go on the next line after the body
code-quality / PHPCS: src/WP_CLI/CommandWithUpgrade.php#L33
Expected 1 space after FUNCTION keyword; 0 found
code-quality / PHPCS: src/WP_CLI/CommandWithUpgrade.php#L173
Expected 1 space after FUNCTION keyword; 0 found
code-quality / PHPCS: src/Theme_AutoUpdates_Command.php#L102
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
code-quality / PHPCS: src/Theme_AutoUpdates_Command.php#L110
Stand-alone post-increment statement found. Use pre-increment instead: ++$successes.
code-quality / PHPCS: src/Theme_AutoUpdates_Command.php#L179
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
code-quality / PHPCS: src/Theme_AutoUpdates_Command.php#L187
Stand-alone post-increment statement found. Use pre-increment instead: ++$successes.
code-quality / PHPCS: src/Plugin_AutoUpdates_Command.php#L102
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
code-quality / PHPCS: src/Plugin_AutoUpdates_Command.php#L110
Stand-alone post-increment statement found. Use pre-increment instead: ++$successes.
code-quality / PHPCS: src/Plugin_AutoUpdates_Command.php#L179
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
code-quality / PHPCS: src/Plugin_AutoUpdates_Command.php#L187
Stand-alone post-increment statement found. Use pre-increment instead: ++$successes.
code-quality / PHPCS: src/Theme_Command.php#L775
Stand-alone post-increment statement found. Use pre-increment instead: ++$errors.
code-quality / PHPCS: src/Theme_Command.php#L783
Stand-alone post-increment statement found. Use pre-increment instead: ++$errors.