-
-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (24 loc) · 698 Bytes
/
phpstan.neon
File metadata and controls
28 lines (24 loc) · 698 Bytes
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
parameters:
level: 8
paths:
- src
ignoreErrors:
# addMember() uses dynamic property assignment through match expression — type-safe by design
-
identifier: assign.propertyType
paths:
- src/PhpGenerator/ClassType.php
- src/PhpGenerator/TraitType.php
- src/PhpGenerator/InterfaceType.php
- src/PhpGenerator/EnumType.php
# Exhaustive match arms — last branch is always true by definition
-
identifier: instanceof.alwaysTrue
paths:
- src/PhpGenerator/ClassType.php
- src/PhpGenerator/TraitType.php
- src/PhpGenerator/InterfaceType.php
- src/PhpGenerator/EnumType.php
- src/PhpGenerator/Printer.php
includes:
- phpstan-baseline.neon