Deleted useless code of guzzle. (#618)

* Deleted useless code of guzzle.

* Optimized .
This commit is contained in:
水煮牛肉 2019-09-26 14:58:19 +08:00 committed by 李铭昕
parent 77dfbde764
commit c8ea4ca394
3 changed files with 20 additions and 18 deletions

View File

@ -70,7 +70,7 @@ Now:
- [#402](https://github.com/hyperf-cloud/hyperf/pull/402) Deleted deprecated method `AsyncQueue::delay`.
- [#563](https://github.com/hyperf-cloud/hyperf/pull/563) Deleted deprecated constants `Hyperf\Server\ServerInterface::SERVER_TCP`, use `Hyperf\Server\ServerInterface::SERVER_BASE` to instead of it.
- [#612](https://github.com/hyperf-cloud/hyperf/pull/612) Deleted useless `$url` for RingPHP Handlers.
- [#616](https://github.com/hyperf-cloud/hyperf/pull/616) Deleted useless code of guzzle.
- [#616](https://github.com/hyperf-cloud/hyperf/pull/616) [#618](https://github.com/hyperf-cloud/hyperf/pull/618) Deleted useless code of guzzle.
## Fixed

View File

@ -288,4 +288,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}

View File

@ -1,5 +1,6 @@
{
"name": "hyperf/guzzle",
"description": "Swoole coroutine handler for guzzle",
"type": "library",
"license": "MIT",
"keywords": [
@ -8,7 +9,20 @@
"guzzle",
"handler"
],
"description": "Swoole coroutine handler for guzzle",
"require": {
"php": ">=7.0",
"guzzlehttp/guzzle": "^6.3",
"psr/container": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"swoft/swoole-ide-helper": "dev-master",
"phpunit/phpunit": "^5.7",
"guzzlehttp/ringphp": "~1.0"
},
"suggest": {
"hyperf/pool": "Required to use pool handler."
},
"autoload": {
"psr-4": {
"Hyperf\\Guzzle\\": "src/"
@ -19,19 +33,8 @@
"HyperfTest\\Guzzle\\": "tests/"
}
},
"require": {
"php": ">=7.0",
"psr/http-message": "^1.0",
"psr/container": "^1.0",
"guzzlehttp/guzzle": "^6.3"
},
"require-dev": {
"swoft/swoole-ide-helper": "dev-master",
"phpunit/phpunit": "^5.7",
"guzzlehttp/ringphp": "~1.0"
},
"suggest": {
"hyperf/pool": "Required to use pool handler."
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
@ -39,7 +42,6 @@
}
},
"scripts": {
"test": "./vendor/bin/phpunit -c phpunit.xml",
"co_test": "php tests/co_phpunit.php -c phpunit.xml"
"test": "phpunit --colors=always"
}
}