-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpstan.neon
More file actions
31 lines (22 loc) · 1.05 KB
/
phpstan.neon
File metadata and controls
31 lines (22 loc) · 1.05 KB
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
includes:
- config/config.neon
parameters:
level: max
paths:
- src
- tests
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Class Rector\\PHPStanRules\\Rule\\(.*?) implements generic interface PHPStan\\Rules\\Rule but does not specify its types\: TNodeType#'
- '#Method Rector\\PHPStanRules\\Tests\\Rule\\(.*?) return type has no value type specified in iterable type Iterator#'
-
message: '#Parameter \#1 \$argument of class ReflectionClass constructor expects class\-string<SomeType\>\|SomeType, string given#'
path: tests/Rule/NoClassReflectionStaticReflectionRule/Fixture/NewOnExternal.php
# we're not on PHP 8 yet
- '#This property type might be inlined to PHP\. Do you have confidence it is correct\? Put it here#'
# skip for PHPStan rules
-
message: '#Class must implement "Rector\\Core\\Contract\\Rector\\ConfigurableRectorInterface" interface#'
path: src/Rule/*
excludes_analyse:
- '*tests/*/Fixture/*'