37 Star 418 Fork 44

walkor / workerman

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
phpstan.neon.dist 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
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.#'
PHP
1
https://gitee.com/walkor/workerman.git
git@gitee.com:walkor/workerman.git
walkor
workerman
workerman
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891