Skip to content

Commit 750715d

Browse files
committed
Update phpstan baseline
1 parent fd39453 commit 750715d

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

phpstan-baseline.neon

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,80 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Method Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:findEntity\\(\\) return type has no value type specified in iterable type array\\.$#"
4+
message: '#^Method Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:findEntity\(\) return type has no value type specified in iterable type array\.$#'
5+
identifier: missingType.iterableValue
56
count: 1
67
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
78

89
-
9-
message: "#^Method Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:getAttributeDefaults\\(\\) return type has no value type specified in iterable type array\\.$#"
10+
message: '#^Method Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:getAttributeDefaults\(\) return type has no value type specified in iterable type array\.$#'
11+
identifier: missingType.iterableValue
1012
count: 1
1113
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
1214

1315
-
14-
message: "#^Method Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:setDefaultValuesForAttribute\\(\\) has parameter \\$defaults with no value type specified in iterable type array\\.$#"
16+
message: '#^Method Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:setDefaultValuesForAttribute\(\) has parameter \$defaults with no value type specified in iterable type array\.$#'
17+
identifier: missingType.iterableValue
1518
count: 1
1619
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
1720

1821
-
19-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
22+
message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#'
23+
identifier: argument.type
2024
count: 1
2125
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
2226

2327
-
24-
message: "#^Parameter \\#3 \\$name of method Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:setDefaultValuesForAttribute\\(\\) expects string, string\\|null given\\.$#"
28+
message: '#^Parameter \#3 \$name of method Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:setDefaultValuesForAttribute\(\) expects string, string\|null given\.$#'
29+
identifier: argument.type
2530
count: 1
2631
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
2732

2833
-
29-
message: "#^Part \\$adminSuffix \\(array\\|bool\\|float\\|int\\|string\\) of encapsed string cannot be cast to string\\.$#"
34+
message: '#^Part \$adminSuffix \(array\|bool\|float\|int\|string\) of encapsed string cannot be cast to string\.$#'
35+
identifier: encapsedStringPart.nonString
3036
count: 1
3137
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
3238

3339
-
34-
message: "#^Property Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:\\$controllerNamespaces \\(array\\<string\\>\\) does not accept array\\|bool\\|float\\|int\\|string\\|null\\.$#"
40+
message: '#^Property Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:\$controllerNamespaces \(array\<string\>\) does not accept array\|bool\|float\|int\|string\|null\.$#'
41+
identifier: assign.propertyType
3542
count: 1
3643
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
3744

3845
-
39-
message: "#^Property Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:\\$controllerSuffix \\(string\\) does not accept array\\|bool\\|float\\|int\\|string\\|null\\.$#"
46+
message: '#^Property Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:\$controllerSuffix \(string\) does not accept array\|bool\|float\|int\|string\|null\.$#'
47+
identifier: assign.propertyType
4048
count: 1
4149
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
4250

4351
-
44-
message: "#^Property Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:\\$entityNamespaces \\(array\\) does not accept array\\|bool\\|float\\|int\\|string\\|null\\.$#"
52+
message: '#^Property Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:\$entityNamespaces \(array\<mixed\>\) does not accept array\|bool\|float\|int\|string\|null\.$#'
53+
identifier: assign.propertyType
4554
count: 1
4655
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
4756

4857
-
49-
message: "#^Property Nucleos\\\\SonataAutoConfigureBundle\\\\DependencyInjection\\\\Compiler\\\\AutoConfigureAdminClassesCompilerPass\\:\\:\\$managerType \\(string\\) does not accept array\\|bool\\|float\\|int\\|string\\|null\\.$#"
58+
message: '#^Property Nucleos\\SonataAutoConfigureBundle\\DependencyInjection\\Compiler\\AutoConfigureAdminClassesCompilerPass\:\:\$managerType \(string\) does not accept array\|bool\|float\|int\|string\|null\.$#'
59+
identifier: assign.propertyType
5060
count: 1
5161
path: src/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPass.php
5262

5363
-
54-
message: "#^Argument of an invalid type array\\<string\\>\\|null supplied for foreach, only iterables are supported\\.$#"
64+
message: '#^Argument of an invalid type array\<string\>\|null supplied for foreach, only iterables are supported\.$#'
65+
identifier: foreach.nonIterable
5566
count: 1
5667
path: src/DependencyInjection/Compiler/AutoConfigureAdminExtensionsCompilerPass.php
5768

5869
-
59-
message: "#^Implicit array creation is not allowed \\- variable \\$attributes does not exist\\.$#"
70+
message: '#^Implicit array creation is not allowed \- variable \$attributes does not exist\.$#'
71+
identifier: variable.implicitArray
6072
count: 1
6173
path: src/DependencyInjection/Compiler/AutoConfigureAdminExtensionsCompilerPass.php
6274

6375
-
64-
message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
76+
message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#'
77+
identifier: argument.type
6578
count: 1
6679
path: src/DependencyInjection/Compiler/AutoConfigureAdminExtensionsCompilerPass.php
6780

0 commit comments

Comments
 (0)