mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-11 04:36:47 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\NodeVisitor;
|
||||
|
||||
require __DIR__.'/../../lib/Twig/BaseNodeVisitor.php';
|
||||
class_exists('Twig_BaseNodeVisitor');
|
||||
|
||||
if (\false) {
|
||||
class AbstractNodeVisitor extends \Twig_BaseNodeVisitor
|
||||
|
||||
Reference in New Issue
Block a user