Skip to content

Commit 7db222a

Browse files
NickSdotnicolas-grekas
authored andcommitted
[Form][PhpUnitBridge] Remove usage of noop ReflectionProperty::setAccessible()
1 parent ed77681 commit 7db222a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Tests/Extension/Core/DataTransformer/NumberToLocalizedStringTransformerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,6 @@ public function testRoundMethodKeepsIntegersAsIntegers()
754754
// Use reflection to test the private round() method directly
755755
$reflection = new \ReflectionClass($transformer);
756756
$roundMethod = $reflection->getMethod('round');
757-
$roundMethod->setAccessible(true);
758757

759758
$int = \PHP_INT_MAX - 1;
760759
$result = $roundMethod->invoke($transformer, $int);

0 commit comments

Comments
 (0)