-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathphpstan.neon
29 lines (24 loc) · 943 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
26
27
28
29
parameters:
level: 6
paths:
- src
- tests
bootstrapFiles:
- vendor/autoload.php
excludePaths:
- vendor
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Unsafe usage of new static\(\).+#'
- '#Method \S+ return type has no value type specified in iterable type array.#'
- '#Method \S+ has parameter \S+ with no value type specified in iterable type array.#'
- '#Property \S+ type has no value type specified in iterable type array.#'
- '#Access to an undefined property Workerman\\Connection\\TcpConnection::\$__request.#'
- '#unknown class CurlHandle#'
- '#invalid typehint type CurlHandle#'
-
message: '#Method \S+ has no return typehint specified.#'
paths:
- tests/unit/**Test.php