File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class IP2LocationBinaryTest extends BaseTestCase
2222{
2323 private $ binaryFile ;
2424
25- public function setUp ()
25+ public function setUp (): void
2626 {
2727 // Download this BIN database from https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode
2828 $ this ->binaryFile = __DIR__ .'/fixtures/IP2LOCATION-LITE-DB9.IPV6.BIN ' ;
@@ -33,7 +33,7 @@ protected function getCacheDir()
3333 return __DIR__ .'/.cached_responses ' ;
3434 }
3535
36- public static function setUpBeforeClass ()
36+ public static function setUpBeforeClass (): void
3737 {
3838 if (false == class_exists ('\\IP2Location \\Database ' )) {
3939 self ::markTestSkipped ('The IP2Location \'s official library required to run these tests. ' );
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class IntegrationTest extends ProviderIntegrationTest
3232
3333 protected $ testHttpProvider = false ;
3434
35- public static function setUpBeforeClass ()
35+ public static function setUpBeforeClass (): void
3636 {
3737 if (false == class_exists ('\\IP2Location \\Database ' )) {
3838 self ::markTestSkipped ('The IP2Location \'s official library required to run these tests. ' );
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "php" : " ^7.2 " ,
15+ "php" : " ^7.3 || ^8.0 " ,
1616 "ip2location/ip2location-php" : " ^8.1.1" ,
1717 "willdurand/geocoder" : " ^4.0"
1818 },
You can’t perform that action at this time.
0 commit comments