Skip to content

ControlStructures/RequireSingleLineCondition: prevent error for parse error #1125

ControlStructures/RequireSingleLineCondition: prevent error for parse error

ControlStructures/RequireSingleLineCondition: prevent error for parse error #1125

Triggered via pull request September 28, 2023 13:43
Status Failure
Total duration 10m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Matrix: Coding standards
Matrix: Lint
Matrix: Static analysis
Matrix: Tests
Matrix: Upload code coverage
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Coding standards (highest, 8.2, ubuntu-latest)
Process completed with exit code 1.
Lint (highest, 7.4, ubuntu-latest)
Process completed with exit code 1.
Lint (highest, 7.2, ubuntu-latest)
The job was canceled because "highest_7_4_ubuntu-latest" failed.
Lint (highest, 7.2, ubuntu-latest)
Process completed with exit code 1.
Lint (highest, 8.2, ubuntu-latest)
The job was canceled because "highest_7_4_ubuntu-latest" failed.
Lint (highest, 8.2, ubuntu-latest)
The operation was canceled.
Lint (highest, 8.1, ubuntu-latest)
The job was canceled because "highest_7_4_ubuntu-latest" failed.
Lint (highest, 8.1, ubuntu-latest)
A task was canceled.
Lint (highest, 8.0, ubuntu-latest)
The job was canceled because "highest_7_4_ubuntu-latest" failed.
Lint (highest, 8.0, ubuntu-latest)
The operation was canceled.
Lint (highest, 7.3, ubuntu-latest)
The job was canceled because "highest_7_4_ubuntu-latest" failed.
Lint (highest, 7.3, ubuntu-latest)
The operation was canceled.
Static analysis (highest, 8.2, ubuntu-latest): SlevomatCodingStandard/Sniffs/ControlStructures/RequireSingleLineConditionSniff.php#L41
Strict comparison using === between true and false will always evaluate to false.
Static analysis (highest, 8.2, ubuntu-latest): SlevomatCodingStandard/Sniffs/ControlStructures/RequireSingleLineConditionSniff.php#L41
Variable $parenthesisCloserPointer in isset() always exists and is not nullable.
Static analysis (highest, 8.2, ubuntu-latest): SlevomatCodingStandard/Sniffs/ControlStructures/RequireSingleLineConditionSniff.php#L41
Variable $parenthesisOpenerPointer in isset() always exists and is not nullable.
Static analysis (highest, 8.2, ubuntu-latest)
Process completed with exit code 1.