forked from re-connect/mpb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
29 lines (28 loc) · 903 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
29 lines (28 loc) · 903 Bytes
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
includes:
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
level: max
paths:
- ./src
- ./tests
excludePaths:
- ./test/Factory/
ignoreErrors:
- message: "#^Call to an undefined method.{1,}$#"
path: ./tests
- message: "#^.{1,}Proxy.{1,}#"
path: ./tests
- message: "#^.{1,}object given.{1,}#"
path: ./tests
- message: "#^.{1,}object\\|null.{1,}#"
path: ./tests
bootstrapFiles:
- ./vendor/bin/.phpunit/phpunit/vendor/autoload.php
- ./vendor/autoload.php
doctrine:
objectManagerLoader: ./object-manager.php