|
13 | 13 | "license": "Apache-2.0", |
14 | 14 | "require": { |
15 | 15 | "php": ">=7.3", |
16 | | - "hyperf/cache": "~2.1.0", |
17 | | - "hyperf/command": "~2.1.0", |
18 | | - "hyperf/config": "~2.1.0", |
19 | | - "hyperf/db-connection": "~2.1.0", |
20 | | - "hyperf/framework": "~2.1.0", |
21 | | - "hyperf/guzzle": "~2.1.0", |
22 | | - "hyperf/http-server": "~2.1.0", |
23 | | - "hyperf/logger": "~2.1.0", |
24 | | - "hyperf/memory": "~2.1.0", |
25 | | - "hyperf/process": "~2.1.0" |
| 16 | + "hyperf/cache": "~2.2.0", |
| 17 | + "hyperf/command": "~2.2.0", |
| 18 | + "hyperf/config": "~2.2.0", |
| 19 | + "hyperf/db-connection": "~2.2.0", |
| 20 | + "hyperf/framework": "~2.2.0", |
| 21 | + "hyperf/guzzle": "~2.2.0", |
| 22 | + "hyperf/http-server": "~2.2.0", |
| 23 | + "hyperf/logger": "~2.2.0", |
| 24 | + "hyperf/memory": "~2.2.0", |
| 25 | + "hyperf/process": "~2.2.0" |
26 | 26 | }, |
27 | 27 | "require-dev": { |
28 | | - "swoole/ide-helper": "^4.5", |
29 | 28 | "friendsofphp/php-cs-fixer": "^3.0", |
| 29 | + "hyperf/devtool": "~2.2.0", |
| 30 | + "hyperf/ide-helper": "~2.2.0", |
| 31 | + "hyperf/testing": "~2.2.0", |
30 | 32 | "mockery/mockery": "^1.0", |
31 | 33 | "phpstan/phpstan": "^0.12", |
32 | | - "hyperf/devtool": "~2.1.0", |
33 | | - "hyperf/testing": "~2.1.0" |
| 34 | + "swoole/ide-helper": "^4.5" |
34 | 35 | }, |
35 | 36 | "suggest": { |
36 | 37 | "ext-openssl": "Required to use HTTPS.", |
|
68 | 69 | "post-autoload-dump": [ |
69 | 70 | "rm -rf runtime/container" |
70 | 71 | ], |
71 | | - "test": "co-phpunit -c phpunit.xml --colors=always", |
| 72 | + "test": "co-phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always", |
72 | 73 | "cs-fix": "php-cs-fixer fix $1", |
73 | 74 | "analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config", |
74 | 75 | "start": [ |
|
0 commit comments