Skip to content

Commit 61325d6

Browse files
authored
Fix PhpStan (#108)
1 parent ec9a142 commit 61325d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

phpstan-baseline.neon

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ parameters:
66
count: 1
77
path: src/Attribute/RouteParamValue/DynamicValues.php
88

9+
-
10+
message: '#^Call to function is_a\(\) with arguments class\-string\<BackedEnum\>, ''BackedEnum'' and true will always evaluate to true\.$#'
11+
identifier: function.alreadyNarrowedType
12+
count: 1
13+
path: src/Attribute/RouteParamValue/EnumValues.php
14+
915
-
1016
message: '#^Comparison operation "\>" between 7 and 5 is always true\.$#'
1117
identifier: greater.alwaysTrue
@@ -30,12 +36,6 @@ parameters:
3036
count: 1
3137
path: src/Cache/PropertyResolver/AssociationResolver.php
3238

33-
-
34-
message: '#^Call to function is_subclass_of\(\) with class\-string\<object\> and class\-string will always evaluate to true\.$#'
35-
identifier: function.alreadyNarrowedType
36-
count: 1
37-
path: src/Cache/PropertyResolver/PropertyResolver.php
38-
3939
-
4040
message: '#^Parameter \#1 \$alias of class Sofascore\\PurgatoryBundle\\Attribute\\RouteParamValue\\DynamicValues constructor expects string, bool\|float\|int\|string\|Symfony\\Component\\Yaml\\Tag\\TaggedValue given\.$#'
4141
identifier: argument.type

0 commit comments

Comments
 (0)