Skip to content

Commit 3ecde5b

Browse files
derrabusnicolas-grekas
authored andcommitted
Remove calls to AnnotationRegistry::registerLoader()
1 parent 35fec76 commit 3ecde5b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/Loader/AnnotationClassLoaderWithAnnotationsTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Routing\Tests\Loader;
1313

1414
use Doctrine\Common\Annotations\AnnotationReader;
15-
use Doctrine\Common\Annotations\AnnotationRegistry;
1615
use Symfony\Component\Routing\Loader\AnnotationClassLoader;
1716
use Symfony\Component\Routing\Route;
1817

@@ -26,9 +25,6 @@ protected function configureRoute(Route $route, \ReflectionClass $class, \Reflec
2625
{
2726
}
2827
};
29-
if (method_exists(AnnotationRegistry::class, 'registerLoader')) {
30-
AnnotationRegistry::registerLoader('class_exists');
31-
}
3228
}
3329

3430
public function testDefaultRouteName()

0 commit comments

Comments
 (0)