Skip to content

Commit 05ad05d

Browse files
feat: add support for "geoip2/geoip2" 3 (#1221)
Co-authored-by: Christopher Georg <[email protected]>
1 parent 01c44f0 commit 05ad05d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"cache/simple-cache-bridge": "^1.0",
3232
"cache/void-adapter": "^1.0",
3333
"geocoder-php/provider-integration-tests": "^1.6.3",
34-
"geoip2/geoip2": "~2.0",
34+
"geoip2/geoip2": "^2.0|^3.0",
3535
"nyholm/nsa": "^1.1",
3636
"nyholm/psr7": "^1.0",
3737
"php-cs-fixer/shim": "^3.22",

src/Provider/GeoIP2/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"php": "^8.0",
16-
"geoip2/geoip2": "~2.0",
16+
"geoip2/geoip2": "^2.0|^3.0",
1717
"willdurand/geocoder": "^4.0"
1818
},
1919
"provide": {
@@ -42,4 +42,4 @@
4242
"test": "vendor/bin/phpunit",
4343
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
4444
}
45-
}
45+
}

0 commit comments

Comments
 (0)