-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
21 lines (18 loc) · 1.02 KB
/
phpstan.dist.neon
File metadata and controls
21 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: 8
reportUnmatchedIgnoredErrors: false
paths:
- src
- tests/Behat
excludePaths:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
ignoreErrors:
- '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface#'
- '/Return type \(string\) of method BitBag\\SyliusErgonodePlugin\\.*::getTargets\(\) should be covariant with return type \(.*\) of method Symfony\\Component\\Validator\\Constraint::getTargets\(\)/'
- identifier: missingType.iterableValue
- identifier: missingType.generics