-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
30 lines (25 loc) · 1.24 KB
/
phpstan.neon.dist
File metadata and controls
30 lines (25 loc) · 1.24 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
parameters:
level: max
paths:
- src
- tests
ignoreErrors:
# Order fixture stores arbitrary arrays for structural-equality tests.
- identifier: missingType.iterableValue
path: tests/Models/Order.php
# Internal array-equality collaborator accepts arrays with arbitrary value types by design.
- identifier: missingType.iterableValue
path: src/Internal/ArrayEquality.php
# Internal array-hash collaborator accepts arrays with arbitrary value types by design.
- identifier: missingType.iterableValue
path: src/Internal/ArrayHash.php
# Internal property extractor returns an untyped array by design; PHPDoc is prohibited in Internal/.
- identifier: missingType.iterableValue
path: src/Internal/ObjectProperties.php
# Private properties are read via reflection; PHPStan cannot trace reflection-based access.
- identifier: property.onlyWritten
path: tests/Models/PrivateMoney.php
# Private property is read via reflection; PHPStan cannot trace reflection-based access.
- identifier: property.onlyWritten
path: tests/Models/MixedVisibilityProfile.php
reportUnmatchedIgnoredErrors: true