You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:'#^Method BabDev\\WebSocketBundle\\DependencyInjection\\Factory\\Authentication\\AuthenticationProviderFactory\:\:addConfiguration\(\) has parameter \$builder with generic class Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition but does not specify its types\: TParent$#'
message:'#^Method BabDev\\WebSocketBundle\\DependencyInjection\\Factory\\Authentication\\SessionAuthenticationProviderFactory\:\:addConfiguration\(\) has parameter \$builder with generic class Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition but does not specify its types\: TParent$#'
message:'#^Parameter \#1 \$class of function class_exists expects string, mixed given\.$#'
197
209
identifier:argument.type
198
210
count:1
199
211
path:src/Routing/Loader/AttributeLoader.php
200
212
201
213
-
202
-
message:'#^Parameter \#1 \$path of method Symfony\\Component\\Routing\\Loader\\AttributeClassLoader\:\:createRoute\(\) expects string, mixed given\.$#'
214
+
message:'#^Parameter \#1 \$path of method Symfony\\Component\\Routing\\Loader\\AttributeClassLoader\:\:createRoute\(\) expects string, string\|null given\.$#'
203
215
identifier:argument.type
204
216
count:1
205
217
path:src/Routing/Loader/AttributeLoader.php
@@ -222,12 +234,6 @@ parameters:
222
234
count:1
223
235
path:src/Routing/Loader/AttributeLoader.php
224
236
225
-
-
226
-
message:'#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
227
-
identifier:argument.type
228
-
count:1
229
-
path:src/Routing/Loader/AttributeLoader.php
230
-
231
237
-
232
238
message:'#^Cannot use array destructuring on \(list\<\(BabDev\\WebSocket\\Server\\WAMP\\WAMPConnection&PHPUnit\\Framework\\MockObject\\MockObject\)\|string\>\)\|null\.$#'
Copy file name to clipboardExpand all lines: phpstan.neon
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ parameters:
6
6
paths:
7
7
- %currentWorkingDirectory%/src
8
8
- %currentWorkingDirectory%/tests
9
+
excludePaths:
10
+
- %currentWorkingDirectory%/src/DependencyInjection/Configuration.php # PHPStan's Symfony extension doesn't know how to work with the generics added in 7.4
0 commit comments