@@ -62,9 +62,9 @@ public function testDecoder(): void
6262
6363 $ this ->assertSame (-268435456 , $ record ['int32 ' ]);
6464 $ this ->assertSame (100 , $ record ['uint16 ' ]);
65- $ this ->assertSame (PHP_INT_MAX < 4294967295 && !\extension_loaded ('maxminddb ' ) ? '268435456 ' : 268435456 , $ record ['uint32 ' ]);
65+ $ this ->assertSame (\ PHP_INT_MAX < 4294967295 && !\extension_loaded ('maxminddb ' ) ? '268435456 ' : 268435456 , $ record ['uint32 ' ]);
6666 // @phpstan-ignore-next-line
67- $ this ->assertSame (PHP_INT_MAX > 1152921504606846976 && \extension_loaded ('maxminddb ' ) ? 1152921504606846976 : '1152921504606846976 ' , $ record ['uint64 ' ]);
67+ $ this ->assertSame (\ PHP_INT_MAX > 1152921504606846976 && \extension_loaded ('maxminddb ' ) ? 1152921504606846976 : '1152921504606846976 ' , $ record ['uint64 ' ]);
6868
6969 $ uint128 = $ record ['uint128 ' ];
7070
@@ -114,11 +114,11 @@ public function testMax(): void
114114 $ reader = new Reader ('tests/data/test-data/MaxMind-DB-test-decoder.mmdb ' );
115115 $ record = $ reader ->get ('::255.255.255.255 ' );
116116
117- $ this ->assertSame (INF , $ record ['double ' ]);
118- $ this ->assertSame (INF , $ record ['float ' ], 'float ' );
117+ $ this ->assertSame (\ INF , $ record ['double ' ]);
118+ $ this ->assertSame (\ INF , $ record ['float ' ], 'float ' );
119119 $ this ->assertSame (2147483647 , $ record ['int32 ' ]);
120120 $ this ->assertSame (0xFFFF , $ record ['uint16 ' ]);
121- $ this ->assertSame (PHP_INT_MAX < 0xFFFFFFFF ? '4294967295 ' : 0xFFFFFFFF , $ record ['uint32 ' ]);
121+ $ this ->assertSame (\ PHP_INT_MAX < 0xFFFFFFFF ? '4294967295 ' : 0xFFFFFFFF , $ record ['uint32 ' ]);
122122 $ this ->assertSame ('18446744073709551615 ' , $ record ['uint64 ' ] . '' );
123123
124124 $ uint128 = $ record ['uint128 ' ];
@@ -156,9 +156,9 @@ public function testGetWithPrefixLen(): void
156156 ],
157157 'uint128 ' => \extension_loaded ('maxminddb ' ) ? '0x01000000000000000000000000000000 ' : '1329227995784915872903807060280344576 ' ,
158158 'uint16 ' => 0x64 ,
159- 'uint32 ' => PHP_INT_MAX < 4294967295 && !\extension_loaded ('maxminddb ' ) ? '268435456 ' : 268435456 ,
159+ 'uint32 ' => \ PHP_INT_MAX < 4294967295 && !\extension_loaded ('maxminddb ' ) ? '268435456 ' : 268435456 ,
160160 // @phpstan-ignore-next-line
161- 'uint64 ' => PHP_INT_MAX > 1152921504606846976 && \extension_loaded ('maxminddb ' ) ? 1152921504606846976 : '1152921504606846976 ' ,
161+ 'uint64 ' => \ PHP_INT_MAX > 1152921504606846976 && \extension_loaded ('maxminddb ' ) ? 1152921504606846976 : '1152921504606846976 ' ,
162162 'utf8_string ' => 'unicode! ☯ - ♫ ' ,
163163 ];
164164 $ tests = [
0 commit comments