diff --git a/bootstrap.php b/bootstrap.php index f2ceffb1..f5f98054 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -20,10 +20,6 @@ // Enforce a consistent locale setlocale(LC_ALL, 'C'); -if (!class_exists('Doctrine\Common\Annotations\AnnotationRegistry', false) && class_exists('Doctrine\Common\Annotations\AnnotationRegistry')) { - AnnotationRegistry::registerLoader('class_exists'); -} - if ('disabled' !== getenv('SYMFONY_DEPRECATIONS_HELPER')) { DeprecationErrorHandler::register(getenv('SYMFONY_DEPRECATIONS_HELPER')); }