forked from Brille24/SyliusTierpricePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
28 lines (21 loc) · 1.06 KB
/
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
27
28
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
parameters:
reportUnmatchedIgnoredErrors: false
symfony:
container_xml_path: tests/Application/var/cache/test/ApplicationTests_Brille24_SyliusTierPricePlugin_Application_KernelTestDebugContainer.xml
excludes_analyse:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Not testing config
- 'src/Fixtures/TierPriceFixture.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
- '*Test.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./'
- '/Instanceof between/'