-
-
Notifications
You must be signed in to change notification settings - Fork 223
/
phpstan-baseline.neon
221 lines (178 loc) · 11.6 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
parameters:
ignoreErrors:
-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Projection\\\\Projections\\:\\:getClassNames\" is called\\.$#"
count: 1
path: Neos.ContentRepositoryRegistry/Classes/Service/ProjectionService.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:buildModuleList\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:buildSiteList\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:collectModuleData\\(\\) has parameter \\$moduleConfiguration with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:collectModuleData\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:injectSettings\\(\\) has parameter \\$settings with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Property Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:\\$moduleListFirstLevelCache type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Property Neos\\\\Neos\\\\Controller\\\\Backend\\\\MenuHelper\\:\\:\\$settings type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Backend/MenuHelper.php
-
message: "#^Cannot call method getName\\(\\) on Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\|null\\.$#"
count: 2
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:createAction\\(\\) has parameter \\$password with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:createAction\\(\\) has parameter \\$roleIdentifiers with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:getAllowedRoles\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:getAuthenticationProviders\\(\\) should return array\\<string\\> but returns array\\<int, array\\<string, mixed\\>\\>\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:updateAccountAction\\(\\) has parameter \\$password with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:updateAccountAction\\(\\) has parameter \\$roleIdentifiers with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Parameter \\#1 \\$messageBody of method Neos\\\\Flow\\\\Mvc\\\\Controller\\\\AbstractController\\:\\:addFlashMessage\\(\\) expects string, string\\|null given\\.$#"
count: 16
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Parameter \\#1 \\$user of method Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:isEditingAllowed\\(\\) expects Neos\\\\Neos\\\\Domain\\\\Model\\\\User, Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\|null given\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Parameter \\#1 \\$user of method Neos\\\\Neos\\\\Domain\\\\Service\\\\UserService\\:\\:setUserPassword\\(\\) expects Neos\\\\Neos\\\\Domain\\\\Model\\\\User, Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\|null given\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Parameter \\#2 \\$messageTitle of method Neos\\\\Flow\\\\Mvc\\\\Controller\\\\AbstractController\\:\\:addFlashMessage\\(\\) expects string, string\\|null given\\.$#"
count: 18
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Property Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:\\$authenticationProviderSettings type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Property Neos\\\\Neos\\\\Controller\\\\Module\\\\Administration\\\\UsersController\\:\\:\\$currentUser \\(Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\) does not accept Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\|null\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/Administration/UsersController.php
-
message: "#^Method Neos\\\\Neos\\\\Controller\\\\Module\\\\User\\\\UserSettingsController\\:\\:updateAccountAction\\(\\) has parameter \\$password with no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php
-
message: "#^Parameter \\#1 \\$messageBody of method Neos\\\\Flow\\\\Mvc\\\\Controller\\\\AbstractController\\:\\:addFlashMessage\\(\\) expects string, string\\|null given\\.$#"
count: 4
path: Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php
-
message: "#^Parameter \\#2 \\$messageTitle of method Neos\\\\Flow\\\\Mvc\\\\Controller\\\\AbstractController\\:\\:addFlashMessage\\(\\) expects string, string\\|null given\\.$#"
count: 5
path: Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php
-
message: "#^Property Neos\\\\Neos\\\\Controller\\\\Module\\\\User\\\\UserSettingsController\\:\\:\\$currentUser \\(Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\) does not accept Neos\\\\Neos\\\\Domain\\\\Model\\\\User\\|null\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Module/User/UserSettingsController.php
-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\Projection\\\\ContentGraph\\\\Filter\\\\NodeType\\\\ExpandedNodeTypeCriteria\\:\\:matches\" is called\\.$#"
count: 1
path: Neos.Neos/Classes/Controller/Service/NodesController.php
-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\DimensionSpace\\\\WeightedDimensionSpacePoint\\:\\:getIdentityHash\" is called\\.$#"
count: 3
path: Neos.Neos/Classes/Presentation/Dimensions/VisualInterDimensionalVariationGraph.php
-
message: "#^The internal method \"Neos\\\\ContentRepository\\\\Core\\\\DimensionSpace\\\\WeightedDimensionSpacePoint\\:\\:getIdentityHash\" is called\\.$#"
count: 1
path: Neos.Neos/Classes/Presentation/Dimensions/VisualWeightedDimensionSpacePoint.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:cast\\(\\) should return resource but returns false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:pathStat\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:pathStat\\(\\) should return array but returns array\\<int\\|string, int\\>\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:pathStat\\(\\) should return array but returns false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:read\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:readDirectory\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:resourceStat\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:resourceStat\\(\\) should return array but returns array\\<int\\|string, int\\>\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:tell\\(\\) should return int but returns int\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:write\\(\\) should return int but returns int\\<0, max\\>\\|false\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Parameter \\#2 \\$length of function fread expects int\\<1, max\\>, int given\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Parameter \\#3 \\$recursive of function mkdir expects bool, int\\<0, 1\\> given\\.$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Return type \\(void\\) of method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:makeDirectory\\(\\) should be compatible with return type \\(bool\\) of method Neos\\\\Flow\\\\ResourceManagement\\\\Streams\\\\StreamWrapperInterface\\:\\:makeDirectory\\(\\)$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php
-
message: "#^Return type \\(void\\) of method Neos\\\\Neos\\\\ResourceManagement\\\\NodeTypesStreamWrapper\\:\\:removeDirectory\\(\\) should be compatible with return type \\(bool\\) of method Neos\\\\Flow\\\\ResourceManagement\\\\Streams\\\\StreamWrapperInterface\\:\\:removeDirectory\\(\\)$#"
count: 1
path: Neos.Neos/Classes/ResourceManagement/NodeTypesStreamWrapper.php