-
Notifications
You must be signed in to change notification settings - Fork 88
/
phpstan.neon.dist
32 lines (29 loc) · 1.25 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
30
31
32
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
parameters:
level: 9
paths:
- src
- tests
excludePaths:
- src/EventListener/BaseFlexibleSslListener.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#^Dynamic call to static method PHPUnit\\Framework\\\S+\(\)\.$#'
- '#^Dynamic call to static method Symfony\\Bundle\\FrameworkBundle\\Test\\\S+\(\)\.$#'
# Ignore typing providers in tests
- '#^Method Nelmio\\SecurityBundle\\Tests\\[^:]+Test::(provide\w+|\w+Provider)\(\) return type has no value type specified in iterable type (array|iterable)\.#'
# TODO: twig/twig:>3.12 remove this ignore
-
message: "#^Class Twig\\\\Node\\\\CaptureNode constructor invoked with 3 parameters, 2 required\\.$#"
count: 1
path: src/Twig/Node/CSPNode.php
reportUnmatched: false
dynamicConstantNames:
- Symfony\Component\HttpKernel\Kernel::VERSION
- Twig\Environment::MAJOR_VERSION
- Twig\Environment::MINOR_VERSION