Skip to content

Commit

Permalink
Deleted useless code of guzzle. (#618)
Browse files Browse the repository at this point in the history
* Deleted useless code of guzzle.

* Optimized .
  • Loading branch information
fireqong authored and limingxinleo committed Sep 26, 2019
1 parent 77dfbde commit c8ea4ca
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -288,4 +288,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
32 changes: 17 additions & 15 deletions src/guzzle/composer.json
@@ -1,5 +1,6 @@
{
"name": "hyperf/guzzle",
"description": "Swoole coroutine handler for guzzle",
"type": "library",
"license": "MIT",
"keywords": [
Expand All @@ -8,22 +9,11 @@
"guzzle",
"handler"
],
"description": "Swoole coroutine handler for guzzle",
"autoload": {
"psr-4": {
"Hyperf\\Guzzle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\Guzzle\\": "tests/"
}
},
"require": {
"php": ">=7.0",
"psr/http-message": "^1.0",
"guzzlehttp/guzzle": "^6.3",
"psr/container": "^1.0",
"guzzlehttp/guzzle": "^6.3"
"psr/http-message": "^1.0"
},
"require-dev": {
"swoft/swoole-ide-helper": "dev-master",
Expand All @@ -33,13 +23,25 @@
"suggest": {
"hyperf/pool": "Required to use pool handler."
},
"autoload": {
"psr-4": {
"Hyperf\\Guzzle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\Guzzle\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"scripts": {
"test": "./vendor/bin/phpunit -c phpunit.xml",
"co_test": "php tests/co_phpunit.php -c phpunit.xml"
"test": "phpunit --colors=always"
}
}

0 comments on commit c8ea4ca

Please sign in to comment.