diff --git a/composer.json b/composer.json index 4867f41..2dd2f9c 100644 --- a/composer.json +++ b/composer.json @@ -1,28 +1,16 @@ { "name": "hyperf/testing", - "type": "library", + "description": "Testing for hyperf", "license": "MIT", + "type": "library", "keywords": [ "dev", "php", "swoole", "testing" ], - "description": "Testing for hyperf", - "autoload": { - "psr-4": { - "Hyperf\\Testing\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "HyperfTest\\Testing\\": "tests/" - } - }, "require": { "php": ">=8.1", - "psr/container": "^1.0|^2.0", - "phpunit/phpunit": "^10.0", "hyperf/codec": "~3.1.0", "hyperf/collection": "~3.1.0", "hyperf/contract": "~3.1.0", @@ -31,17 +19,29 @@ "hyperf/http-server": "~3.1.0", "hyperf/support": "~3.1.0", "hyperf/utils": "~3.1.0", - "symfony/http-foundation": "^5.4|^6.0" + "phpunit/phpunit": "^10.0", + "psr/container": "^1.0 || ^2.0", + "symfony/http-foundation": "^5.4 || ^6.0" }, "suggest": { "fakerphp/faker": "Required to use Faker feature.(^1.23)" }, - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" + "autoload": { + "psr-4": { + "Hyperf\\Testing\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "HyperfTest\\Testing\\": "tests/" } }, "bin": [ "co-phpunit" - ] + ], + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + } }