-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathphpstan.neon
25 lines (24 loc) · 1.13 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
includes:
- vendor/jangregor/phpstan-prophecy/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
parameters:
paths:
- .
level: max
excludePaths:
- %currentWorkingDirectory%/DependencyInjection/Configuration.php
- %currentWorkingDirectory%/Tests/*
- %currentWorkingDirectory%/vendor/*
symfony:
container_xml_path: %rootDir%/../../../Tests/Application/var/cache/admin/dev/Sulu_Bundle_CommentBundle_Tests_Application_KernelDevDebugContainer.xml
console_application_loader: Tests/phpstan/console-application.php
doctrine:
objectManagerLoader: Tests/phpstan/object-manager.php
ignoreErrors:
- "#^Property .* type mapping mismatch\\: property can contain .* but database .*$#"
- "#^Property .* type mapping mismatch\\: database can contain .* but property .*$#"