Restructure Flarum\Console namespace

This commit is contained in:
Franz Liedke 2017-06-24 11:29:44 +02:00
parent b3ce1cd141
commit cc653412a1
7 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Flarum\Console\Command; namespace Flarum\Console;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;

View File

@ -11,7 +11,7 @@
namespace Flarum\Console; namespace Flarum\Console;
use Flarum\Console\Command\GenerateMigrationCommand; use Flarum\Database\Console\GenerateMigrationCommand;
use Flarum\Debug\Console\CacheClearCommand; use Flarum\Debug\Console\CacheClearCommand;
use Flarum\Debug\Console\InfoCommand; use Flarum\Debug\Console\InfoCommand;
use Flarum\Foundation\AbstractServer; use Flarum\Foundation\AbstractServer;

View File

@ -9,8 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Flarum\Console\Command; namespace Flarum\Database\Console;
use Flarum\Console\AbstractCommand;
use Flarum\Database\MigrationCreator; use Flarum\Database\MigrationCreator;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;

View File

@ -12,7 +12,7 @@
namespace Flarum\Debug\Console; namespace Flarum\Debug\Console;
use Flarum\Admin\Frontend as AdminWebApp; use Flarum\Admin\Frontend as AdminWebApp;
use Flarum\Console\Command\AbstractCommand; use Flarum\Console\AbstractCommand;
use Flarum\Forum\WebApp as ForumWebApp; use Flarum\Forum\WebApp as ForumWebApp;
use Illuminate\Contracts\Cache\Store; use Illuminate\Contracts\Cache\Store;

View File

@ -11,7 +11,7 @@
namespace Flarum\Debug\Console; namespace Flarum\Debug\Console;
use Flarum\Console\Command\AbstractCommand; use Flarum\Console\AbstractCommand;
use Flarum\Extension\ExtensionManager; use Flarum\Extension\ExtensionManager;
use Flarum\Foundation\Application; use Flarum\Foundation\Application;

View File

@ -12,7 +12,7 @@
namespace Flarum\Install\Console; namespace Flarum\Install\Console;
use Exception; use Exception;
use Flarum\Console\Command\AbstractCommand; use Flarum\Console\AbstractCommand;
use Flarum\Core\Group; use Flarum\Core\Group;
use Flarum\Core\Permission; use Flarum\Core\Permission;
use Flarum\Core\User; use Flarum\Core\User;

View File

@ -11,7 +11,7 @@
namespace Flarum\Update\Console; namespace Flarum\Update\Console;
use Flarum\Console\Command\AbstractCommand; use Flarum\Console\AbstractCommand;
use Illuminate\Contracts\Container\Container; use Illuminate\Contracts\Container\Container;
class MigrateCommand extends AbstractCommand class MigrateCommand extends AbstractCommand