Skip to content

Commit 1e43ce2

Browse files
committed
Remove \ReflectionProperty::setAccessible(true) calls
1 parent 6f233a1 commit 1e43ce2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Tests/Command/TranslationUpdateCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public function testFilterDuplicateTransPaths()
168168
$command = $this->createMock(TranslationUpdateCommand::class);
169169

170170
$method = new \ReflectionMethod(TranslationUpdateCommand::class, 'filterDuplicateTransPaths');
171-
$method->setAccessible(true);
172171

173172
$filteredTransPaths = $method->invoke($command, $transPaths);
174173

Tests/Functional/SerializerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public function testNormalizersAndEncodersUseDefaultContextConfigOption(string $
4444

4545
$reflectionObject = new \ReflectionObject($normalizer);
4646
$property = $reflectionObject->getProperty('defaultContext');
47-
$property->setAccessible(true);
4847

4948
$defaultContext = $property->getValue($normalizer);
5049

0 commit comments

Comments
 (0)