Skip to content

AbstractClassRestrictionsSniff: fix insufficient defensive coding #25

AbstractClassRestrictionsSniff: fix insufficient defensive coding

AbstractClassRestrictionsSniff: fix insufficient defensive coding #25

Triggered via push October 3, 2024 18:54
Status Failure
Total duration 38s
Artifacts

basic-qa.yml

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

Annotations

7 errors
PHPStan: WordPress/AbstractClassRestrictionsSniff.php#L131
Result of && is always false.
PHPStan: WordPress/AbstractClassRestrictionsSniff.php#L131
Variable $tokens in isset() is never defined.
PHPStan
Process completed with exit code 1.
Ruleset test: PHP latest on PHPCS dev
Process completed with exit code 1.
Run code sniffs: WordPress/AbstractClassRestrictionsSniff.php#L131
Use Yoda Condition checks, you must.
Run code sniffs
Process completed with exit code 1.
Run code sniffs
Process completed with exit code 1.