-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathphpstan.neon
More file actions
73 lines (66 loc) · 2.01 KB
/
phpstan.neon
File metadata and controls
73 lines (66 loc) · 2.01 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
parameters:
level: max
paths:
- src
- tests
excludePaths:
- tests/Application/*
bootstrapFiles:
- vendor/autoload.php
# Symfony Configuration
symfony:
consoleApplicationLoader: tests/PHPStan/console_application.php
# Doctrine Configuration
doctrine:
repositoryClass: Doctrine\ORM\EntityRepository
objectManagerLoader: tests/PHPStan/object_manager.php
# Report unmatched ignored errors
reportUnmatchedIgnoredErrors: false
# Ignored errors - Doctrine type mismatches are intentional design choices
ignoreErrors:
# Nullable properties allow entity creation before values are set
- identifier: doctrine.columnType
# Collection generic types are intentionally broader for polymorphism
- identifier: doctrine.associationType
-
identifier: missingType.generics
path: src/DependencyInjection
-
identifier: missingType.generics
path: src/Fixture
-
identifier: missingType.generics
path: tests/Fixture
-
identifier: missingType.generics
path: src/Form
-
identifier: missingType.generics
path: tests/Form
-
identifier: trait.unused
path: src/Doctrine/ORM
-
identifier: trait.unused
path: src/Model
-
identifier: trait.unused
path: src/Fixture
-
identifier: method.nonObject
path: src/DependencyInjection
-
identifier: class.notFound
path: src/DependencyInjection
-
identifier: method.nonObject
path: src/Fixture
-
identifier: class.notFound
path: src/Fixture
-
identifier: offsetAccess.nonOffsetAccessible
path: tests/Form
-
identifier: missingType.iterableValue
path: tests/Form