Skip to content

Commit a93db53

Browse files
committed
Fix --prefer-lowest version in react/http-client
Travis-ci builds include a check on the lowest compatible version of the included packages. React has not a valid semantic versioning logic here and a lot of BC has been introduced between `react/stream`, `react/dns`, `react/http-client`. Also only the last version of `react/http-client` is compatible with HTTP/1.1.
1 parent b9a3629 commit a93db53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
"php": ">=5.4",
1515
"php-http/httplug": "^1.0.0-alpha2",
1616
"php-http/message-factory": "^0.4@dev",
17-
"react/http-client": "^0.4"
17+
"react/http-client": "^0.4.8",
18+
"react/dns": "^0.4.1",
19+
"react/stream": "^0.4.3"
1820
},
1921
"require-dev": {
22+
"guzzlehttp/psr7": "^1.0",
2023
"php-http/adapter-integration-tests": "dev-master"
2124
},
2225
"autoload": {

0 commit comments

Comments
 (0)