Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

3.0.0 升级组件发现 3.0.9 可以 到 3.0.13 就报错

オープン
#12 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
backend

調査の方向性

まず、composer update を使って hyperf/crontab v3.0.9 から v3.0.13 へのアップグレードを再現し、その後 php bin/hyperf.php start を実行します。vendor/hyperf/server/src/Server.php の起動パスを調べ、2つのパッケージバージョンを比較して、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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hyperf/crontab のほかの issue

hyperf/crontab の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。