PHPStan 2.0 support #2738
Annotations
10 errors
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L115
Cannot access offset 'EXTRA' on mixed.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L116
Cannot access offset 'COLUMN_TYPE' on mixed.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L117
Cannot access offset 'COLUMN_NAME' on mixed.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L119
Parameter #1 $haystack of function str_contains expects string, mixed given.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L120
Generator expects key type string, mixed given.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L122
Parameter #1 $haystack of function str_contains expects string, mixed given.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L123
Generator expects key type string, mixed given.
|
Run composer phpstan:
src/QueryReflection/PdoPgSqlQueryReflector.php#L33
Return type (array<array{name: string, table?: string, native_type: string, len: int, flags: array<int, string>}>|PDOException|null) of method staabm\PHPStanDba\QueryReflection\PdoPgSqlQueryReflector::simulateQuery() should be covariant with return type (array<array{name: string, table: string, native_type: string, len: int, flags: array<int, string>, precision: int<0, max>, pdo_type: 0|1|2|3|4|5|6|536870912|1073741824|2147483648}>|PDOException|null) of method staabm\PHPStanDba\QueryReflection\BasePdoQueryReflector::simulateQuery()
|
Run composer phpstan:
src/QueryReflection/ReflectionCache.php#L160
Property staabm\PHPStanDba\QueryReflection\ReflectionCache::$schemaHash (string|null) does not accept mixed.
|
Run composer phpstan
Process completed with exit code 1.
|
Loading