-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
20 lines (20 loc) · 852 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
# see https://phpstan.org/user-guide/output-format#opening-file-in-an-editor
editorUrl: "phpstorm://open?file=%%file%%&line=%%line%%"
level: max
paths:
- rector.php
- src
- tests
excludePaths:
- "*/Expected/*"
- "*tests/*/Fixture/*"
- "*tests/*/MyExtension/*"
- "*tests/*/MySecondExtension/*"
- "*tests/*/Source/*"
- "*tests/Source/*"
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- "#Method Ssch(.*?)provide(.*?) return type has no value type specified in iterable type Iterator#"
- "#^PHPDoc tag @extends contains generic type Symplify\\\\PHPStanExtensions\\\\Testing\\\\AbstractServiceAwareRuleTestCase#"
- "#return type with generic interface PHPStan\\\\Rules\\\\Rule does not specify its types: TNodeType#"