3.0.0 升级组件发现 3.0.9 可以 到 3.0.13 就报错
还没有人认领这个 Issue。
评估
调研方向
首先,使用 composer update 重现从 hyperf/crontab v3.0.9 升级到 v3.0.13,然后运行 php bin/hyperf.php start。检查 vendor/hyperf/server/src/Server.php 中的启动路径,并比较两个软件包版本,以确定为什么 Swoole 事件循环已经被创建。升级后的版本在没有报告中的警告和弃用提示的情况下启动,即表示完成。
由索引模型根据 Issue 内容生成。
描述
/data # composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading hyperf/crontab (v3.0.9 => v3.0.13)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading hyperf/crontab (v3.0.13)
- Upgrading hyperf/crontab (v3.0.9 => v3.0.13): Extracting archive
Package laminas/laminas-mime is abandoned, you should avoid using it. Use symfony/mime instead.
Generating optimized autoload files
> rm -rf runtime/container
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
/data # php bin/hyperf.php start
START
PHP Warning: Swoole\Server::start(): eventLoop has already been created, unable to start Swoole\Http\Server in /data/vendor/hyperf/server/src/Server.php on line 50
Warning: Swoole\Server::start(): eventLoop has already been created, unable to start Swoole\Http\Server in /data/vendor/hyperf/server/src/Server.php on line 50
PHP Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
3.0.9 就正常
/data # composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Downgrading hyperf/crontab (v3.0.13 => v3.0.9)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downgrading hyperf/crontab (v3.0.13 => v3.0.9): Extracting archive
Package laminas/laminas-mime is abandoned, you should avoid using it. Use symfony/mime instead.
Generating optimized autoload files
> rm -rf runtime/container
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
- 主要语言
- PHP
- 星标
- 13
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperf/crontab 的其他 Issue
-
[BUG] 定时任务重复执行 未关闭
难度 3/5 1-2 天 新手友好度 35/100
-
任务执行时间迟了一秒钟 未关闭
难度 2/5 1-3 小时 新手友好度 45/100
-
解析不了 每月最后一天 未关闭
难度 3/5 1-2 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
tooling
难度 2/5 1-3 小时 新手友好度 75/100
-
UX
难度 2/5 1-3 小时 新手友好度 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
OpenConext/OpenConext-engineblock#2122 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/safe-publish#594 ·