mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-08 12:55:46 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\Node;
|
||||
|
||||
require __DIR__.'/../../lib/Twig/Node/AutoEscape.php';
|
||||
class_exists('Twig_Node_AutoEscape');
|
||||
|
||||
if (\false) {
|
||||
class AutoEscapeNode extends \Twig_Node_AutoEscape
|
||||
|
||||
Reference in New Issue
Block a user