-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
33 lines (27 loc) · 959 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
29
30
31
32
33
parameters:
# https://phpstan.org/config-reference#rule-level
level: 5
# https://phpstan.org/config-reference#analysed-files
paths:
- config
- src
- tests
- public
doctrine:
# repositoryClass: MyApp\Doctrine\BetterEntityRepository
objectManagerLoader: tests/phpstan-object-manager.php
# https://github.com/phpstan/phpstan-symfony#configuration
# Specific configuration for the Symfony extension
symfony:
container_xml_path: var/cache/dev/App_KernelDevDebugContainer.xml
# constant_hassers: false
console_application_loader: tests/phpstan-console-loader.php
# Some configuration for the analyzer
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
# Some errors I will ignore
## ignoreErrors:
## - '#PHPDoc tag .#'
# Some files I will ignore
## excludePaths:
## - src/Utils/*