-
-
Notifications
You must be signed in to change notification settings - Fork 169
/
phpstan-components.neon
44 lines (37 loc) · 1.22 KB
/
phpstan-components.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
38
39
40
41
42
43
44
parameters:
level: 6
phpVersion: 80100
paths:
- src/Components
excludePaths:
- */vendor/*
- src/Components/grpc/example/grpc
- src/Components/smarty/src/smarty-plugins
- src/Components/swoole/src/Process/Process.php
- src/Components/pgsql/src/Db/Drivers/Swoole
- src/Components/phar/src/Ignore
bootstrapFiles:
- vendor/autoload.php
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#expects class-string<\S+>, string given#'
reportUnmatched: false
-
message: '#Unable to resolve the template type T in call to method#'
reportUnmatched: false
-
message: '#Swoole\\Coroutine\\\S+ not found#'
reportUnmatched: false
-
message: '#^Call to an undefined method Swoole\\Coroutine\\#'
reportUnmatched: false
-
message: '#should return .*static\(.+\).+but returns .+#'
reportUnmatched: false
services:
includes:
- phpstan-baseline/component-baseline.php