From e614556a3101a4f3141079d0c846099c1ced4706 Mon Sep 17 00:00:00 2001 From: daodao97 Date: Wed, 30 Dec 2020 15:39:58 +0800 Subject: [PATCH] perf: support hyperf 2.1 --- composer.json | 42 +++++++++++++++---------------- src/alert-manager/composer.json | 4 +-- src/base-utils/composer.json | 40 ++++++++++++++--------------- src/cron-center/composer.json | 8 +++--- src/event-bus/composer.json | 4 +-- src/process-manager/composer.json | 8 +++--- src/validation/composer.json | 2 +- 7 files changed, 54 insertions(+), 54 deletions(-) diff --git a/composer.json b/composer.json index 00663a6..e9dc531 100644 --- a/composer.json +++ b/composer.json @@ -8,33 +8,33 @@ } ], "require": { - "php": ">=7.2", + "php": ">=7.3", "ext-json": "*", "ext-pdo": "*", "ext-swoole": ">=4.4", "aliyuncs/oss-sdk-php": "^2.3", "box/spout": "^3.1", - "hyperf/amqp": "~2.0.0", - "hyperf/async-queue": "~2.0.0", - "hyperf/cache": "~2.0.0", - "hyperf/command": "~2.0.0", - "hyperf/config": "~2.0.0", - "hyperf/constants": "~2.0.0", - "hyperf/crontab": "~2.0.0", - "hyperf/database": "~2.0.0", - "hyperf/db-connection": "~2.0.0", + "hyperf/amqp": "~2.1.0", + "hyperf/async-queue": "~2.1.0", + "hyperf/cache": "~2.1.0", + "hyperf/command": "~2.1.0", + "hyperf/config": "~2.1.0", + "hyperf/constants": "~2.1.0", + "hyperf/crontab": "~2.1.0", + "hyperf/database": "~2.1.0", + "hyperf/db-connection": "~2.1.0", "hyperf/filesystem": "^2.0", - "hyperf/framework": "~2.0.0", - "hyperf/guzzle": "~2.0.0", - "hyperf/http-server": "~2.0.0", - "hyperf/logger": "~2.0.0", - "hyperf/memory": "~2.0.0", - "hyperf/metric": "~2.0.0", - "hyperf/nsq": "~2.0.0", - "hyperf/process": "~2.0.0", - "hyperf/redis": "~2.0.0", - "hyperf/snowflake": "~2.0.0", - "hyperf/validation": "~2.0.0", + "hyperf/framework": "~2.1.0", + "hyperf/guzzle": "~2.1.0", + "hyperf/http-server": "~2.1.0", + "hyperf/logger": "~2.1.0", + "hyperf/memory": "~2.1.0", + "hyperf/metric": "~2.1.0", + "hyperf/nsq": "~2.1.0", + "hyperf/process": "~2.1.0", + "hyperf/redis": "~2.1.0", + "hyperf/snowflake": "~2.1.0", + "hyperf/validation": "~2.1.0", "nette/php-generator": "^3.4", "xxtime/flysystem-aliyun-oss": "^1.5", "yadakhov/insert-on-duplicate-key": "^1.2", diff --git a/src/alert-manager/composer.json b/src/alert-manager/composer.json index fc055af..8398374 100644 --- a/src/alert-manager/composer.json +++ b/src/alert-manager/composer.json @@ -9,8 +9,8 @@ } ], "require": { - "hyperf/async-queue": "~2.0.0", - "hyperf/process": "~2.0.0", + "hyperf/async-queue": "~2.1.0", + "hyperf/process": "~2.1.0", "hyperf-admin/rule-engine": "dev-master" }, "autoload": { diff --git a/src/base-utils/composer.json b/src/base-utils/composer.json index bf03382..393287d 100644 --- a/src/base-utils/composer.json +++ b/src/base-utils/composer.json @@ -16,31 +16,31 @@ "ext-yaml": "*", "aliyuncs/oss-sdk-php": "^2.3", "box/spout": "^3.1", - "hyperf/amqp": "~2.0.0", - "hyperf/cache": "~2.0.0", - "hyperf/command": "~2.0.0", - "hyperf/config": "~2.0.0", - "hyperf/constants": "~2.0.0", - "hyperf/database": "~2.0.0", - "hyperf/db-connection": "~2.0.0", - "hyperf/filesystem": "~2.0.0", - "hyperf/framework": "~2.0.0", - "hyperf/guzzle": "~2.0.0", - "hyperf/http-server": "~2.0.0", - "hyperf/logger": "~2.0.0", - "hyperf/memory": "~2.0.0", - "hyperf/metric": "~2.0.0", - "hyperf/nsq": "~2.0.0", - "hyperf/process": "~2.0.0", - "hyperf/redis": "~2.0.0", - "hyperf/snowflake": "~2.0.0", + "hyperf/amqp": "~2.1.0", + "hyperf/cache": "~2.1.0", + "hyperf/command": "~2.1.0", + "hyperf/config": "~2.1.0", + "hyperf/constants": "~2.1.0", + "hyperf/database": "~2.1.0", + "hyperf/db-connection": "~2.1.0", + "hyperf/filesystem": "~2.1.0", + "hyperf/framework": "~2.1.0", + "hyperf/guzzle": "~2.1.0", + "hyperf/http-server": "~2.1.0", + "hyperf/logger": "~2.1.0", + "hyperf/memory": "~2.1.0", + "hyperf/metric": "~2.1.0", + "hyperf/nsq": "~2.1.0", + "hyperf/process": "~2.1.0", + "hyperf/redis": "~2.1.0", + "hyperf/snowflake": "~2.1.0", "yadakhov/insert-on-duplicate-key": "^1.2" }, "require-dev": { "swoft/swoole-ide-helper": "^4.2", "phpstan/phpstan": "^0.11.2", - "hyperf/devtool": "~2.0.0", - "hyperf/testing": "~2.0.0", + "hyperf/devtool": "~2.1.0", + "hyperf/testing": "~2.1.0", "daodao97/hyperf-watch": "dev-master", "symfony/var-dumper": "^5.0" }, diff --git a/src/cron-center/composer.json b/src/cron-center/composer.json index cb245c8..49fd791 100644 --- a/src/cron-center/composer.json +++ b/src/cron-center/composer.json @@ -10,10 +10,10 @@ } ], "require": { - "hyperf/crontab": "~2.0.0", - "hyperf/process": "~2.0.0", - "hyperf/command": "~2.0.0", - "hyperf/event": "~2.0.0", + "hyperf/crontab": "~2.1.0", + "hyperf/process": "~2.1.0", + "hyperf/command": "~2.1.0", + "hyperf/event": "~2.1.0", "hyperf-admin/base-utils": "dev-master" }, "autoload": { diff --git a/src/event-bus/composer.json b/src/event-bus/composer.json index 170c20c..c90daa4 100644 --- a/src/event-bus/composer.json +++ b/src/event-bus/composer.json @@ -9,8 +9,8 @@ } ], "require": { - "hyperf/process": "~2.0.0", - "hyperf/amqp": "~2.0.0" + "hyperf/process": "~2.1.0", + "hyperf/amqp": "~2.1.0" }, "autoload": { "psr-4": { diff --git a/src/process-manager/composer.json b/src/process-manager/composer.json index 409c1e3..1533518 100644 --- a/src/process-manager/composer.json +++ b/src/process-manager/composer.json @@ -10,10 +10,10 @@ ], "require": { "php": ">=7.2", - "hyperf/amqp": "~2.0.0", - "hyperf/crontab": "~2.0.0", - "hyperf/nsq": "~2.0.0", - "hyperf/process": "~2.0.0" + "hyperf/amqp": "~2.1.0", + "hyperf/crontab": "~2.1.0", + "hyperf/nsq": "~2.1.0", + "hyperf/process": "~2.1.0" }, "autoload": { "psr-4": { diff --git a/src/validation/composer.json b/src/validation/composer.json index 9ed697a..1669cb7 100644 --- a/src/validation/composer.json +++ b/src/validation/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "hyperf/validation": "~2.0.0", + "hyperf/validation": "~2.1.0", "hyperf-admin/base-utils": "dev-master" }, "autoload": {