Skip to content

Commit bd2ba7e

Browse files
Merge branch '4.4' into 5.0
* 4.4: [DI] Fix CheckTypeDeclarationPass [Security/Http] don't require the session to be started when tracking its id [DI] fix preloading script generation
2 parents ac2466b + d4efe4a commit bd2ba7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ServiceLocatorTrait.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
use Psr\Container\ContainerExceptionInterface;
1515
use Psr\Container\NotFoundExceptionInterface;
1616

17+
// Help opcache.preload discover always-needed symbols
18+
class_exists(ContainerExceptionInterface::class);
19+
class_exists(NotFoundExceptionInterface::class);
20+
1721
/**
1822
* A trait to help implement ServiceProviderInterface.
1923
*

0 commit comments

Comments
 (0)