-
Notifications
You must be signed in to change notification settings - Fork 17
/
phpstan.neon.dist
27 lines (27 loc) · 1.03 KB
/
phpstan.neon.dist
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
parameters:
level: max
paths:
- src
- tests
editorUrl: '%%file%%:%%line%%'
symfony:
container_xml_path: var/cache/dev/App_KernelDevDebugContainer.xml
checkExplicitMixed: false
ignoreErrors:
- identifier: missingType.generics
- '#Trait [a-zA-Z0-9\\_]+ is used zero times and is not analysed.#'
-
messages:
- '#Call to method (.*) on an unknown class PHPUnit\\Framework\\MockObject\\MockObject.#'
paths:
- tests/*
-
messages:
- '#has PHPDoc tag \@method for method (.*)\(\) parameter \#(\d+) \$(.*) with no value type specified in iterable type array#'
paths:
- src/*
includes:
- tools/02_phpstan/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- tools/02_phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- tools/02_phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- tools/02_phpstan/vendor/phpstan/phpstan-symfony/extension.neon