Skip to content

Tests: allow for PHPUnit 8/9 #964

Tests: allow for PHPUnit 8/9

Tests: allow for PHPUnit 8/9 #964

Triggered via push December 10, 2023 15:59
Status Failure
Total duration 44s
Artifacts

basic-qa.yml

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

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.