-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathphpstan.neon.dist
21 lines (17 loc) · 1.26 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
level: 7
paths:
- src
excludes_analyse:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
ignoreErrors:
- '/Parameter #1 \$productRepository of method BitBag\\SyliusProductBundlePlugin\\Component\\Product\\AddToCartFormComponent::initializeProduct\(\) expects Sylius\\Component\\Core\\Repository\\ProductRepositoryInterface<Sylius\\Component\\Core\\Model\\ProductInterface>, Sylius\\Component\\Core\\Repository\\ProductRepositoryInterface<BitBag\\SyliusProductBundlePlugin\\Entity\\ProductInterface> given\./'
- '/Parameter #10 \$productRepository of method Sylius\\Bundle\\ShopBundle\\Twig\\Component\\Product\\AddToCartFormComponent::__construct\(\) expects Sylius\\Component\\Core\\Repository\\ProductRepositoryInterface\<Sylius\\Component\\Core\\Model\\ProductInterface\>, Sylius\\Component\\Core\\Repository\\ProductRepositoryInterface\<BitBag\\SyliusProductBundlePlugin\\Entity\\ProductInterface\> given\./'
- identifier: missingType.iterableValue
- identifier: missingType.generics