Skip to content

Commit e96e4c3

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 842a8d6 + 1ef9ab5 commit e96e4c3

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 <bschussek@gmail.com>
3843
*/

0 commit comments

Comments
 (0)