Skip to content

Commit 855f843

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ValidatorBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
use Symfony\Contracts\Translation\TranslatorInterface;
3434
use Symfony\Contracts\Translation\TranslatorTrait;
3535

36+
// Help opcache.preload discover always-needed symbols
37+
class_exists(TranslatorInterface::class);
38+
class_exists(LocaleAwareInterface::class);
39+
class_exists(TranslatorTrait::class);
40+
3641
/**
3742
* @author Bernhard Schussek <[email protected]>
3843
*/

0 commit comments

Comments
 (0)