File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function mmdb_autoload($class): void
25
25
* to extend in the future if (for example) the test classes
26
26
* begin to use one another.
27
27
*/
28
- $ namespace_map = ['MaxMind \\ Db \\' => __DIR__ . '/src/MaxMind/Db/ ' ];
28
+ $ namespace_map = ['MaxMind\Db \\' => __DIR__ . '/src/MaxMind/Db/ ' ];
29
29
30
30
foreach ($ namespace_map as $ prefix => $ dir ) {
31
31
// First swap out the namespace prefix with a directory...
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ public function testV6AddressV4Database(): void
252
252
{
253
253
$ this ->expectException (\InvalidArgumentException::class);
254
254
$ this ->expectExceptionMessage ('Error looking up 2001::. You attempted to look up an IPv6 address in an IPv4-only database ' );
255
- if (\defined ('MaxMind \\ Db \ \Reader::MMDB_LIB_VERSION ' ) && version_compare (Reader::MMDB_LIB_VERSION , '1.2.0 ' , '< ' )) {
255
+ if (\defined ('MaxMind\Db \Reader::MMDB_LIB_VERSION ' ) && version_compare (Reader::MMDB_LIB_VERSION , '1.2.0 ' , '< ' )) {
256
256
$ this ->markTestSkipped ('MMDB_LIB_VERSION < 1.2.0 ' );
257
257
}
258
258
$ reader = new Reader ('tests/data/test-data/MaxMind-DB-test-ipv4-24.mmdb ' );
You can’t perform that action at this time.
0 commit comments