Skip to content

Commit 2904591

Browse files
committed
Update phpstan-baseline.neon
1 parent 224f20b commit 2904591

File tree

1 file changed

+0
-115
lines changed

1 file changed

+0
-115
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -23,66 +23,11 @@ parameters:
2323
count: 2
2424
path: src/Extensions/DibiConnectionFetchDynamicReturnTypeExtension.php
2525

26-
-
27-
message: "#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getClassRowType\\(\\) never returns null so it can be removed from the return type\\.$#"
28-
count: 1
29-
path: src/PdoReflection/PdoStatementReflection.php
30-
31-
-
32-
message: "#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getFetchType\\(\\) never returns 1 so it can be removed from the return type\\.$#"
33-
count: 1
34-
path: src/PdoReflection/PdoStatementReflection.php
35-
36-
-
37-
message: "#^Method staabm\\\\PHPStanDba\\\\PdoReflection\\\\PdoStatementReflection\\:\\:getFetchType\\(\\) never returns 2 so it can be removed from the return type\\.$#"
38-
count: 1
39-
path: src/PdoReflection/PdoStatementReflection.php
40-
41-
-
42-
message: "#^Parameter \\#2 \\$flags of method staabm\\\\PHPStanDba\\\\TypeMapping\\\\TypeMapper\\:\\:mapToPHPStanType\\(\\) expects list\\<string\\>, array\\<int, string\\> given\\.$#"
43-
count: 2
44-
path: src/QueryReflection/BasePdoQueryReflector.php
45-
4626
-
4727
message: "#^Strict comparison using \\=\\=\\= between 'dibi' and 'dibi' will always evaluate to true\\.$#"
4828
count: 1
4929
path: src/QueryReflection/DbaApi.php
5030

