PHP/UselessParentheses: prevent error for parse error #1126
Triggered via pull request
September 28, 2023 13:43
Status
Failure
Total duration
9m 48s
Artifacts
–
build.yml
on: pull_request
Matrix: Coding standards
Matrix: Lint
Matrix: Static analysis
Matrix: Tests
Matrix: Upload code coverage
Annotations
14 errors
Coding standards (highest, 8.2, ubuntu-latest)
Process completed with exit code 1.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L125
Offset 'parenthesis_closer' on array{content: string, code: int|string, type: string, line: int, column: int, length: int, level: int} in isset() does not exist.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L125
Strict comparison using === between false and false will always evaluate to true.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L130
Unreachable statement - code above always terminates.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L209
Method SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::checkParenthesesAroundConditionInTernaryOperator() is unused.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L286
Method SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::checkParenthesesAroundCaseInSwitch() is unused.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L320
Method SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::checkParenthesesAroundVariableOrFunctionCall() is unused.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L420
Method SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::checkParenthesesAroundString() is unused.
|
Static analysis (highest, 8.2, ubuntu-latest):
SlevomatCodingStandard/Sniffs/PHP/UselessParenthesesSniff.php#L450
Method SlevomatCodingStandard\Sniffs\PHP\UselessParenthesesSniff::checkParenthesesAroundOperators() is unused.
|
Static analysis (highest, 8.2, ubuntu-latest)
Process completed with exit code 1.
|
Lint (highest, 8.1, ubuntu-latest)
Process completed with exit code 1.
|
Lint (highest, 8.0, ubuntu-latest)
The job was canceled because "highest_8_1_ubuntu-latest" failed.
|
Lint (highest, 8.0, ubuntu-latest)
Process completed with exit code 1.
|
Lint (highest, 8.2, ubuntu-latest)
The operation was canceled.
|