forked from Setono/SyliusFeedPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
14 lines (12 loc) · 848 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
parameters:
reportUnmatchedIgnoredErrors: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
excludes_analyse:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.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 Setono\\SyliusFeedPlugin\\Feed\\Model\\Enum\:\:constant\(\) should return static\(Setono\\SyliusFeedPlugin\\Feed\\Model\\Enum\) but returns Setono\\SyliusFeedPlugin\\Feed\\Model\\Enum\./'
- '/Unsafe usage of new static\(\)/'