Skip to content

Commit ef55fee

Browse files
committed
Introduce egeloen/http-adapter
1 parent bac6c1d commit ef55fee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+122
-941
lines changed

composer.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,12 @@
1616
"igorw/get-in": "~1.0"
1717
},
1818
"require-dev": {
19-
"kriswallsmith/buzz": "@stable",
20-
"guzzle/guzzle": "@stable",
21-
"zendframework/zend-http": "~2.1",
22-
"geoip/geoip": "~1.13",
19+
"egeloen/http-adapter": "~0.1",
2320
"geoip2/geoip2": "~0.6"
2421
},
2522
"suggest": {
26-
"kriswallsmith/buzz": "Enabling Buzz allows you to use the BuzzHttpAdapter.",
27-
"ext-curl": "Enabling the curl extension allows you to use the CurlHttpAdapter.",
23+
"egeloen/http-adapter": "If you are going to use any http adapters",
2824
"ext-geoip": "Enabling the geoip extension allows you to use the MaxMindProvider.",
29-
"guzzle/guzzle": "Enabling Guzzle allows you to use the GuzzleHttpAdapter.",
30-
"zendframework/zend-http": "Enabling Zend Http allows you to use the ZendHttpAdapter.",
3125
"geoip/geoip": "If you are going to use the MaxMindBinaryProvider (conflict with geoip extension).",
3226
"geoip2/geoip2": "If you are going to use the GeoIP2DatabaseProvider."
3327
},

src/Geocoder/HttpAdapter/BuzzHttpAdapter.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/Geocoder/HttpAdapter/CurlHttpAdapter.php

Lines changed: 0 additions & 87 deletions
This file was deleted.

src/Geocoder/HttpAdapter/GeoIP2Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @author Jens Wiese <[email protected]>
1919
*/
20-
class GeoIP2Adapter implements HttpAdapterInterface
20+
class GeoIP2Adapter
2121
{
2222
/**
2323
* GeoIP2 models (e.g. city or country)

src/Geocoder/HttpAdapter/GuzzleHttpAdapter.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/Geocoder/HttpAdapter/HttpAdapterInterface.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)