Skip to content

Commit 8c7991b

Browse files
authoredOct 22, 2020
Fixing broken tests (#51)
* Fixing broken tests * Bump deps * Use PHPunit 8.5
1 parent feb7b0b commit 8c7991b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
 

Diff for: ‎composer.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@
1010
],
1111
"require": {
1212
"php": "^7.1",
13-
"nyholm/psr7": "^1.0",
13+
"nyholm/psr7": "^1.3",
1414
"php-http/httplug": "^2.0",
1515
"psr/http-client": "^1.0",
16-
"symfony/options-resolver": "^2.6 || ^3.0 || ^4.0 || ^5.0"
16+
"symfony/options-resolver": "^2.6 || ^3.4 || ^4.4 || ^5.0"
1717
},
1818
"require-dev": {
1919
"friendsofphp/php-cs-fixer": "^2.2",
20-
"php-http/client-integration-tests": "dev-master",
21-
"php-http/message": "^1.0",
22-
"php-http/client-common": "^2.0"
20+
"php-http/client-integration-tests": "^3.0",
21+
"php-http/message": "^1.9",
22+
"php-http/client-common": "^2.3",
23+
"phpunit/phpunit": "^8.5.8"
2324
},
2425
"provide": {
2526
"php-http/client-implementation": "1.0",

Diff for: ‎tests/BaseTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function stopServer($name)
2828
}
2929
}
3030

31-
public function tearDown()
31+
public function tearDown(): void
3232
{
3333
foreach (array_keys($this->servers) as $name) {
3434
$this->stopServer($name);

0 commit comments

Comments
 (0)
Please sign in to comment.