-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Copy pathphpstan.neon.dist
26 lines (26 loc) · 1.02 KB
/
phpstan.neon.dist
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
parameters:
level: 5
paths:
- src
- tests
excludePaths:
- src/Events/Swow.php
ignoreErrors:
-
path: src/Events/Fiber.php
messages:
- '#Property Workerman\\Events\\Fiber::\$driver has unknown class Revolt\\EventLoop\\Driver as its type.#'
- '#Call to static method getDriver\(\) on an unknown class Revolt\\EventLoop.#'
- '#Method Workerman\\Events\\Fiber::driver\(\) has invalid return type Revolt\\EventLoop\\Driver.#'
- '#Call to method .* on an unknown class Revolt\\EventLoop\\Driver.#'
-
path: src/Events/Event.php
reportUnmatched: false
messages:
- '#Call to an undefined method EventBase::+.#'
- path: src/Timer.php
message: '#Call to static method getSuspension\(\) on an unknown class Revolt\\EventLoop.#'
- path: src/Worker.php
messages:
- '#Constant LINE_VERSION_LENGTH not found.#'
- '#Call to static method run\(\) on an unknown class Swow\\Coroutine.#'