-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathphpstan.neon
26 lines (22 loc) · 938 Bytes
/
phpstan.neon
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
parameters:
level: max
reportUnmatchedIgnoredErrors: false
paths:
- src
- tests/Behat
excludePaths:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
- 'src/SitemapProvider/**.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./'
- '/Cannot cast mixed to int./'
- '/Cannot cast mixed to string./'
-
message: '/but returns mixed./'
path: src/Repository