-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpstan.neon
18 lines (15 loc) · 952 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
parameters:
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
excludes_analyse:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
- 'src/DependencyInjection/BitBagSyliusAdyenExtension.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\./'
- '/Parameter \$record of method BitBag\\SyliusAdyenPlugin\\Logging\\Monolog\\DoctrineHandler::write\(\) has invalid typehint type Monolog\\Handler\\FormattedRecord\./'