-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
42 lines (33 loc) · 1.54 KB
/
phpstan.neon.dist
File metadata and controls
42 lines (33 loc) · 1.54 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
parameters:
level: max
paths:
- src
- tests
ignoreErrors:
# OutboxInsert::$parameters is an untyped iterable on an Internal collaborator; Doctrine expects array<int|string, mixed>.
- identifier: argument.type
path: src/DoctrineOutboxRepository.php
# aggregateId is intentionally typed mixed at the public exception boundary; sprintf at level max flags the mixed argument.
- identifier: argument.type
path: src/Exceptions/DuplicateAggregateVersion.php
# Internal collaborators handle mixed identity values per design; PHPDoc is prohibited under src/Internal/.
- identifier: cast.string
path: src/Internal/BinaryIdentityColumn.php
- identifier: cast.string
path: src/Internal/StringIdentityColumn.php
# OutboxInsert::$parameters is a constructor parameter inside src/Internal/; PHPDoc is prohibited.
- identifier: missingType.iterableValue
path: src/Internal/OutboxInsert.php
# Test files are excluded from typed-array PHPDoc requirements.
- identifier: missingType.iterableValue
path: tests
# Doctrine fetchAssociative returns array|false at level max; tests assert on documented happy paths.
- identifier: offsetAccess.nonOffsetAccessible
path: tests
- identifier: argument.type
path: tests
- identifier: cast.int
path: tests
- identifier: property.onlyWritten
path: tests
reportUnmatchedIgnoredErrors: true