-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpstan.neon
25 lines (20 loc) · 896 Bytes
/
phpstan.neon
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
includes:
- config/config.neon
parameters:
level: 8
errorFormat: symplify
paths:
- src
- tests
excludePaths:
- '*/tests/**/Source/*'
- '*/tests/**/Fixture/*'
- '*/tests/**/data/*'
# copy-pasted 3rd party code
- src/Console/Terminal.php
ignoreErrors:
- '#Calling PHPStan\\Testing\\ErrorFormatterTestCase\:\:(getOutputContent|getOutput|getAnalysisResult)|\(\) is not covered by backward compatibility promise\. The method might change in a minor PHPStan version#'
- '#Extending PHPStan\\Testing\\ErrorFormatterTestCase is not covered by backward compatibility promise\. The class might change in a minor PHPStan version#'
-
path: src/ErrorFormatter/SymplifyErrorFormatter.php
message: '#Cannot call method writeLineFormatted\(\) on PHPStan\\Command\\Output\|null#'