forked from Kocal/SymfonyMailerTesting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
31 lines (24 loc) · 1.15 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
29
30
31
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
parameters:
level: max
paths:
- src
- tests
# - spec wait for PHPStan 0.12 support (https://github.com/proget-hq/phpstan-phpspec)
excludes_analyse:
- fixtures/applications/Symfony
- spec # wait for PHPStan 0.12 support (https://github.com/proget-hq/phpstan-phpspec)
symfony:
container_xml_path: 'fixtures/applications/Symfony/var/cache/test/Kocal_SymfonyMailerTesting_Fixtures_Applications_Symfony_App_KernelTestDebugContainer.xml'
inferPrivatePropertyTypeFromConstructor: true
ignoreErrors:
# Should be fixed by Symfony
- '#Property Kocal\\SymfonyMailerTesting\\Tests\\Bridge\\Symfony\\(.*?)::\$class has no typehint specified.#'
# Should be fixed by behat
- '#with no value type specified in iterable type Behat\\Gherkin\\Node\\TableNode.$#'