forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-parameters.neon
62 lines (54 loc) · 1.71 KB
/
phpstan-parameters.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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
checkAlwaysTrueCheckTypeFunctionCall: true
ergebnis:
final:
enabled: false
finalInAbstractClass:
enabled: false
noCompact:
enabled: false
noConstructorParameterWithDefaultValue:
enabled: false
noErrorSuppression:
enabled: false
noEval:
enabled: false
noExtends:
enabled: false
noIsset:
enabled: false
noNullableReturnTypeDeclaration:
enabled: false
noParameterWithContainerTypeDeclaration:
enabled: false
noParameterWithNullableTypeDeclaration:
enabled: false
noParameterWithNullDefaultValue:
enabled: false
noSwitch:
enabled: false
privateInFinalClass:
enabled: false
testCaseWithSuffix:
enabled: false