mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 12:06:56 +00:00
Fix opcache preload warning for unlinked anonymous class
This commit is contained in:
@@ -27,6 +27,10 @@ use Twig\Node\Expression\AbstractExpression;
|
||||
use Twig\NodeVisitor\NodeVisitorInterface;
|
||||
use Twig\TokenParser\TokenParserInterface;
|
||||
|
||||
// Help opcache.preload discover always-needed symbols
|
||||
// @see https://github.com/php/php-src/issues/10131
|
||||
class_exists(BinaryOperatorExpressionParser::class);
|
||||
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user