Skip to content

Resolve invalid deprecation that was crashing Dibi analysis in debug mode. #2475

Resolve invalid deprecation that was crashing Dibi analysis in debug mode.

Resolve invalid deprecation that was crashing Dibi analysis in debug mode. #2475

Triggered via pull request January 22, 2024 16:25
@staabmstaabm
synchronize #639
sep
Status Failure
Total duration 1m 18s
Artifacts

phpstan.yml

on: pull_request
Matrix: PHPStan
Matrix: PHPStan (reflection replay)
Fit to window
Zoom out
Zoom in

Annotations

88 errors
PHPStan (reflection replay) (8.1, mysqli, replay): 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.
PHPStan (reflection replay) (8.1, mysqli, replay): 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.
PHPStan (reflection replay) (8.1, mysqli, replay): 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.
PHPStan (reflection replay) (8.1, mysqli, replay): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (reflection replay) (8.1, mysqli, replay): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (reflection replay) (8.1, mysqli, replay): 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.
PHPStan (reflection replay) (8.1, mysqli, replay)
Process completed with exit code 1.
PHPStan (reflection replay) (8.1, pdo-mysql, replay): 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.
PHPStan (reflection replay) (8.1, pdo-mysql, replay): 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.
PHPStan (reflection replay) (8.1, pdo-mysql, replay): 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.
PHPStan (reflection replay) (8.1, pdo-mysql, replay): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (reflection replay) (8.1, pdo-mysql, replay): 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.
PHPStan (reflection replay) (8.1, pdo-mysql, replay)
Process completed with exit code 1.
PHPStan (8.1, mariadb:latest, mysqli, recording): 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.
PHPStan (8.1, mariadb:latest, mysqli, recording): 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.
PHPStan (8.1, mariadb:latest, mysqli, recording): 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.
PHPStan (8.1, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.1, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.1, mariadb:latest, mysqli, recording): 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.
PHPStan (8.1, mariadb:latest, mysqli, recording)
Process completed with exit code 1.
PHPStan (8.0, mariadb:latest, mysqli, recording): 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.
PHPStan (8.0, mariadb:latest, mysqli, recording): 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.
PHPStan (8.0, mariadb:latest, mysqli, recording): 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.
PHPStan (8.0, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.0, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.0, mariadb:latest, mysqli, recording): 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.
PHPStan (8.0, mariadb:latest, mysqli, recording)
Process completed with exit code 1.
PHPStan (8.1, mysql:8.0, mysqli, recording): 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.
PHPStan (8.1, mysql:8.0, mysqli, recording): 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.
PHPStan (8.1, mysql:8.0, mysqli, recording): 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.
PHPStan (8.1, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.1, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.1, mysql:8.0, mysqli, recording): 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.
PHPStan (8.1, mysql:8.0, mysqli, recording)
Process completed with exit code 1.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, mysqli, recording): 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.
PHPStan (8.0, mysql:8.0, mysqli, recording): 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.
PHPStan (8.0, mysql:8.0, mysqli, recording): 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.
PHPStan (8.0, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.0, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.0, mysql:8.0, mysqli, recording): 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.
PHPStan (8.0, mysql:8.0, mysqli, recording)
Process completed with exit code 1.
PHPStan (8.2, mariadb:latest, mysqli, recording): 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.
PHPStan (8.2, mariadb:latest, mysqli, recording): 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.
PHPStan (8.2, mariadb:latest, mysqli, recording): 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.
PHPStan (8.2, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.2, mariadb:latest, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.2, mariadb:latest, mysqli, recording): 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.
PHPStan (8.2, mariadb:latest, mysqli, recording)
Process completed with exit code 1.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.0, mysql:8.0, pdo-mysql, recording, --health-cmd="mysqladmin ping" --health-interval=1...: 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.
PHPStan (8.1, mysql:8.0, mysqli, replay-and-recording, --health-cmd="mysqladmin ping" --health-in...: 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.
PHPStan (8.1, mysql:8.0, mysqli, replay-and-recording, --health-cmd="mysqladmin ping" --health-in...: 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.
PHPStan (8.1, mysql:8.0, mysqli, replay-and-recording, --health-cmd="mysqladmin ping" --health-in...: 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.
PHPStan (8.1, mysql:8.0, mysqli, replay-and-recording, --health-cmd="mysqladmin ping" --health-in...: 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.
PHPStan (8.2, mysql:8.0, mysqli, recording): 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.
PHPStan (8.2, mysql:8.0, mysqli, recording): 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.
PHPStan (8.2, mysql:8.0, mysqli, recording): 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.
PHPStan (8.2, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L144
Strict comparison using === between 1 and 0 will always evaluate to false.
PHPStan (8.2, mysql:8.0, mysqli, recording): src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php#L166
Comparison operation ">" between 0 and 1 is always false.
PHPStan (8.2, mysql:8.0, mysqli, recording): 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.
PHPStan (8.2, mysql:8.0, mysqli, recording)
Process completed with exit code 1.