Use class_exists instead of require

This commit is contained in:
Maxime Steinhausser
2017-06-05 23:34:27 +02:00
parent 1af645d539
commit 2c174e4015
156 changed files with 156 additions and 156 deletions
@@ -2,7 +2,7 @@
namespace Twig\Sandbox;
require __DIR__.'/../../lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php';
class_exists('Twig_Sandbox_SecurityNotAllowedFunctionError');
if (\false) {
class SecurityNotAllowedFunctionError extends \Twig_Sandbox_SecurityNotAllowedFunctionError