AbstractClassRestrictionsSniff: fix insufficient defensive coding #25
basic-qa.yml
on: push
Run code sniffs
28s
PHPStan
21s
Matrix: ruleset-tests
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.
|