forked from staabm/phpstan-dba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
51 lines (42 loc) · 2.39 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
parameters:
ignoreErrors:
-
message: '#^Instanceof between mysqli_result\<array\<string, int\|string\|null\>\> and mysqli_result will always evaluate to true\.$#'
count: 1
path: src/DbSchema/SchemaHasherMysql.php
-
message: "#^Instanceof between mysqli_result\\<array\\<string, int\\<\\-128, 127\\>\\|string\\|null\\>\\> and mysqli_result will always evaluate to true\\.$#"
count: 1
path: src/DbSchema/SchemaHasherMysql.php
-
message: "#^Strict comparison using \\!\\=\\= between null and PHPStan\\\\Type\\\\Type will always evaluate to true\\.$#"
count: 1
path: src/Extensions/PdoStatementFetchDynamicReturnTypeExtension.php
-
message: "#^Strict comparison using \\=\\=\\= between 'dibi' and 'dibi' will always evaluate to true\\.$#"
count: 1
path: src/QueryReflection/DbaApi.php
-
message: "#^Return type \\(array\\<int, 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\\<int, 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\\(\\)$#"
count: 1
path: src/QueryReflection/PdoPgSqlQueryReflector.php
-
message: "#^Casting to \\*NEVER\\* something that's already \\*NEVER\\*\\.$#"
count: 1
path: src/QueryReflection/QueryReflection.php
-
message: "#^Instanceof between PHPStan\\\\Type\\\\Constant\\\\ConstantIntegerType and PHPStan\\\\Type\\\\Constant\\\\ConstantIntegerType will always evaluate to true\\.$#"
count: 1
path: src/QueryReflection/QueryReflection.php
-
message: "#^Strict comparison using \\=\\=\\= between null and null will always evaluate to true\\.$#"
count: 1
path: src/QueryReflection/QueryReflection.php
-
message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#"
count: 2
path: src/TypeMapping/MysqliTypeMapper.php
-
message: "#^Only booleans are allowed in an if condition, int given\\.$#"
count: 1
path: src/TypeMapping/MysqliTypeMapper.php