1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 14:34:30 +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 dae8e617ae
commit 0b8aa5c124
307 changed files with 3277 additions and 580 deletions

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Psr\Http\Message\ServerRequestInterface as Request;
use Zend\Diactoros\Response\EmptyResponse;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Flarum\Api\Client;
use Flarum\Assets\AssetManager;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Flarum\Api\Client;
use Flarum\Assets\AssetManager;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Flarum\Support\ServiceProvider;
use Illuminate\Events\Dispatcher;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Flarum\Support\ServiceProvider;
use Flarum\Core\Settings\SettingsRepository;
@@ -79,7 +89,7 @@ class ExtensionManager
{
$migrationDir = base_path('../extensions/' . $extension . '/migrations');
$this->app->bind('Illuminate\Database\Schema\Builder', function($container) {
$this->app->bind('Illuminate\Database\Schema\Builder', function ($container) {
return $container->make('Illuminate\Database\ConnectionInterface')->getSchemaBuilder();
});

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
class ExtensionsServiceProvider extends ServiceProvider
{

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Psr\Http\Message\ServerRequestInterface as Request;
use Zend\Diactoros\Response;

View File

@@ -1,4 +1,14 @@
<?php namespace Flarum\Support;
<?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\Support;
use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;