forked from walkor/workerman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
36 lines (36 loc) · 1.61 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
27
28
29
30
31
32
33
34
35
36
parameters:
level: 5
paths:
- src
- tests
ignoreErrors:
-
path: src/Events/Revolt.php
messages:
- '#Property Workerman\\Events\\Revolt::\$driver has unknown class Revolt\\EventLoop\\Driver as its type.#'
- '#Call to static method getDriver\(\) on an unknown class Revolt\\EventLoop.#'
- '#Method Workerman\\Events\\Revolt::driver\(\) has invalid return type Revolt\\EventLoop\\Driver.#'
- '#Call to method .* on an unknown class Revolt\\EventLoop\\Driver.#'
-
path: src/Events/Swow.php
messages:
- '#Used function Swow\\Sync\\waitAll not found.#'
- '#Call to static method .* on an unknown class Swow\\.*.#'
- '#Function msleep not found.#'
- '#Function stream_poll_one not found.#'
- '#Caught class Swow\\SignalException not found.#'
- '#Function Swow\\Sync\\waitAll not found.#'
- '#Constant STREAM_POLLHUP not found.#'
- '#Constant STREAM_POLLIN not found.#'
- '#Constant STREAM_POLLNONE not found.#'
- '#Constant STREAM_POLLOUT not found.#'
- '#Property Workerman\\Events\\Swow::.* has unknown class Swow\\Coroutine as its type.#'
-
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
message: '#Constant LINE_VERSION_LENGTH not found.#'