From 8586fe59eb471b010f1975c70bf255a6f76f9b00 Mon Sep 17 00:00:00 2001 From: ljyljy0211 Date: Tue, 10 Aug 2021 18:25:02 +0800 Subject: [PATCH] Update composer.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 支持hyperf2.1以上 --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index deac206..f8bdbbc 100644 --- a/composer.json +++ b/composer.json @@ -36,17 +36,17 @@ "ext-swoole": ">=4.5", "ext-json": "*", "ext-openssl": "*", - "hyperf/cache": "~2.2.0", - "hyperf/command": "~2.2.0", - "hyperf/config": "~2.2.0", - "hyperf/di": "~2.2.0", - "hyperf/framework": "~2.2.0", + "hyperf/cache": "^2.1", + "hyperf/command": "^2.1", + "hyperf/config": "^2.1", + "hyperf/di": "^2.1", + "hyperf/framework": "^2.1", "lcobucci/jwt": "~4.1.0", "nesbot/carbon": "^2.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "hyperf/testing": "~2.2.0", + "hyperf/testing": "^2.1", "phpstan/phpstan": "^0.12", "swoole/ide-helper": "dev-master", "mockery/mockery": "^1.0"