Skip to content

Commit 937b712

Browse files
Merge branch '4.4' into 5.0
* 4.4: (27 commits) [Serializer] minor cleanup fix merge Run PHP 8 as 7.4.99 Remove calls to deprecated ReflectionParameter::getClass(). [VarDumper] fix PHP 8 support Add php 8 to travis. [Cache] Accessing undefined constants raises an Error in php8 [Cache] allow DBAL v3 Skip Doctrine DBAL on php 8 until we have a compatible version. [DomCrawler] Catch expected ValueError. Made method signatures compatible with their corresponding traits. [ErrorHandler] Apply php8 fixes from Debug component. [DomCrawler] Catch expected ValueError. [Validator] Catch expected ValueError. [VarDumper] ReflectionFunction::isDisabled() is deprecated. [BrowserKit] Raw body with custom Content-Type header [PropertyAccess] Parse php 8 TypeErrors correctly. [Intl] Fix call to ReflectionProperty::getValue() for static properties. [HttpKernel] Prevent calling method_exists() with non-string values. Fix wrong roles comparison ...
2 parents 410b395 + 153d5f0 commit 937b712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/NumberFormatter/AbstractNumberFormatterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ public function testGetSymbol()
600600

601601
$r = new \ReflectionProperty('Symfony\Component\Intl\NumberFormatter\NumberFormatter', 'enSymbols');
602602
$r->setAccessible(true);
603-
$expected = $r->getValue('Symfony\Component\Intl\NumberFormatter\NumberFormatter');
603+
$expected = $r->getValue();
604604

605605
for ($i = 0; $i <= 17; ++$i) {
606606
$this->assertSame($expected[1][$i], $decimalFormatter->getSymbol($i));
@@ -617,7 +617,7 @@ public function testGetTextAttribute()
617617

618618
$r = new \ReflectionProperty('Symfony\Component\Intl\NumberFormatter\NumberFormatter', 'enTextAttributes');
619619
$r->setAccessible(true);
620-
$expected = $r->getValue('Symfony\Component\Intl\NumberFormatter\NumberFormatter');
620+
$expected = $r->getValue();
621621

622622
for ($i = 0; $i <= 5; ++$i) {
623623
$this->assertSame($expected[1][$i], $decimalFormatter->getTextAttribute($i));

0 commit comments

Comments
 (0)