Skip to content

Merge pull request #2 from Placester/THEME-3651 #12

Merge pull request #2 from Placester/THEME-3651

Merge pull request #2 from Placester/THEME-3651 #12

Triggered via push April 18, 2024 09:44
Status Failure
Total duration 1m 25s
Artifacts

basic-qa.yml

on: push
Run code sniffs
34s
Run code sniffs
PHPStan
49s
PHPStan
Matrix: ruleset-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 14 warnings
Run code sniffs
Process completed with exit code 2.
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L19
Missing doc comment for class MultipleStatementAlignmentSniff
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L19
A non-abstract class should be declared as final. Found: class MultipleStatementAlignmentSniff implements Sniff {}
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L20
Opening brace should be on the same line as the declaration for class MultipleStatementAlignmentSniff
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L22
Tabs must be used to indent lines; spaces are not allowed
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L23
Tabs must be used to indent lines; spaces are not allowed
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L24
Tabs must be used to indent lines; spaces are not allowed
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L25
Tabs must be used to indent lines; spaces are not allowed
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L26
Tabs must be used to indent lines; spaces are not allowed
Run code sniffs: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L27
Tabs must be used to indent lines; spaces are not allowed
PHPStan: WordPress/Sniffs/Arrays/ArrayDoubleArrowSpacingSniff.php#L141
PHPDoc tag @param references unknown parameter: $stackPtr
PHPStan: WordPress/Sniffs/Formatting/MultipleStatementAlignmentSniff.php#L83
Method WordPress\Sniffs\Formatting\MultipleStatementAlignmentSniff::process() should return int but empty return statement found.
PHPStan: WordPress/Sniffs/Formatting/OnlyOneSpaceBeforeAssignmentSniff.php#L82
Method WordPress\Sniffs\Formatting\OnlyOneSpaceBeforeAssignmentSniff::process() should return int but empty return statement found.
PHPStan: WordPress/Sniffs/Formatting/OnlyOneSpaceBeforeAssignmentSniff.php#L111
Method WordPress\Sniffs\Formatting\OnlyOneSpaceBeforeAssignmentSniff::checkAlignment() should return int but empty return statement found.
PHPStan: WordPress/Sniffs/Formatting/OnlyOneSpaceBeforeAssignmentSniff.php#L116
Method WordPress\Sniffs\Formatting\OnlyOneSpaceBeforeAssignmentSniff::checkAlignment() should return int but empty return statement found.
PHPStan: WordPress/Sniffs/Formatting/OnlyOneSpaceBeforeAssignmentSniff.php#L129
Method WordPress\Sniffs\Formatting\OnlyOneSpaceBeforeAssignmentSniff::checkAlignment() should return int but return statement is missing.
PHPStan
Process completed with exit code 1.
Ruleset test: PHP latest on PHPCS dev-master
Process completed with exit code 2.
Ruleset test: PHP latest on PHPCS dev-master
Process completed with exit code 2.
Ruleset test: PHP latest on PHPCS lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run code sniffs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run code sniffs: WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php#L38
Expected 1 space between "'type'" and double arrow; 6 found.
Run code sniffs: WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php#L39
Expected 1 space between "'message'" and double arrow; 3 found.
Run code sniffs: WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php#L54
Expected 1 space between "'type'" and double arrow; 6 found.
Run code sniffs: WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php#L55
Expected 1 space between "'message'" and double arrow; 3 found.
Run code sniffs: Tests/bootstrap.php#L27
Expected 1 space between $phpcsDir and equal sign; 10 found.
Run code sniffs: Tests/bootstrap.php#L67
Expected 1 space between $allStandards and equal sign; 3 found.
Run code sniffs: WordPress/Sniffs/PHP/YodaConditionsSniff.php#L44
Expected 1 space between $starters and equal sign; 24 found.
Run code sniffs: WordPress/Sniffs/PHP/YodaConditionsSniff.php#L45
Expected 1 space between $starters and equal sign; 23 found.
Run code sniffs: WordPress/Sniffs/PHP/YodaConditionsSniff.php#L46
Expected 1 space between ] and equal sign; 13 found.
Run code sniffs: WordPress/Sniffs/PHP/YodaConditionsSniff.php#L47
Expected 1 space between ] and equal sign; 11 found.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruleset test: PHP latest on PHPCS dev-master
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.