File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 7
7
- $HOME/.composer/cache
8
8
9
9
php :
10
- - 5.5
11
- - 5.6
12
- - 7.0
13
10
- 7.1
14
11
- 7.2
15
- - hhvm
12
+ - 7.3
16
13
17
14
env :
18
15
global :
21
18
matrix :
22
19
fast_finish : true
23
20
include :
24
- - php : 5.5
21
+ - php : 7.1
22
+ name : " Lowest dependencies"
25
23
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true PHPUNIT_FLAGS="--coverage-clover build/coverage.xml"
26
- allow_failures :
27
- - php : hhvm
28
24
29
25
before_install :
30
26
- travis_retry composer self-update
Original file line number Diff line number Diff line change 11
11
}
12
12
],
13
13
"prefer-stable" : true ,
14
- "minimum-stability" : " beta " ,
14
+ "minimum-stability" : " dev " ,
15
15
"config" : {
16
16
"bin-dir" : " vendor/bin"
17
17
},
18
18
"require" : {
19
- "php" : " ^5.5 || ^7.0 " ,
19
+ "php" : " ^7.1 " ,
20
20
"ext-curl" : " *" ,
21
- "php-http/httplug" : " ^1 .0" ,
21
+ "php-http/httplug" : " ^2 .0" ,
22
22
"php-http/message-factory" : " ^1.0.2" ,
23
23
"php-http/message" : " ^1.2" ,
24
24
"php-http/discovery" : " ^1.0"
25
25
},
26
26
"require-dev" : {
27
27
"guzzlehttp/psr7" : " ^1.0" ,
28
- "php-http/client-integration-tests" : " ^0.6 " ,
28
+ "php-http/client-integration-tests" : " dev-master " ,
29
29
"phpunit/phpunit" : " ^4.8.27" ,
30
30
"zendframework/zend-diactoros" : " ^1.0"
31
31
},
46
46
"scripts" : {
47
47
"test" : " vendor/bin/phpunit" ,
48
48
"test-ci" : " vendor/bin/phpunit --coverage-clover build/coverage.xml"
49
+ },
50
+ "extra" : {
51
+ "branch-alias" : {
52
+ "dev-master" : " 2.x-dev"
53
+ }
49
54
}
50
55
}
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public function __destruct()
108
108
* @since 1.6 Throw NetworkException on network errors
109
109
* @since 1.0
110
110
*/
111
- public function sendRequest (RequestInterface $ request )
111
+ public function sendRequest (RequestInterface $ request ): ResponseInterface
112
112
{
113
113
$ responseBuilder = $ this ->createResponseBuilder ();
114
114
$ options = $ this ->createCurlOptions ($ request , $ responseBuilder );
You can’t perform that action at this time.
0 commit comments