Skip to content

Commit 343eec4

Browse files
adamwojsViniTou
authored andcommitted
fixup! [doctrine/dbal] Fixed usage of deprecated Doctrine\DBAL\Query\QueryBuilder::execute method
1 parent 33d11a1 commit 343eec4

File tree

1 file changed

+52
-41
lines changed

1 file changed

+52
-41
lines changed

phpstan-baseline.neon

Lines changed: 52 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,157 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Cannot access offset 'entries' on array\\|bool\\|float\\|int\\|string\\|null\\.$#"
4+
message: '#^Cannot access offset ''entries'' on array\|bool\|float\|int\|string\|null\.$#'
5+
identifier: offsetAccess.nonOffsetAccessible
56
count: 1
67
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
78

89
-
9-
message: "#^Cannot call method fetchAll\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#"
10-
count: 2
11-
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
12-
13-
-
14-
message: "#^Cannot call method fetchColumn\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#"
15-
count: 1
16-
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
17-
18-
-
19-
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) has parameter \\$cells with no value type specified in iterable type array\\.$#"
10+
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) has parameter \$cells with no value type specified in iterable type array\.$#'
11+
identifier: missingType.iterableValue
2012
count: 1
2113
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
2214

2315
-
24-
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) has parameter \\$columns with no value type specified in iterable type array\\.$#"
16+
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) has parameter \$columns with no value type specified in iterable type array\.$#'
17+
identifier: missingType.iterableValue
2518
count: 1
2619
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
2720

2821
-
29-
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) return type has no value type specified in iterable type array\\.$#"
22+
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) return type has no value type specified in iterable type array\.$#'
23+
identifier: missingType.iterableValue
3024
count: 1
3125
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
3226

3327
-
34-
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:getContentClassAttributes\\(\\) return type has no value type specified in iterable type array\\.$#"
28+
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:getContentClassAttributes\(\) return type has no value type specified in iterable type array\.$#'
29+
identifier: missingType.iterableValue
3530
count: 1
3631
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
3732

3833
-
39-
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:getContentObjectAttributes\\(\\) return type has no value type specified in iterable type array\\.$#"
34+
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:getContentObjectAttributes\(\) return type has no value type specified in iterable type array\.$#'
35+
identifier: missingType.iterableValue
4036
count: 1
4137
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
4238

4339
-
44-
message: "#^Variable \\$xml might not be defined\\.$#"
40+
message: '#^Variable \$xml might not be defined\.$#'
41+
identifier: variable.undefined
4542
count: 1
4643
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
4744

4845
-
49-
message: "#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#"
46+
message: '#^Parameter \#1 \$input of static method Symfony\\Component\\Yaml\\Yaml\:\:parse\(\) expects string, string\|false given\.$#'
47+
identifier: argument.type
5048
count: 1
5149
path: src/bundle/DependencyInjection/IbexaFieldTypeMatrixExtension.php
5250

5351
-
54-
message: "#^Property Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\StorageFieldDefinition\\:\\:\\$dataText5 \\(string\\) on left side of \\?\\? is not nullable\\.$#"
52+
message: '#^Property Ibexa\\Core\\Persistence\\Legacy\\Content\\StorageFieldDefinition\:\:\$dataText5 \(string\) on left side of \?\? is not nullable\.$#'
53+
identifier: nullCoalesce.property
5554
count: 1
5655
path: src/lib/FieldType/Converter/MatrixConverter.php
5756

5857
-
59-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__construct\\(\\) has parameter \\$cells with no value type specified in iterable type array\\.$#"
58+
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__construct\(\) has parameter \$cells with no value type specified in iterable type array\.$#'
59+
identifier: missingType.iterableValue
6060
count: 1
6161
path: src/lib/FieldType/Value/Row.php
6262

6363
-
64-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__get\\(\\) has no return type specified\\.$#"
64+
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__get\(\) has no return type specified\.$#'
65+
identifier: missingType.return
6566
count: 1
6667
path: src/lib/FieldType/Value/Row.php
6768

6869
-
69-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__get\\(\\) has parameter \\$name with no type specified\\.$#"
70+
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__get\(\) has parameter \$name with no type specified\.$#'
71+
identifier: missingType.parameter
7072
count: 1
7173
path: src/lib/FieldType/Value/Row.php
7274

