Skip to content

Commit 7b20172

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Fix CS [Validator] Add Polish translation for ISIN constraint
2 parents 2df5c9b + 1af0d7e commit 7b20172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function reverseTransform($value)
168168
if (false !== strpos($value, $decSep)) {
169169
$type = \NumberFormatter::TYPE_DOUBLE;
170170
} else {
171-
$type = PHP_INT_SIZE === 8
171+
$type = \PHP_INT_SIZE === 8
172172
? \NumberFormatter::TYPE_INT64
173173
: \NumberFormatter::TYPE_INT32;
174174
}

Tests/Extension/Core/Type/DateTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ public function testDayErrorsBubbleUp($widget)
928928

929929
public function testYearsFor32BitsMachines()
930930
{
931-
if (4 !== PHP_INT_SIZE) {
931+
if (4 !== \PHP_INT_SIZE) {
932932
$this->markTestSkipped('PHP 32 bit is required.');
933933
}
934934

0 commit comments

Comments
 (0)