-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpstan.neon
37 lines (32 loc) · 1.21 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
parameters:
level: 8
paths:
- src/
- tests/
excludePaths:
analyse:
- vendor/
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#^PHPDoc tag @var with type RecursiveDirectoryIterator is not subtype of native type RecursiveIteratorIterator\<RecursiveDirectoryIterator\>\.$#'
identifier: varTag.nativeType
count: 2
path: src/Directory.php
-
message: '#^Instanceof between Liborm85\\ComposerVendorCleaner\\Cleaner and Liborm85\\ComposerVendorCleaner\\Cleaner will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 2
path: src/Plugin.php
# compatibility with multiple PHPUnit versions:
-
message: '#^Call to function method_exists\(\) with ''\\\\PHPUnit\\\\Framework…'' and ''assertIsCallable'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: tests/PluginTest.php
# compatibility with multiple PHPUnit versions:
-
message: '#^Call to an undefined static method Liborm85\\ComposerVendorCleaner\\Tests\\PluginTest\:\:assertInternalType\(\)\.$#'
identifier: staticMethod.notFound
count: 1
path: tests/PluginTest.php