We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3123b commit 6b01513Copy full SHA for 6b01513
src/DependencyInjection/Compiler/AutoRegister.php
@@ -5,9 +5,6 @@
5
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
8
-/**
9
- * @author Kevin Bond <kevinbond@gmail.com>
10
- */
11
final class AutoRegister implements CompilerPassInterface
12
{
13
private $tagName;
tests/bootstrap.php
@@ -2,6 +2,11 @@
2
3
use Doctrine\Common\Annotations\AnnotationRegistry;
4
-require __DIR__ . '/../vendor/autoload.php';
+foreach ([__DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../vendor/autoload.php'] as $file) {
+ if (file_exists($file)) {
+ require $file;
+ break;
+ }
+}
AnnotationRegistry::registerLoader('class_exists');
0 commit comments