Apply fixes from StyleCI

This commit is contained in:
James Brooks
2019-01-26 10:38:21 +00:00
committed by StyleCI Bot
parent 654e72ceb5
commit ffe9c99f9c
4 changed files with 6 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ namespace CachetHQ\Cachet\Foundation\Providers;
use CachetHQ\Cachet\Http\Middleware\Acceptable;
use CachetHQ\Cachet\Http\Middleware\Authenticate;
use CachetHQ\Cachet\Http\Middleware\Timezone;
use CachetHQ\Cachet\Http\Middleware\VerifyCsrfToken;
use CachetHQ\Cachet\Http\Routes\ApiSystemRoutes;
use CachetHQ\Cachet\Http\Routes\AuthRoutes;
use CachetHQ\Cachet\Http\Routes\Setup\ApiRoutes as ApiSetupRoutes;
@@ -26,7 +27,6 @@ use Illuminate\Routing\Middleware\SubstituteBindings;
use Illuminate\Routing\Router;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\View\Middleware\ShareErrorsFromSession;
use CachetHQ\Cachet\Http\Middleware\VerifyCsrfToken;
/**
* This is the route service provider.

View File

@@ -12,6 +12,7 @@
namespace CachetHQ\Cachet\Http;
use AltThree\Throttle\ThrottlingMiddleware;
use Barryvdh\Cors\HandleCors;
use CachetHQ\Cachet\Http\Middleware\Admin;
use CachetHQ\Cachet\Http\Middleware\ApiAuthentication;
use CachetHQ\Cachet\Http\Middleware\Authenticate;
@@ -24,7 +25,6 @@ use CachetHQ\Cachet\Http\Middleware\TrustProxies;
use Illuminate\Auth\Middleware\Authorize;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode;
use Barryvdh\Cors\HandleCors;
class Kernel extends HttpKernel
{

View File

@@ -28,6 +28,6 @@ class VerifyCsrfToken extends Middleware
* @var array
*/
protected $except = [
'/api/*'
'/api/*',
];
}
}