From 3c89dbe050a7fd19abe850edefbd709b48dea8bd Mon Sep 17 00:00:00 2001 From: JanHuang <384099566@qq.com> Date: Tue, 27 Oct 2026 11:06:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore(deps):=20=E5=8D=87=E7=BA=A7=20PHPUnit?= =?UTF-8?q?=20^13.4=E3=80=81PHPStan=20^2.3=E3=80=81PHP=20>=3D8.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PHPUnit/PHPStan 同步升级到当前大版本 - 迁移 PHPUnit 13 配置,移除已废弃属性 - 适配 PHPUnit 13 测试 API 变更 - PHPStan 2 分析通过(必要时更新 baseline) - PHP 基线提升到 >=8.4.1 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f50e49d..20ba2d2 100755 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ } ], "require": { - "php": ">=8.4", + "php": ">=8.4.1", "psr/container": "^2.0" }, "require-dev": { - "phpunit/phpunit": "^10.0", - "phpstan/phpstan": "^1.12.24" + "phpunit/phpunit": "^13.4", + "phpstan/phpstan": "^2.3" }, "autoload": { "psr-4": { From 43d972284abc9052128bdd7cdebcb28adf925ba6 Mon Sep 17 00:00:00 2001 From: JanHuang <384099566@qq.com> Date: Tue, 27 Oct 2026 11:10:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=E6=9B=BF=E6=8D=A2=20Travis=20badge?= =?UTF-8?q?=20=E4=B8=BA=20GitHub=20Actions=20badge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除已停用的 Travis 构建 badge - 使用 GitHub Actions ci.yml badge - middleware PSR15 badge 链接改为 PSR-15 规范 - event 补充 GitHub Actions badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b76b998..bf1917b 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FastD Container -![Building](https://api.travis-ci.org/JanHuang/container.svg?branch=master) +[![CI](https://github.com/fastdlabs/container/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastdlabs/container/actions/workflows/ci.yml) [![Latest Stable Version](https://poser.pugx.org/fastd/container/v/stable)](https://packagist.org/packages/fastd/container) [![Total Downloads](https://poser.pugx.org/fastd/container/downloads)](https://packagist.org/packages/fastd/container) [![Latest Unstable Version](https://poser.pugx.org/fastd/container/v/unstable)](https://packagist.org/packages/fastd/container)