Skip to content

Commit 4bcaa93

Browse files
committed
Run latest version of php-cs-fixer
1 parent 47edbb8 commit 4bcaa93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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...

tests/MaxMind/Db/Test/ReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)