-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
23 lines (22 loc) · 1.19 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
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: 7
paths:
- src
excludes_analyse:
- '%rootDir%/../../../src/Kernel.php'
- '%rootDir%/../../../src/Invoice/Infrastructure/Framework/Migrations'
- '%rootDir%/../../../src/Invoice/Infrastructure/UserInterface/API/MockController.php'
symfony:
container_xml_path: '%currentWorkingDirectory%/var/cache/dev/srcBolton_KernelDevDebugContainer.xml'
ignoreErrors:
- '/Parameter #6 $content of method Symfony\Component\BrowserKit\Client::request() expects string|null, string|false given\./'
- '/Parameter #2 $plainPassword of method Symfony\Component\Security\Core\Encoder\\UserPasswordEncoderInterface::encodePassword() expects string, string|null given\./'
- '/Call to method getStatusCode\(\) on an unknown class Symfony\\Component\\HttpKernel\\Response\./'
- '/Call to method getContent\(\) on an unknown class Symfony\\Component\\HttpKernel\\Response\./'
reportUnmatchedIgnoredErrors: false