-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan.neon
More file actions
33 lines (25 loc) · 892 Bytes
/
phpstan.neon
File metadata and controls
33 lines (25 loc) · 892 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
29
30
31
32
33
parameters:
paths:
- bin
- src
- tests
- rector.php
- ecs.php
level: 8
errorFormat: symplify
reportUnmatchedIgnoredErrors: false
# make sure iterable docblock are checked with real assertions
treatPhpDocTypesAsCertain: false
ignoreErrors:
# irelevant
- '#Calling PHPStan\\(.*?) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version#'
- identifier: phpstanApi.constructor
- identifier: phpstanApi.instanceofType
# false positive
- '#with generic interface PHPStan\\Collectors\\Collector#'
-
identifier: class.notFound
path: tests/Rector/Rector/ClassMethod/AddClassMethodParamTypeRector/AddClassMethodParamTypeRectorTest.php
excludePaths:
- "*/Fixture/*"
- "*/Source/*"