Skip to content

Commit bcb5408

Browse files
Update phpstan.neon.dist
1 parent 88fd79a commit bcb5408

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

phpstan.neon.dist

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ parameters:
1010

1111
ignoreErrors:
1212
- "#^Construct empty\\(\\) is not allowed. Use more strict comparison|Call to an undefined method ReflectionMethod|ReflectionProperty\\:\\:getAttributes\\(\\).$#"
13-
- "#^Property Rade\\\\DI\\\\Loader\\\\FileLoader|ClosureLoader\\:\\:\\$container \\(Rade\\\\DI\\\\Container\\|Rade\\\\DI\\\\ContainerBuilder\\) does not accept Rade\\\\DI\\\\AbstractContainer.$#"
13+
- "#^Property Rade\\\\DI\\\\Loader\\\\FileLoader\\:\\:\\$container \\(Rade\\\\DI\\\\Container\\|Rade\\\\DI\\\\ContainerBuilder\\) does not accept Rade\\\\DI\\\\AbstractContainer.$#"
1414
-
1515
message: "#^Parameter \\#2 \\$service \\(Rade\\\\DI\\\\Definition\\|Rade\\\\DI\\\\RawDefinition\\) of method Rade\\\\DI\\\\ContainerBuilder\\:\\:doCreate\\(\\) should be contravariant with parameter \\$service \\(callable\\(\\): mixed\\) of method Rade\\\\DI\\\\AbstractContainer\\:\\:doCreate\\(\\)$#"
1616
path: src/ContainerBuilder.php
@@ -36,5 +36,8 @@ parameters:
3636
message: "#^Call to an undefined static method Rade\\\\DI\\\\Services\\\\ServiceProviderInterface\\:\\:getId\\(\\).$#"
3737
path: src/AbstractContainer.php
3838
-
39-
message: "#^Variable \\$excludePattern might not be defined.$#"
39+
message: "#^Variable \\$excludePattern might not be defined.|Call to function is_scalar\\(\\) with mixed will always evaluate to true.$#"
4040
path: src/Loader/FileLoader.php
41+
-
42+
message: "#^Instanceof between \\*NEVER\\* and Symfony\\\\Component\\\\Yaml\\\\Tag\\\\TaggedValue will always evaluate to false.$#"
43+
path: src/Loader/YamlFileLoader.php

0 commit comments

Comments
 (0)