8000 minor #21918 [hhvm] 3.18-related fix (nicolas-grekas) · symfony/symfony@2ec78c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ec78c2

Browse files
minor #21918 [hhvm] 3.18-related fix (nicolas-grekas)
This PR was merged into the 3.2 branch. Discussion ---------- [hhvm] 3.18-related fix | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pa 8000 ss? | yes | Fixed tickets | - | License | MIT | Doc PR | - See #21914 Commits ------- bc6c569 [hhvm] 3.18-related fix
2 parents ba73890 + bc6c569 commit 2ec78c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/HttpKernel/Tests/DependencyInjection/AddClassesToCachePassTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function testExpandClasses()
2121
$r = new \ReflectionClass(AddClassesToCachePass::class);
2222
$pass = $r->newInstanceWithoutConstructor();
2323
$r = new \ReflectionMethod(AddClassesToCachePass::class, 'expandClasses');
24+
$r->setAccessible(true);
2425
$expand = $r->getClosure($pass);
2526

2627
$this->assertSame('Foo', $expand(array('Foo'), array())[0]);

0 commit comments

Comments
 (0)
0