Skip to content

Add phpcbf Composer script #79

Add phpcbf Composer script

Add phpcbf Composer script #79

Triggered via pull request August 30, 2023 12:42
Status Failure
Total duration 44s
Artifacts

code-quality.yml

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

Annotations

5 errors
code-quality / PHPCS: cache-command.php#L7
Use the __DIR__ constant instead of calling dirname(__FILE__) (PHP >= 5.3)
code-quality / PHPCS: src/Cache_Command.php#L410
The closing brace for the class must go on the next line after the body
code-quality / PHPCS: src/Transient_Command.php#L469
If control structure block found as the only statement within an "else" block. Use elseif instead.
code-quality / PHPCS: src/Transient_Command.php#L556
If control structure block found as the only statement within an "else" block. Use elseif instead.
code-quality / PHPCS
Process completed with exit code 1.