PHPStan 2.0 support #2738
Annotations
4 errors
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/PdoPgSqlQueryReflector.php#L123
PHPDoc tag @var with type array{column_default?: string, column_name: string, is_nullable: string} is not subtype of type array{COLUMN_NAME: string|null, COLUMN_DEFAULT: string|null, IS_NULLABLE: string}.
|
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