PHPStan bug #2717
Annotations
10 errors
Run composer phpstan:
src/Analyzer/QueryPlanAnalyzerMysql.php#L1
Ignored error pattern #^Unresolvable Query\: Cannot resolve query with variable type\: non\-empty\-string\.$# in path /home/runner/work/phpstan-dba/phpstan-dba/src/Analyzer/QueryPlanAnalyzerMysql.php was not matched in reported errors.
|
Run composer phpstan:
src/DbSchema/SchemaHasherMysql.php#L70
Argument of an invalid type PDOStatement|false supplied for foreach, only iterables are supported.
|
Run composer phpstan:
src/DbSchema/SchemaHasherMysql.php#L81
No error to ignore is reported on line 81.
|
Run composer phpstan:
src/DbSchema/SchemaHasherMysql.php#L94
Method staabm\PHPStanDba\DbSchema\SchemaHasherMysql::hashDb() should return string but returns mixed.
|
Run composer phpstan:
src/DbSchema/SchemaHasherMysql.php#L94
Property staabm\PHPStanDba\DbSchema\SchemaHasherMysql::$hash (string|null) does not accept mixed.
|
Run composer phpstan:
src/PdoReflection/PdoStatementReflection.php#L54
Method staabm\PHPStanDba\PdoReflection\PdoStatementReflection::getFetchType() never returns 1 so it can be removed from the return type.
|
Run composer phpstan:
src/PdoReflection/PdoStatementReflection.php#L54
Method staabm\PHPStanDba\PdoReflection\PdoStatementReflection::getFetchType() never returns 2 so it can be removed from the return type.
|
Run composer phpstan:
src/QueryReflection/BasePdoQueryReflector.php#L69
No error to ignore is reported on line 69.
|
Run composer phpstan:
src/QueryReflection/MysqliQueryReflector.php#L176
Method staabm\PHPStanDba\QueryReflection\MysqliQueryReflector::getDatasource() never returns PDO so it can be removed from the return type.
|
Run composer phpstan:
src/QueryReflection/MysqliQueryReflector.php#L176
Method staabm\PHPStanDba\QueryReflection\MysqliQueryReflector::getDatasource() never returns null so it can be removed from the return type.
|
Loading