|
13 | 13 | "license": "Apache-2.0", |
14 | 14 | "require": { |
15 | 15 | "php": ">=7.2", |
16 | | - "ext-swoole": ">=4.4", |
17 | | - "hyperf/cache": "~1.1.0", |
18 | | - "hyperf/command": "~1.1.0", |
19 | | - "hyperf/config": "~1.1.0", |
20 | | - "hyperf/db-connection": "~1.1.0", |
21 | | - "hyperf/framework": "~1.1.0", |
22 | | - "hyperf/guzzle": "~1.1.0", |
23 | | - "hyperf/http-server": "~1.1.0", |
24 | | - "hyperf/logger": "~1.1.0", |
25 | | - "hyperf/memory": "~1.1.0", |
26 | | - "hyperf/process": "~1.1.0", |
27 | | - "hyperf/redis": "~1.1.0" |
| 16 | + "ext-swoole": ">=4.5", |
| 17 | + "hyperf/cache": "~2.0.0", |
| 18 | + "hyperf/command": "~2.0.0", |
| 19 | + "hyperf/config": "~2.0.0", |
| 20 | + "hyperf/db-connection": "~2.0.0", |
| 21 | + "hyperf/framework": "~2.0.0", |
| 22 | + "hyperf/guzzle": "~2.0.0", |
| 23 | + "hyperf/http-server": "~2.0.0", |
| 24 | + "hyperf/logger": "~2.0.0", |
| 25 | + "hyperf/memory": "~2.0.0", |
| 26 | + "hyperf/process": "~2.0.0", |
| 27 | + "hyperf/redis": "~2.0.0" |
28 | 28 | }, |
29 | 29 | "require-dev": { |
30 | 30 | "swoole/ide-helper": "^4.4", |
31 | 31 | "phpmd/phpmd": "^2.6", |
32 | 32 | "friendsofphp/php-cs-fixer": "^2.14", |
33 | 33 | "mockery/mockery": "^1.0", |
34 | 34 | "doctrine/common": "^2.9", |
35 | | - "phpstan/phpstan": "^0.11.2", |
36 | | - "hyperf/devtool": "~1.1.0", |
37 | | - "hyperf/testing": "~1.1.0" |
| 35 | + "phpstan/phpstan": "^0.12", |
| 36 | + "hyperf/devtool": "~2.0.0", |
| 37 | + "hyperf/testing": "~2.0.0" |
38 | 38 | }, |
39 | 39 | "suggest": { |
40 | 40 | "ext-openssl": "Required to use HTTPS.", |
|
67 | 67 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" |
68 | 68 | ], |
69 | 69 | "post-autoload-dump": [ |
70 | | - "init-proxy.sh" |
| 70 | + "rm -rf runtime/container" |
71 | 71 | ], |
72 | 72 | "test": "co-phpunit -c phpunit.xml --colors=always", |
73 | 73 | "cs-fix": "php-cs-fixer fix $1", |
|
0 commit comments