Skip to content

ControlStructures/AssignmentInCondition: prevent fatal error during live coding #1124

ControlStructures/AssignmentInCondition: prevent fatal error during live coding

ControlStructures/AssignmentInCondition: prevent fatal error during live coding #1124

Triggered via pull request September 28, 2023 13:42
Status Failure
Total duration 8m 16s
Artifacts

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

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