-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
54 lines (54 loc) · 1.53 KB
/
phpstan.neon
File metadata and controls
54 lines (54 loc) · 1.53 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
parameters:
level: 6
tmpDir: .phpstan.cache
paths:
- packages/amphp/src
- packages/aspects/src
- packages/dsl/src
- packages/dto/src
- packages/entity/src
- packages/executor/src
- packages/filesystem/src
- packages/generator/src
- packages/migration-tool/src
- packages/mysql/src
- packages/pdodriver/src
- packages/postaction/src
- packages/postgresql/src
- packages/redis/src
- packages/result/src
- packages/service/src
- packages/sqldriver/src
- packages/sqlite/src
- packages/storage/src
- packages/storagepool/src
- packages/telemetry/src
- packages/transaction/src
tips:
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: instanceof.alwaysTrue
- identifier: identical.alwaysFalse
- identifier: nullsafe.neverNull
- identifier: argument.type
- identifier: deadCode.unreachable
- identifier: catch.neverThrown
- identifier: new.static
- identifier: trait.unused
- identifier: nullCoalesce.expr
- identifier: identical.alwaysTrue
- identifier: notIdentical.alwaysTrue
- identifier: notIdentical.alwaysFalse
- identifier: finally.exitPoint
- identifier: property.unusedType
- identifier: property.unused
- identifier: property.onlyWritten
- identifier: property.uninitializedReadonly
- identifier: match.alwaysTrue
- identifier: function.impossibleType
- identifier: argument.templateType
- identifier: assign.propertyType
- identifier: generics.notSubtype
- identifier: cast.string
- identifier: offsetAccess.invalidOffset
- identifier: unset.offset