Tests: allow for PHPUnit 8/9 #964
basic-qa.yml
on: push
Run code sniffs
36s
PHPStan
17s
Matrix: ruleset-tests
Annotations
7 errors
PHPStan:
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff)#L87
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLPlaceholdersSniff) and 'i' will always evaluate to false.
|
PHPStan:
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff)#L109
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLPlaceholdersSniff) and 'end' will always evaluate to false.
|
PHPStan:
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLSniff)#L76
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLSniff) and 'methodPtr' will always evaluate to false.
|
PHPStan:
WordPress/Sniffs/WP/I18nSniff.php#L774
Access to an undefined property XMLReader::$nodeType.
|
PHPStan:
WordPress/Sniffs/WP/I18nSniff.php#L790
Access to an undefined property XMLReader::$name.
|
PHPStan
Process completed with exit code 1.
|
Ruleset test: PHP latest on PHPCS dev-master
Process completed with exit code 1.
|