Skip to content

Commit 0726211

Browse files
committed
Regenerated phpstan baseline
1 parent 4c12e9f commit 0726211

File tree

1 file changed

+29
-82
lines changed

1 file changed

+29
-82
lines changed

phpstan-baseline.neon

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

98
-
10-
message: '#^Cannot call method fetchAll\(\) on Doctrine\\DBAL\\ForwardCompatibility\\Result\|int\|string\.$#'
11-
identifier: method.nonObject
9+
message: "#^Cannot call method fetchAll\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#"
1210
count: 2
1311
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
1412

1513
-
16-
message: '#^Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\ForwardCompatibility\\Result\|int\|string\.$#'
17-
identifier: method.nonObject
14+
message: "#^Cannot call method fetchColumn\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#"
1815
count: 1
1916
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
2017

2118
-
22-
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) has parameter \$cells with no value type specified in iterable type array\.$#'
23-
identifier: missingType.iterableValue
19+
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) has parameter \\$cells with no value type specified in iterable type array\\.$#"
2420
count: 1
2521
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
2622

2723
-
28-
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) has parameter \$columns with no value type specified in iterable type array\.$#'
29-
identifier: missingType.iterableValue
24+
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) has parameter \\$columns with no value type specified in iterable type array\\.$#"
3025
count: 1
3126
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
3227

3328
-
34-
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:convertCellsToRows\(\) return type has no value type specified in iterable type array\.$#'
35-
identifier: missingType.iterableValue
29+
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:convertCellsToRows\\(\\) return type has no value type specified in iterable type array\\.$#"
3630
count: 1
3731
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
3832

3933
-
40-
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:getContentClassAttributes\(\) return type has no value type specified in iterable type array\.$#'
41-
identifier: missingType.iterableValue
34+
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:getContentClassAttributes\\(\\) return type has no value type specified in iterable type array\\.$#"
4235
count: 1
4336
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
4437

4538
-
46-
message: '#^Method Ibexa\\Bundle\\FieldTypeMatrix\\Command\\MigrateLegacyMatrixCommand\:\:getContentObjectAttributes\(\) return type has no value type specified in iterable type array\.$#'
47-
identifier: missingType.iterableValue
39+
message: "#^Method Ibexa\\\\Bundle\\\\FieldTypeMatrix\\\\Command\\\\MigrateLegacyMatrixCommand\\:\\:getContentObjectAttributes\\(\\) return type has no value type specified in iterable type array\\.$#"
4840
count: 1
4941
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
5042

5143
-
52-
message: '#^Variable \$xml might not be defined\.$#'
53-
identifier: variable.undefined
44+
message: "#^Variable \\$xml might not be defined\\.$#"
5445
count: 1
5546
path: src/bundle/Command/MigrateLegacyMatrixCommand.php
5647

5748
-
58-
message: '#^Parameter \#1 \$input of static method Symfony\\Component\\Yaml\\Yaml\:\:parse\(\) expects string, string\|false given\.$#'
59-
identifier: argument.type
49+
message: "#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#"
6050
count: 1
6151
path: src/bundle/DependencyInjection/IbexaFieldTypeMatrixExtension.php
6252

6353
-
64-
message: '#^Property Ibexa\\Core\\Persistence\\Legacy\\Content\\StorageFieldDefinition\:\:\$dataText5 \(string\) on left side of \?\? is not nullable\.$#'
65-
identifier: nullCoalesce.property
54+
message: "#^Property Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\StorageFieldDefinition\\:\\:\\$dataText5 \\(string\\) on left side of \\?\\? is not nullable\\.$#"
6655
count: 1
6756
path: src/lib/FieldType/Converter/MatrixConverter.php
6857

6958
-
70-
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__construct\(\) has parameter \$cells with no value type specified in iterable type array\.$#'
71-
identifier: missingType.iterableValue
59+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__construct\\(\\) has parameter \\$cells with no value type specified in iterable type array\\.$#"
7260
count: 1
7361
path: src/lib/FieldType/Value/Row.php
7462

7563
-
76-
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__get\(\) has no return type specified\.$#'
77-
identifier: missingType.return
64+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__get\\(\\) has no return type specified\\.$#"
7865
count: 1
7966
path: src/lib/FieldType/Value/Row.php
8067

8168
-
82-
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__get\(\) has parameter \$name with no type specified\.$#'
83-
identifier: missingType.parameter
69+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__get\\(\\) has parameter \\$name with no type specified\\.$#"
8470
count: 1
8571
path: src/lib/FieldType/Value/Row.php
8672

8773
-
88-
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:__isset\(\) has parameter \$name with no type specified\.$#'
89-
identifier: missingType.parameter
74+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:__isset\\(\\) has parameter \\$name with no type specified\\.$#"
9075
count: 1
9176
path: src/lib/FieldType/Value/Row.php
9277

9378
-
94-
message: '#^Method Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:getCells\(\) return type has no value type specified in iterable type array\.$#'
95-
identifier: missingType.iterableValue
79+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:getCells\\(\\) return type has no value type specified in iterable type array\\.$#"
9680
count: 1
9781
path: src/lib/FieldType/Value/Row.php
9882

9983
-
100-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
101-
identifier: argument.type
84+
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
10285
count: 1
10386
path: src/lib/FieldType/Value/Row.php
10487

