1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 18:51:40 +02:00

Add header comment; PSR-2 fixes; remove seeders

This commit is contained in:
Toby Zerner
2015-08-26 16:18:58 +09:30
parent 30c2a415e0
commit 455b00e234
307 changed files with 3277 additions and 580 deletions

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Console;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Console;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Console;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Console;
use Illuminate\Contracts\Container\Container;
use Symfony\Component\Console\Input\InputOption;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Console;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Console;
use Illuminate\Console\Command;
use Illuminate\Foundation\Application;
@@ -14,7 +24,6 @@ use Symfony\Component\Console\Helper\ProgressBar;
class ImportCommand extends Command
{
/**
* The console command name.
*

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Console;
<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Console;
use Illuminate\Contracts\Container\Container;
use Symfony\Component\Console\Input\InputInterface;
@@ -41,7 +51,7 @@ class UpgradeCommand extends Command
protected function upgrade()
{
$this->container->bind('Illuminate\Database\Schema\Builder', function($container) {
$this->container->bind('Illuminate\Database\Schema\Builder', function ($container) {
return $container->make('Illuminate\Database\ConnectionInterface')->getSchemaBuilder();
});