Resolve invalid deprecation that was crashing Dibi analysis in debug mode. #2475
Annotations
8 errors
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L131
Call to function is_string() with array<int|string, PHPStan\Type\Type>|iterable<string>|PHPStan\Type\Type will always evaluate to false.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L138
Parameter #2 $subject of function preg_match_all expects string, array<int|string, PHPStan\Type\Type>|iterable<string>|PHPStan\Type\Type given.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Parameter #1 $query of static method staabm\PHPStanDba\QueryReflection\QueryReflection::getQueryType() expects string, array<int|string, PHPStan\Type\Type>|iterable<string>|PHPStan\Type\Type given.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Result of && is always false.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
|
Run composer phpstan:
src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L177
Parameter #1 $queryString of method staabm\PHPStanDba\DibiReflection\DibiReflection::rewriteQuery() expects string, array<int|string, PHPStan\Type\Type>|iterable<string>|PHPStan\Type\Type given.
|
Run composer phpstan
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading