From 77cf6b28fe6b4c4f8ed97249ef60ed0e1599fc69 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Wed, 5 Jul 2017 21:17:19 -0700 Subject: [PATCH] Don't register the `class_exists` loader This is now done when the container boots in Symfony 3.3.x. --- bootstrap.php | 4 ---- 1 file changed, 4 deletions(-) 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')); }