-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (16 loc) · 810 Bytes
/
phpstan.neon
File metadata and controls
19 lines (16 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
level: max
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
paths:
- src
- tests/Behat
excludes_analyse:
# 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\./'
- '/Method Sylius\\Component\\Mailer\\Sender\\SenderInterface\:\:send\(\) invoked with 7 parameters\, 2\-5 required\./'