Skip to content

Commit da2a60e

Browse files
committed
chore: Upgrade to react/http.
Since the react/http-client library is now deprecated we need to move forward with the ecosystem. We also use the new Psr7 factories from the nyholm/psr7 package.
1 parent 412356b commit da2a60e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/phpspec.yml
55
/phpunit.xml
66
/vendor/
7+
.phpunit.result.cache

composer.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,20 @@
77
"authors": [
88
{
99
"name": "Stéphane HULARD",
10-
"email": "s.hulard@gmail.com"
10+
"email": "s.hulard@chstudio.fr"
1111
}
1212
],
1313
"require": {
1414
"php": "^7.1",
1515
"php-http/httplug": "^2.0",
16-
"react/http-client": "~0.5.9",
17-
"react/dns": "^1.0|^0.4.15",
18-
"react/socket": "^1.0",
19-
"react/stream": "^1.0",
16+
"react/http": "^1.0",
2017
"react/event-loop": "^1.0",
2118
"php-http/discovery": "^1.0"
2219
},
2320
"require-dev": {
24-
"php-http/client-integration-tests": "^2.0",
21+
"php-http/client-integration-tests": "^3.0",
2522
"php-http/message": "^1.0",
26-
"phpunit/phpunit": "^4.8.36 || ^5.4"
23+
"nyholm/psr7": "^1.3"
2724
},
2825
"provide": {
2926
"php-http/client-implementation": "1.0",

0 commit comments

Comments
 (0)