-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
27 lines (23 loc) 路 844 Bytes
/
Copy pathphpstan.neon
File metadata and controls
27 lines (23 loc) 路 844 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
parameters:
level: 8
paths:
- src
- tests
- docs/reference
scanDirectories:
- tests/fixtures/plugin/src
excludePaths:
- tests/*/fixtures/*
- tests/corpus/*
ignoreErrors:
# a first-class callable reaches the analysis only as a node of PHPStan's own; should PHPStan stop making
# them, the branch is dead, the callable goes unseen as any unknown node does, and the test of Types says so
-
identifier: phpstanApi.instanceofAssumption
path: src/Analyses/Types.php
# the class phpstan/extension-installer generates and the cache of anonymous classes are internal; should either
# be renamed or dropped, the extensions go unread or nothing is emptied, which costs what the extensions add to
# the types or memory, not a wrong answer
-
identifier: phpstanApi.classConstant
path: src/Analyses/PhpStan.php