Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[DBAL-393] Fix doctrine-dbal command

  • Loading branch information...
commit 64e2b004956ca12a764ce60eefeef5885823c3c2 1 parent c125e22
@beberlei beberlei authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/doctrine-dbal.php
View
6 bin/doctrine-dbal.php
@@ -5,7 +5,7 @@
$classLoader = new \Doctrine\Common\ClassLoader('Doctrine');
$classLoader->register();
-$classLoader = new \Doctrine\Common\ClassLoader('Symfony', 'Doctrine');
+$classLoader = new \Doctrine\Common\ClassLoader('Symfony');
$classLoader->register();
$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php';
@@ -19,7 +19,7 @@
}
require $configFile;
-
+
foreach ($GLOBALS as $helperSetCandidate) {
if ($helperSetCandidate instanceof \Symfony\Component\Console\Helper\HelperSet) {
$helperSet = $helperSetCandidate;
@@ -40,4 +40,4 @@
new \Doctrine\DBAL\Tools\Console\Command\ReservedWordsCommand(),
));
-$cli->run();
+$cli->run();
Please sign in to comment.
Something went wrong with that request. Please try again.