10588
-
106-
message: '#^Property Ibexa\\FieldTypeMatrix\\FieldType\\Value\\Row\:\:\$cells type has no value type specified in iterable type array\.$#'
107-
identifier: missingType.iterableValue
89+
message: "#^Property Ibexa\\\\FieldTypeMatrix\\\\FieldType\\\\Value\\\\Row\\:\\:\\$cells type has no value type specified in iterable type array\\.$#"
10890
count: 1
10991
path: src/lib/FieldType/Value/Row.php
11092

11193
-
112-
message: '#^Class Ibexa\\FieldTypeMatrix\\Form\\Type\\ColumnType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
113-
identifier: missingType.generics
114-
count: 1
115-
path: src/lib/Form/Type/ColumnType.php
116-
117-
-
118-
message: '#^Class Ibexa\\FieldTypeMatrix\\Form\\Type\\FieldType\\MatrixCollectionType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
119-
identifier: missingType.generics
120-
count: 1
121-
path: src/lib/Form/Type/FieldType/MatrixCollectionType.php
122-
123-
-
124-
message: '#^Class Ibexa\\FieldTypeMatrix\\Form\\Type\\FieldType\\MatrixEntryType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
125-
identifier: missingType.generics
126-
count: 1
127-
path: src/lib/Form/Type/FieldType/MatrixEntryType.php
128-
129-
-
130-
message: '#^Class Ibexa\\FieldTypeMatrix\\Form\\Type\\FieldType\\MatrixFieldType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
131-
identifier: missingType.generics
132-
count: 1
133-
path: src/lib/Form/Type/FieldType/MatrixFieldType.php
134-
135-
-
136-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\InputHandler\:\:toFieldValue\(\) has parameter \$input with no type specified\.$#'
137-
identifier: missingType.parameter
94+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\InputHandler\\:\\:toFieldValue\\(\\) has parameter \\$input with no type specified\\.$#"
13895
count: 1
13996
path: src/lib/GraphQL/InputHandler.php
14097

14198
-
142-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\InputHandler\:\:toFieldValue\(\) has parameter \$inputFormat with no type specified\.$#'
143-
identifier: missingType.parameter
99+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\InputHandler\\:\\:toFieldValue\\(\\) has parameter \\$inputFormat with no type specified\\.$#"
144100
count: 1
145101
path: src/lib/GraphQL/InputHandler.php
146102

147103
-
148-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:canWork\(\) has parameter \$args with no value type specified in iterable type array\.$#'
149-
identifier: missingType.iterableValue
104+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:canWork\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
150105
count: 1
151106
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
152107

153108
-
154-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:typeName\(\) has parameter \$args with no value type specified in iterable type array\.$#'
155-
identifier: missingType.iterableValue
109+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:typeName\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
156110
count: 1
157111
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
158112

159113
-
160-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionInputSchemaWorker\:\:work\(\) has parameter \$args with no value type specified in iterable type array\.$#'
161-
identifier: missingType.iterableValue
114+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionInputSchemaWorker\\:\\:work\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
162115
count: 1
163116
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionInputSchemaWorker.php
164117

165118
-
166-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:canWork\(\) has parameter \$args with no value type specified in iterable type array\.$#'
167-
identifier: missingType.iterableValue
119+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:canWork\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
168120
count: 1
169121
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
170122

171123
-
172-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:typeName\(\) has parameter \$args with no value type specified in iterable type array\.$#'
173-
identifier: missingType.iterableValue
124+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:typeName\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
174125
count: 1
175126
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
176127

177128
-
178-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\Schema\\MatrixFieldDefinitionSchemaWorker\:\:work\(\) has parameter \$args with no value type specified in iterable type array\.$#'
179-
identifier: missingType.iterableValue
129+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\Schema\\\\MatrixFieldDefinitionSchemaWorker\\:\\:work\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
180130
count: 1
181131
path: src/lib/GraphQL/Schema/MatrixFieldDefinitionSchemaWorker.php
182132

183133
-
184-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\SilentRow\:\:__get\(\) has no return type specified\.$#'
185-
identifier: missingType.return
134+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\SilentRow\\:\\:__get\\(\\) has no return type specified\\.$#"
186135
count: 1
187136
path: src/lib/GraphQL/SilentRow.php
188137

189138
-
190-
message: '#^Method Ibexa\\FieldTypeMatrix\\GraphQL\\SilentRow\:\:__get\(\) has parameter \$name with no type specified\.$#'
191-
identifier: missingType.parameter
139+
message: "#^Method Ibexa\\\\FieldTypeMatrix\\\\GraphQL\\\\SilentRow\\:\\:__get\\(\\) has parameter \\$name with no type specified\\.$#"
192140
count: 1
193141
path: src/lib/GraphQL/SilentRow.php
194142

195143
-
196-
message: '#^Static property Ibexa\\Contracts\\Core\\Test\\Repository\\SetupFactory\\Legacy\:\:\$serviceContainer \(Ibexa\\Core\\Base\\ServiceContainer\) in isset\(\) is not nullable\.$#'
197-
identifier: isset.property
144+
message: "#^Static property Ibexa\\\\Contracts\\\\Core\\\\Test\\\\Repository\\\\SetupFactory\\\\Legacy\\:\\:\\$serviceContainer \\(Ibexa\\\\Core\\\\Base\\\\ServiceContainer\\) in isset\\(\\) is not nullable\\.$#"
198145
count: 1
199146
path: tests/lib/LegacySetupFactory.php

0 commit comments

Comments
 (0)