Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c752b62

Browse files
authored
Remove nyholm/psr7 from require-dev (#928)
* Remove nyholm/psr7 from require-dev * cs
1 parent 7cd1630 commit c752b62

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22
sudo: false
33

4-
php: 7.0
4+
php: 7.2
55

66
install:
77
- composer update --prefer-stable --prefer-dist

Tests/Provider/AbstractHttpProviderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,11 @@
1818
use Geocoder\Query\GeocodeQuery;
1919
use Geocoder\Query\ReverseQuery;
2020
use Http\Client\HttpClient;
21-
use Http\Discovery\ClassDiscovery;
2221
use Http\Mock\Client;
2322
use PHPUnit\Framework\TestCase;
2423

2524
class AbstractHttpProviderTest extends TestCase
2625
{
27-
public static function setUpBeforeClass()
28-
{
29-
ClassDiscovery::prependStrategy('\Nyholm\Psr7\Httplug\DiscoveryStrategy');
30-
}
31-
3226
public function testHttpClientGetter()
3327
{
3428
$client = $this->getMockBuilder(Client::class)->disableOriginalConstructor()->getMock();

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"symfony/stopwatch": "~2.5",
2727
"php-http/message": "^1.0",
2828
"php-http/mock-client": "^1.0",
29-
"nyholm/psr7": "^0.2.2"
29+
"nyholm/psr7": "^1.0"
3030
},
3131
"autoload": {
3232
"psr-4": { "Geocoder\\Http\\": "" },

0 commit comments

Comments
 (0)