Commit fd8b0846 authored by ornicar's avatar ornicar Committed by Jonathan H. Wage

Rename Symfony\Components to Symfony\Component

parent 432e2f71
...@@ -21,16 +21,16 @@ if (file_exists($configFile)) { ...@@ -21,16 +21,16 @@ if (file_exists($configFile)) {
require $configFile; require $configFile;
foreach ($GLOBALS as $helperSetCandidate) { foreach ($GLOBALS as $helperSetCandidate) {
if ($helperSetCandidate instanceof \Symfony\Components\Console\Helper\HelperSet) { if ($helperSetCandidate instanceof \Symfony\Component\Console\Helper\HelperSet) {
$helperSet = $helperSetCandidate; $helperSet = $helperSetCandidate;
break; break;
} }
} }
} }
$helperSet = ($helperSet) ?: new \Symfony\Components\Console\Helper\HelperSet(); $helperSet = ($helperSet) ?: new \Symfony\Component\Console\Helper\HelperSet();
$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\DBAL\Version::VERSION); $cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', Doctrine\DBAL\Version::VERSION);
$cli->setCatchExceptions(true); $cli->setCatchExceptions(true);
$cli->setHelperSet($helperSet); $cli->setHelperSet($helperSet);
$cli->addCommands(array( $cli->addCommands(array(
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
namespace Doctrine\DBAL\Tools\Console\Command; namespace Doctrine\DBAL\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument, use Symfony\Component\Console\Input\InputArgument,
Symfony\Components\Console; Symfony\Component\Console;
/** /**
* Task for executing arbitrary SQL that can come from a file or directly from * Task for executing arbitrary SQL that can come from a file or directly from
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
namespace Doctrine\DBAL\Tools\Console\Command; namespace Doctrine\DBAL\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument, use Symfony\Component\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption, Symfony\Component\Console\Input\InputOption,
Symfony\Components\Console; Symfony\Component\Console;
/** /**
* Task for executing arbitrary SQL that can come from a file or directly from * Task for executing arbitrary SQL that can come from a file or directly from
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
namespace Doctrine\DBAL\Tools\Console\Helper; namespace Doctrine\DBAL\Tools\Console\Helper;
use Symfony\Components\Console\Helper\Helper, use Symfony\Component\Console\Helper\Helper,
Doctrine\DBAL\Connection; Doctrine\DBAL\Connection;
/** /**
......
<?php <?php
namespace Symfony\Components\Console; namespace Symfony\Component\Console;
use Symfony\Components\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Components\Console\Input\ArgvInput; use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Components\Console\Input\ArrayInput; use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Components\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Components\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;
use Symfony\Components\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Components\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Components\Console\Output\Output; use Symfony\Component\Console\Output\Output;
use Symfony\Components\Console\Output\ConsoleOutput; use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Components\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Components\Console\Command\HelpCommand; use Symfony\Component\Console\Command\HelpCommand;
use Symfony\Components\Console\Command\ListCommand; use Symfony\Component\Console\Command\ListCommand;
use Symfony\Components\Console\Helper\HelperSet; use Symfony\Component\Console\Helper\HelperSet;
use Symfony\Components\Console\Helper\FormatterHelper; use Symfony\Component\Console\Helper\FormatterHelper;
use Symfony\Components\Console\Helper\DialogHelper; use Symfony\Component\Console\Helper\DialogHelper;
/* /*
* This file is part of the symfony framework. * This file is part of the symfony framework.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment