Skip to content

Commit 11f8ba8

Browse files
committed
Fix CS
1 parent b90eade commit 11f8ba8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

NumberFormatter/NumberFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ private function getInt64Value($value)
847847
return false;
848848
}
849849

850-
if (PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value < -self::$int32Max - 1)) {
850+
if (\PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value < -self::$int32Max - 1)) {
851851
return (float) $value;
852852
}
853853

Resources/bin/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function get_icu_version_from_genrb($genrb)
7474
throw new \ErrorException($msg, 0, $type, $file, $line);
7575
});
7676

77-
set_exception_handler(function (\Throwable $exception) {
77+
set_exception_handler(function (Throwable $exception) {
7878
echo "\n";
7979

8080
$cause = $exception;

Tests/DateFormatter/IntlDateFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function parseQuarterProvider()
167167

168168
public function testParseThreeDigitsYears()
169169
{
170-
if (PHP_INT_SIZE < 8) {
170+
if (\PHP_INT_SIZE < 8) {
171171
$this->markTestSkipped('Parsing three digits years requires a 64bit PHP.');
172172
}
173173

Util/IntlTestHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function requireFullIntl(TestCase $testCase, $minimumIcuVersion =
8686
*/
8787
public static function require32Bit(TestCase $testCase)
8888
{
89-
if (4 !== PHP_INT_SIZE) {
89+
if (4 !== \PHP_INT_SIZE) {
9090
$testCase->markTestSkipped('PHP 32 bit is required.');
9191
}
9292
}
@@ -96,7 +96,7 @@ public static function require32Bit(TestCase $testCase)
9696
*/
9797
public static function require64Bit(TestCase $testCase)
9898
{
99-
if (8 !== PHP_INT_SIZE) {
99+
if (8 !== \PHP_INT_SIZE) {
100100
$testCase->markTestSkipped('PHP 64 bit is required.');
101101
}
102102
}

0 commit comments

Comments
 (0)