7375
-
74-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__isset\\(\\) has parameter \\$name with no type specified\\.$#"
76+
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__isset\(\) has parameter \$name with no type specified\.$#'
77+
identifier: missingType.parameter
7578
count: 1
7679
path: src/lib/FieldType/Value/Row.php
7780

7881
-
79-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:getCells\\(\\) return type has no value type specified in iterable type array\\.$#"
82+
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:getCells\(\) return type has no value type specified in iterable type array\.$#'
83+
identifier: missingType.iterableValue
8084
count: 1
8185
path: src/lib/FieldType/Value/Row.php
8286

8387
-
84-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
88+
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
89+
identifier: argument.type
8590
count: 1
8691
path: src/lib/FieldType/Value/Row.php
8792

8893
-
89-
message: "#^Property Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:\\$cells type has no value type specified in iterable type array\\.$#"
94+
message: '#^Property Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:\$cells type has no value type specified in iterable type array\.$#'
95+
identifier: missingType.iterableValue
9096
count: 1
9197
path: src/lib/FieldType/Value/Row.php
9298

9399
-
94-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\InputHandler\\:\\:toFieldValue\\(\\) has parameter \\$input with no type specified\\.$#"
100+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\InputHandler\:\:toFieldValue\(\) has parameter \$input with no type specified\.$#'
101+
identifier: missingType.parameter
95102
count: 1
96103
path: src/lib/GraphQL/InputHandler.php
97104

98105
-
99-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\InputHandler\\:\\:toFieldValue\\(\\) has parameter \\$inputFormat with no type specified\\.$#"
106+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\InputHandler\:\:toFieldValue\(\) has parameter \$inputFormat with no type specified\.$#'
107+
identifier: missingType.parameter
100108
count: 1
101109
path: src/lib/GraphQL/InputHandler.php
102110

103111
-
104-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:canWork\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
112+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:canWork\(\) has parameter \$args with no value type specified in iterable type array\.$#'
113+
identifier: missingType.iterableValue
105114
count: 1
106115
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
107116

108117
-
109-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:typeName\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
118+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:typeName\(\) has parameter \$args with no value type specified in iterable type array\.$#'
119+
identifier: missingType.iterableValue
110120
count: 1
111121
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
112122

113123
-
114-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:work\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
124+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:work\(\) has parameter \$args with no value type specified in iterable type array\.$#'
125+
identifier: missingType.iterableValue
115126
count: 1
116127
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
117128

118129
-
119-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:canWork\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
130+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:canWork\(\) has parameter \$args with no value type specified in iterable type array\.$#'
131+
identifier: missingType.iterableValue
120132
count: 1
121133
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
122134

123135
-
124-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:typeName\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
136+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:typeName\(\) has parameter \$args with no value type specified in iterable type array\.$#'
137+
identifier: missingType.iterableValue
125138
count: 1
126139
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
127140

128141
-
129-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:work\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
142+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:work\(\) has parameter \$args with no value type specified in iterable type array\.$#'
143+
identifier: missingType.iterableValue
130144
count: 1
131145
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
132146

133147
-
134-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\SilentRow\\:\\:__get\\(\\) has no return type specified\\.$#"
148+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\SilentRow\:\:__get\(\) has no return type specified\.$#'
149+
identifier: missingType.return
135150
count: 1
136151
path: src/lib/GraphQL/SilentRow.php
137152

138153
-
139-
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\SilentRow\\:\\:__get\\(\\) has parameter \\$name with no type specified\\.$#"
154+
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\SilentRow\:\:__get\(\) has parameter \$name with no type specified\.$#'
155+
identifier: missingType.parameter
140156
count: 1
141157
path: src/lib/GraphQL/SilentRow.php
142-
143-
-
144-
message: "#^Static property Ibexa\\\\Contracts\\\\Core\\\\Test\\\\Repository\\\\SetupFactory\\\\Legacy\\:\\:\\$serviceContainer \\(Ibexa\\\\Core\\\\Base\\\\ServiceContainer\\) in isset\\(\\) is not nullable\\.$#"
145-
count: 1
146-
path: tests/lib/LegacySetupFactory.php

0 commit comments

Comments
 (0)