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
22
22
{
23
23
private $ binaryFile ;
24
24
25
- public function setUp ()
25
+ public function setUp (): void
26
26
{
27
27
// Download this BIN database from https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode
28
28
$ this ->binaryFile = __DIR__ .'/fixtures/IP2LOCATION-LITE-DB9.IPV6.BIN ' ;
@@ -33,7 +33,7 @@ protected function getCacheDir()
33
33
return __DIR__ .'/.cached_responses ' ;
34
34
}
35
35
36
- public static function setUpBeforeClass ()
36
+ public static function setUpBeforeClass (): void
37
37
{
38
38
if (false == class_exists ('\\IP2Location \\Database ' )) {
39
39
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
32
32
33
33
protected $ testHttpProvider = false ;
34
34
35
- public static function setUpBeforeClass ()
35
+ public static function setUpBeforeClass (): void
36
36
{
37
37
if (false == class_exists ('\\IP2Location \\Database ' )) {
38
38
self ::markTestSkipped ('The IP2Location \'s official library required to run these tests. ' );
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"require" : {
15
- "php" : " ^7.2 " ,
15
+ "php" : " ^7.3 || ^8.0 " ,
16
16
"ip2location/ip2location-php" : " ^8.1.1" ,
17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
You can’t perform that action at this time.
0 commit comments