Switch to PHPCSStandards/PHP_CodeSniffer & raise minimum supported version #955
basic-qa.yml
on: pull_request
Run code sniffs
36s
PHPStan
32s
Matrix: ruleset-tests
Annotations
4 errors
Ruleset test: PHP latest on PHPCS dev-master
Process completed with exit code 1.
|
PHPStan:
WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff.php#L576
Cannot unset offset 'query' on non-empty-array<int, array<string, int|string>>.
|
PHPStan:
WordPress/Sniffs/Security/EscapeOutputSniff.php#L430
Cannot unset offset 'file' on array<int, array<string, int|string>>.
|
PHPStan
Process completed with exit code 1.
|