diff --git a/composer.json b/composer.json index ab9f4b442..1b1c70d83 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "cache/simple-cache-bridge": "^1.0", "cache/void-adapter": "^1.0", "geocoder-php/provider-integration-tests": "^1.6.3", - "geoip2/geoip2": "~2.0", + "geoip2/geoip2": "^2.0|^3.0", "nyholm/nsa": "^1.1", "nyholm/psr7": "^1.0", "php-cs-fixer/shim": "^3.22", diff --git a/src/Provider/GeoIP2/composer.json b/src/Provider/GeoIP2/composer.json index 594a98234..2719b56b0 100644 --- a/src/Provider/GeoIP2/composer.json +++ b/src/Provider/GeoIP2/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": "^8.0", - "geoip2/geoip2": "~2.0", + "geoip2/geoip2": "^2.0|^3.0", "willdurand/geocoder": "^4.0" }, "provide": { @@ -42,4 +42,4 @@ "test": "vendor/bin/phpunit", "test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml" } -} \ No newline at end of file +}