Repository navigation
chore!: PHP 8.1 の対応を外し PHPUnit 11 へ上げる - #31
Conversation
PHP 8.1 は 2025-12-31 に本体のサポート(セキュリティ修正を含む)が 終わった。対応する PHP の版は本体のサポート期間に合わせる方針とし、 README にも明記する。 - composer.json: php を ^8.2、phpunit/phpunit を ^11.5 にする。 PHPUnit 10 はサポートが終わっており、11 は PHP 8.2 以上を要する。 - phpunit.xml: PHPUnit 11 で廃止された beStrictAboutTodoAnnotatedTests を 外す(スキーマの非推奨警告が消える)。 - CI のマトリクスから 8.1 を外す。 BREAKING CHANGE: PHP 8.1 では導入できなくなる。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
警告は composer.json の最低バージョンと実行中の PHP を比べて出る。 最低バージョンを 8.2 へ上げたため、説明もそれに合わせる。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Lint summary
検査対象: 指摘はありません. Actions run: https://github.com/tomio2480/php-serial/actions/runs/43883394750/attempts/1 |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
main で PHP 8.1 を CI のマトリクスから外した(#31)。 ci.yml の衝突は、8.1 を外したうえで 8.6 を試験扱いで足す形に解いた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
セルフレビュー実施済み(指摘は 0277dca で反映).
/security-review実施済み(CI 設定と依存関係を含むため実行,確度 8 以上の指摘なし).概要
v2.0.0 に向けて,PHP 8.1 の対応を外し,PHPUnit を 10 から 11 へ上げます.
変更内容
composer.jsonphpを^8.2,phpunit/phpunitを^11.5phpunit.xmlbeStrictAboutTodoAnnotatedTestsを削除(スキーマの非推奨警告が消える).github/workflows/ci.ymlREADME.md・CONTRIBUTING.md確認したこと
composer validate --strict: 成功composer qa: 成功(PHPUnit 11.5.58,54 件,環境依存の 5 件は skip,非推奨警告なし)#[DataProvider]・#[Group])を使っており,PHPUnit 11 で削除されたアノテーションや API は使っていません.composer.lockは Git 管理外のため,CI は PHP の版ごとに依存を解決します.論点
ci.ymlのマトリクスで衝突します.先にマージした側に合わせて,もう一方を直します.ドキュメント整合性
README.mdの動作環境に方針を加え,CONTRIBUTING.mdの必要な環境・CI の説明・PHP-CS-Fixer の警告の説明を 8.2 に合わせました.PHPDEV.mdは汎用のベストプラクティス文書のため変えていません.🤖 Generated with Claude Code