51-
-
52-
message: "#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\MysqliQueryReflector\\:\\:getDatasource\\(\\) never returns PDO so it can be removed from the return type\\.$#"
53-
count: 1
54-
path: src/QueryReflection/MysqliQueryReflector.php
55-
56-
-
57-
message: "#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\MysqliQueryReflector\\:\\:getDatasource\\(\\) never returns null so it can be removed from the return type\\.$#"
58-
count: 1
59-
path: src/QueryReflection/MysqliQueryReflector.php
60-
61-
-
62-
message: "#^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\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824\\}\\>\\|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\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824\\}\\>\\|PDOException\\|null\\.$#"
63-
count: 1
64-
path: src/QueryReflection/PdoMysqlQueryReflector.php
65-
66-
-
67-
message: "#^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\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824\\}\\>\\|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\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824, native_type\\: string\\}\\>\\|PDOException\\|null\\>\\.$#"
68-
count: 1
69-
path: src/QueryReflection/PdoMysqlQueryReflector.php
70-
71-
-
72-
message: "#^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 array\\<int\\<0, max\\>, array\\{name\\: string, table\\?\\: string, native_type\\: string, len\\: int, flags\\: array\\<int, string\\>, precision\\: int\\<0, max\\>, pdo_type\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824\\}\\>\\|PDOException\\|null\\.$#"
73-
count: 1
74-
path: src/QueryReflection/PdoPgSqlQueryReflector.php
75-
76-
-
77-
message: "#^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\\: \\-2147483648\\|0\\|1\\|2\\|3\\|4\\|5\\|6\\|536870912\\|1073741824\\}\\>\\|PDOException\\|null\\.$#"
78-
count: 1
79-
path: src/QueryReflection/PdoPgSqlQueryReflector.php
80-
81-
-
82-
message: "#^PHPDoc tag @var with type array\\{column_default\\?\\: string, column_name\\: string, is_nullable\\: string\\} is not subtype of type array\\{COLUMN_NAME\\: string, COLUMN_DEFAULT\\: string\\|null, IS_NULLABLE\\: string\\}\\.$#"
83-
count: 1
84-
path: src/QueryReflection/PdoPgSqlQueryReflector.php
85-
8631
-
8732
message: """
8833
#^Call to deprecated method resolvePreparedQueryString\\(\\) of class staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:
@@ -96,11 +41,6 @@ parameters:
9641
count: 1
9742
path: src/QueryReflection/QueryReflection.php
9843

99-
-
100-
message: "#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:\\:extractNamedPlaceholders\\(\\) should return list\\<string\\> but returns array\\<int\\<0, max\\>, string\\>\\.$#"
101-
count: 1
102-
path: src/QueryReflection/QueryReflection.php
103-
10444
-
10545
message: "#^Strict comparison using \\=\\=\\= between null and null will always evaluate to true\\.$#"
10646
count: 1
@@ -121,36 +61,11 @@ parameters:
12161
count: 2
12262
path: src/QueryReflection/QuerySimulation.php
12363

124-
-
125-
message: "#^Method staabm\\\\PHPStanDba\\\\QueryReflection\\\\ReflectionCache\\:\\:readCachedRecords\\(\\) should return array\\<string, array\\{error\\?\\: staabm\\\\PHPStanDba\\\\Error\\|null, result\\?\\: array\\<1\\|2\\|3\\|4\\|5\\|6\\|7\\|8, PHPStan\\\\Type\\\\Type\\|null\\>\\}\\>\\|null but returns array\\.$#"
126-
count: 1
127-
path: src/QueryReflection/ReflectionCache.php
128-
129-
-
130-
message: "#^Return type \\(array\\<PHPStan\\\\Rules\\\\RuleError\\>\\) of method staabm\\\\PHPStanDba\\\\Rules\\\\DoctrineKeyValueStyleRule\\:\\:processNode\\(\\) should be covariant with return type \\(list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\>\\) of method PHPStan\\\\Rules\\\\Rule\\<PhpParser\\\\Node\\\\Expr\\\\CallLike\\>\\:\\:processNode\\(\\)$#"
131-
count: 1
132-
path: src/Rules/DoctrineKeyValueStyleRule.php
133-
13464
-
13565
message: "#^Doing instanceof PHPStan\\\\Type\\\\Constant\\\\ConstantStringType is error\\-prone and deprecated\\. Use Type\\:\\:getConstantStrings\\(\\) instead\\.$#"
13666
count: 1
13767
path: src/Rules/PdoStatementExecuteMethodRule.php
13868

139-
-
140-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\PdoStatementExecuteMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
141-
count: 1
142-
path: src/Rules/PdoStatementExecuteMethodRule.php
143-
144-
-
145-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\QueryPlanAnalyzerRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
146-
count: 1
147-
path: src/Rules/QueryPlanAnalyzerRule.php
148-
149-
-
150-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\QueryPlanAnalyzerRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
151-
count: 1
152-
path: src/Rules/QueryPlanAnalyzerRule.php
153-
15469
-
15570
message: """
15671
#^Call to deprecated method resolveQueryString\\(\\) of class staabm\\\\PHPStanDba\\\\QueryReflection\\\\QueryReflection\\:
@@ -164,36 +79,6 @@ parameters:
16479
count: 1
16580
path: src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php
16681

167-
-
168-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInDibiPreparedStatementMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
169-
count: 1
170-
path: src/Rules/SyntaxErrorInDibiPreparedStatementMethodRule.php
171-
172-
-
173-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInPreparedStatementMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\<PHPStan\\\\Rules\\\\RuleError\\>\\.$#"
174-
count: 1
175-
path: src/Rules/SyntaxErrorInPreparedStatementMethodRule.php
176-
177-
-
178-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryFunctionRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
179-
count: 1
180-
path: src/Rules/SyntaxErrorInQueryFunctionRule.php
181-
182-
-
183-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryFunctionRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError\\}\\.$#"
184-
count: 1
185-
path: src/Rules/SyntaxErrorInQueryFunctionRule.php
186-
187-
-
188-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError&PHPStan\\\\Rules\\\\TipRuleError\\}\\.$#"
189-
count: 1
190-
path: src/Rules/SyntaxErrorInQueryMethodRule.php
191-
192-
-
193-
message: "#^Method staabm\\\\PHPStanDba\\\\Rules\\\\SyntaxErrorInQueryMethodRule\\:\\:processNode\\(\\) should return list\\<PHPStan\\\\Rules\\\\IdentifierRuleError\\> but returns array\\{PHPStan\\\\Rules\\\\LineRuleError\\}\\.$#"
194-
count: 1
195-
path: src/Rules/SyntaxErrorInQueryMethodRule.php
196-
19782
-
19883
message: "#^Only booleans are allowed in an if condition, int given\\.$#"
19984
count: 1

0 commit comments

Comments
 (0)