mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 04:46:49 +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\NodeVisitor\NodeVisitorInterface;
|
||||||
use Twig\TokenParser\TokenParserInterface;
|
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>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user