-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
52 lines (46 loc) · 1.46 KB
/
Copy pathphpstan.neon
File metadata and controls
52 lines (46 loc) · 1.46 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
parameters:
level: 8
tmpDir: var/cache/phpstan
paths:
- src
- tests
- public
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkMissingOverrideMethodAttribute: true
checkUninitializedProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportMaybesInMethodSignatures: true
reportMaybesInPropertyPhpDocTypes: true
reportStaticMethodSignatures: true
reportUnmatchedIgnoredErrors: true
checkDynamicProperties: true
reportNonIntStringArrayKey: true
doctrine:
allowNullablePropertyForRequiredField: true
ormRepositoryClass: App\Repository\AbstractRepository
strictRules:
strictArrayFilter: false
dynamicConstantNames:
- Symfony\Component\HttpKernel\Kernel::MINOR_VERSION
type_coverage:
constant: 100
declare: 100
param: 95
property: 100
return: 100
ignoreErrors:
-
message: '#should be contravariant#'
identifier: method.childParameterType
-
message: '#no value type specified#'
identifier: missingType.iterableValue
-
message: '#Call to static method .* will always evaluate to true.#'
path: tests/*
-
identifier: staticMethod.impossibleType
paths:
- tests/Entity/AbstractPropertyTest.php
- tests/Entity/CalculationTest.php