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
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,23 @@ parameters:
31
31
path:src/Metadata/AttributeMetadataFactory.php
32
32
33
33
-
34
-
message:'#^Parameter \#1 \$enum of class Patchlevel\\Hydrator\\Normalizer\\EnumNormalizer constructor expects class\-string\<BackedEnum\>\|null, string given\.$#'
35
-
identifier:argument.type
34
+
message:'#^Method Patchlevel\\Hydrator\\Metadata\\AttributeMetadataFactory\:\:guessNormalizerByObjectType\(\) has parameter \$type with generic class Symfony\\Component\\TypeInfo\\Type\\ObjectType but does not specify its types\: T$#'
35
+
identifier:missingType.generics
36
36
count:1
37
37
path:src/Metadata/AttributeMetadataFactory.php
38
38
39
39
-
40
-
message:'#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#'
40
+
message:'#^Parameter \#1 \$class of method Patchlevel\\Hydrator\\Metadata\\AttributeMetadataFactory\:\:findNormalizerOnClass\(\) expects class\-string, string given\.$#'
41
41
identifier:argument.type
42
42
count:2
43
43
path:src/Metadata/AttributeMetadataFactory.php
44
44
45
+
-
46
+
message:'#^Parameter \#1 \$enum of class Patchlevel\\Hydrator\\Normalizer\\EnumNormalizer constructor expects class\-string\<BackedEnum\>\|null, string given\.$#'
47
+
identifier:argument.type
48
+
count:1
49
+
path:src/Metadata/AttributeMetadataFactory.php
50
+
45
51
-
46
52
message:'#^Property Patchlevel\\Hydrator\\Metadata\\ClassMetadata\<T of object \= object\>\:\:\$reflection \(ReflectionClass\<T of object \= object\>\) does not accept ReflectionClass\<object\>\.$#'
0 commit comments