mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\TokenParser;
|
||||
|
||||
require __DIR__.'/../../lib/Twig/TokenParser/Extends.php';
|
||||
class_exists('Twig_TokenParser_Extends');
|
||||
|
||||
if (\false) {
|
||||
class ExtendsTokenParser extends \Twig_TokenParser_Extends
|
||||
|
||||
Reference in New Issue
Block a user