Add PhpVersion param on isSmallerThanOrEqual and isGreaterThanOrEqual #16528
Annotations
10 errors
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff)#L76
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLPlaceholdersSniff) and 'methodPtr' will always evaluate to true.
|
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLSniff)#L87
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLSniff) and 'i' will always evaluate to true.
|
WordPress/Helpers/WPDBTrait.php (in context of class WordPressCS/WordPress/Sniffs/DB/PreparedSQLSniff)#L109
Call to function property_exists() with $this(WordPressCS\WordPress\Sniffs\DB\PreparedSQLSniff) and 'end' will always evaluate to true.
|
WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L89
Method WordPressCS\WordPress\Sniffs\Arrays\ArrayIndentationSniff::process_token() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php#L164
Method WordPressCS\WordPress\Sniffs\Arrays\MultipleStatementAlignmentSniff::process_token() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php#L219
Method WordPressCS\WordPress\Sniffs\Arrays\MultipleStatementAlignmentSniff::process_single_line_array() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php#L169
Method WordPressCS\WordPress\Sniffs\DB\DirectDatabaseQuerySniff::process_token() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/DB/PreparedSQLSniff.php#L161
Method WordPressCS\WordPress\Sniffs\DB\PreparedSQLSniff::process_token() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/Files/FileNameSniff.php#L153
Method WordPressCS\WordPress\Sniffs\Files\FileNameSniff::process_token() never returns void so it can be removed from the return type.
|
WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L751
Method WordPressCS\WordPress\Sniffs\NamingConventions\PrefixAllGlobalsSniff::process_variable_variable() never returns void so it can be removed from the return type.
|
This job failed
Loading