-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpstan.neon
28 lines (27 loc) · 969 Bytes
/
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
# https://phpstan.org/blog/phpstan-2-0-released-level-10-elephpants
# https://phpstan.org/config-reference#bleeding-edge
# https://phpstan.org/blog/what-is-bleeding-edge
# comment the two following lines if you don't want to use the bleedingEdge mode.
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
# https://phpstan.org/config-reference
parameters:
# https://phpstan.org/config-reference#rule-level
level: max
# https://phpstan.org/config-reference#multiple-files
paths:
- importmap.php
- bin
- config
- public
- src
- tests
# https://github.com/phpstan/phpstan-symfony#configuration
symfony:
containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml
# @see config/packages/framework.php
scanDirectories:
- var/cache/dev/Symfony/Config
# https://phpstan.org/user-guide/ignoring-errors
ignoreErrors:
#- '#my_ignore_error_regexp_pattern#'