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
75 lines (69 loc) · 2.1 KB
/
phpstan-parameters.neon
File metadata and controls
75 lines (69 loc) · 2.1 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
parameters:
level: 6
reportUnmatchedIgnoredErrors: false
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
- lib/Translation/Translator.php
symfony:
containerXmlPath: var/cache/test/App_KernelTestDebugContainer.xml
ignoreErrors:
-
identifier: new.static
-
identifier: missingType.generics
-
identifier: missingType.iterableValue
-
identifier: instanceof.alwaysTrue
path: bundles/GlossaryBundle/src/Tool/Processor.php
# see https://phpstan.org/config-reference#universal-object-crates
universalObjectCratesClasses:
- Pimcore\Config\Config
- Pimcore\Templating\Model\ViewModel
ergebnis:
final:
enabled: false
finalInAbstractClass:
enabled: false
noAssignByReference:
enabled: false
noCompact:
enabled: false
noConstructorParameterWithDefaultValue:
enabled: false
noErrorSuppression:
enabled: false
noEval:
enabled: false
noExtends:
enabled: false
noIsset:
enabled: false
noNamedArgument:
enabled: false
noNullableReturnTypeDeclaration:
enabled: false
noParameterPassedByReference:
enabled: false
noParameterWithContainerTypeDeclaration:
enabled: false
noParameterWithNullableTypeDeclaration:
enabled: false
noParameterWithNullDefaultValue:
enabled: false
noReturnByReference:
enabled: false
noSwitch:
enabled: false
privateInFinalClass:
enabled: false
testCaseWithSuffix:
enabled: false