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
2525 * to extend in the future if (for example) the test classes
2626 * begin to use one another.
2727 */
28- $ namespace_map = ['MaxMind \\ Db \\' => __DIR__ . '/src/MaxMind/Db/ ' ];
28+ $ namespace_map = ['MaxMind\Db \\' => __DIR__ . '/src/MaxMind/Db/ ' ];
2929
3030 foreach ($ namespace_map as $ prefix => $ dir ) {
3131 // 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
252252 {
253253 $ this ->expectException (\InvalidArgumentException::class);
254254 $ 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 ' , '< ' )) {
256256 $ this ->markTestSkipped ('MMDB_LIB_VERSION < 1.2.0 ' );
257257 }
258258 $ 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