forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-parameters.neon
More file actions
29 lines (22 loc) · 845 Bytes
/
phpstan-parameters.neon
File metadata and controls
29 lines (22 loc) · 845 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
parameters:
level: 6
paths:
- bundles
- lib
- models
bootstrapFiles:
- phpstan-bootstrap.php
excludePaths:
- bundles/SeoBundle/src/Controller/Traits/DocumentTreeConfigWrapperTrait.php
- bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/Assets.php
- bundles/SimpleBackendSearchBundle/src/DataProvider/GDPR/DataObjects.php
symfony:
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml
ignoreErrors:
- '~^Unsafe usage of new static\(\)~'
# see https://phpstan.org/config-reference#universal-object-crates
universalObjectCratesClasses:
- Pimcore\Config\Config
- Pimcore\Templating\Model\ViewModel
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false