-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
29 lines (26 loc) · 1.08 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/ergebnis/phpstan-rules/rules.neon
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
parameters:
level: max
paths:
- src
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
reportUnmatchedIgnoredErrors: true
ergebnis:
classesAllowedToBeExtended:
- Symfony\Component\HttpKernel\Bundle\Bundle
- Symfony\Component\HttpKernel\DependencyInjection\Extension
- Twig\Extension\AbstractExtension
- PhpSpec\ObjectBehavior
ignoreErrors:
# We actually configure a container here
-
message: '#.*has a parameter \$container with a type declaration of .*ContainerBuilder.*#m'
path: src/DependencyInjection/CkrackOptimusExtension.php
# The DependencyInjection returns are very complex to deal with
-
message: '#Cannot call method.* on .*NodeParentInterface\|null.*#'
path: src/DependencyInjection/Configuration.php