PHPStan 2.0 support #2726
Annotations
10 errors
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L82
Property staabm\PHPStanDba\QueryReflection\BasePdoQueryReflector::$cache (array<string, list<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>) does not accept non-empty-array<string, array<int<0, max>, array{name: string, table: string, len: int, flags: array<int, string>, precision: int<0, max>, pdo_type: 0|1|2|3|4|5|6|536870912|1073741824|2147483648, native_type: string}>|PDOException|null>.
|
Run composer phpstan:
src/QueryReflection/PdoMysqlQueryReflector.php#L86
Method staabm\PHPStanDba\QueryReflection\PdoMysqlQueryReflector::simulateQuery() should return list<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 but returns array<int<0, max>, 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.
|
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#L36
Method staabm\PHPStanDba\QueryReflection\PdoPgSqlQueryReflector::simulateQuery() should return list<array{name: string, table?: string, native_type: string, len: int, flags: list<string>}>|PDOException|null but returns list<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.
|
Loading