From 1ddb63c88afd1e563247f921d7a62c65169b33b8 Mon Sep 17 00:00:00 2001 From: Ivan Zinovyev Date: Sun, 4 Oct 2015 19:58:57 +0300 Subject: [PATCH] Break on autoloader selected --- bin/doctrine.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doctrine.php b/bin/doctrine.php index 842c5493f..81e016686 100755 --- a/bin/doctrine.php +++ b/bin/doctrine.php @@ -26,6 +26,7 @@ $autoloadFiles = array(__DIR__ . '/../vendor/autoload.php', foreach ($autoloadFiles as $autoloadFile) { if (file_exists($autoloadFile)) { require_once $autoloadFile; + break; } } @@ -63,4 +64,4 @@ if ( ! ($helperSet instanceof HelperSet)) { } } -\Doctrine\ORM\Tools\Console\ConsoleRunner::run($helperSet, $commands); +ConsoleRunner::run($helperSet, $commands);