diff --git a/composer.json b/composer.json index 1aecf29..bcc1d1c 100644 --- a/composer.json +++ b/composer.json @@ -15,23 +15,23 @@ }, "require": { "php": ">=7.2", - "ext-swoole": ">=4.4", - "hyperf/command": "^1.1", - "hyperf/config": "^1.1", - "hyperf/di": "1.1.*", - "hyperf/framework": "^1.1", - "hyperf/http-server": "^1.1", - "hyperf/utils": "^1.1" + "ext-swoole": ">=4.5", + "hyperf/command": "~2.0.0", + "hyperf/config": "~2.0.0", + "hyperf/di": "~2.0.0", + "hyperf/framework": "~2.0.0", + "hyperf/http-server": "~2.0.0", + "hyperf/utils": "~2.0.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.14", - "hyperf/crontab": "^1.1", - "hyperf/db": "^1.1", - "hyperf/process": "^1.1", - "hyperf/testing": "1.1.*", - "phpstan/phpstan": "^0.10.5", - "symfony/finder": "^4.1", - "swoole/ide-helper": "dev-master" + "hyperf/crontab": "~2.0.0", + "hyperf/db": "~2.0.0", + "hyperf/process": "~2.0.0", + "hyperf/testing": "~2.0.0", + "phpstan/phpstan": "^0.12", + "symfony/finder": "^4.0|^5.0", + "swoole/ide-helper": "^4.5.2" }, "suggest": { "hyperf/crontab": "Required to use closure crontab",