forked from qdequippe/friendsofphp-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
11 lines (9 loc) · 802 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
parameters:
level: max
ignoreErrors:
# known value, container is already created
- '#Method Fop\\DependencyInjection\\ContainerFactory::(create|createWithConfig)\(\) should return Psr\\Container\\ContainerInterface but returns Symfony\\Component\\DependencyInjection\\ContainerInterface\|null#'
# false positive, checked or @var doc above
- '#Parameter \#1 \$str of function strtolower expects string, string\|null given#'
- '#Parameter \#1 \$containerBuilder of class Symplify\\PackageBuilder\\Yaml\\FileLoader\\ParameterMergingYamlFileLoader constructor expects Symfony\\Component\\DependencyInjection\\ContainerBuilder, Symfony\\Component\\DependencyInjection\\ContainerInterface given#'
- '#Cannot cast array<string>\|string\|null to int#'