From f86dbe87c3ca4dc82448d13a9a1fcf2c34e7870f Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 16 Jun 2018 23:24:23 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Http/Middleware/TrustProxies.php | 2 +- config/hashing.php | 4 ++-- config/logging.php | 28 ++++++++++++++-------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 3fc2ff6d..9fcdfb79 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -11,8 +11,8 @@ namespace CachetHQ\Cachet\Http\Middleware; -use Illuminate\Http\Request; use Fideloper\Proxy\TrustProxies as Middleware; +use Illuminate\Http\Request; /** * This is the trust proxies middleware class. diff --git a/config/hashing.php b/config/hashing.php index 9d2f6594..30adba29 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -53,9 +53,9 @@ return [ */ 'argon' => [ - 'memory' => 1024, + 'memory' => 1024, 'threads' => 2, - 'time' => 2, + 'time' => 2, ], ]; diff --git a/config/logging.php b/config/logging.php index 6d58afda..872b8d53 100644 --- a/config/logging.php +++ b/config/logging.php @@ -43,47 +43,47 @@ return [ 'channels' => [ 'stack' => [ - 'driver' => 'stack', + 'driver' => 'stack', 'channels' => ['single'], ], 'single' => [ 'driver' => 'single', - 'path' => storage_path('logs/laravel.log'), - 'level' => 'debug', + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', ], 'daily' => [ 'driver' => 'daily', - 'path' => storage_path('logs/laravel.log'), - 'level' => 'debug', - 'days' => 7, + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', + 'days' => 7, ], 'slack' => [ - 'driver' => 'slack', - 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'Laravel Log', - 'emoji' => ':boom:', - 'level' => 'critical', + 'emoji' => ':boom:', + 'level' => 'critical', ], 'stderr' => [ - 'driver' => 'monolog', + 'driver' => 'monolog', 'handler' => StreamHandler::class, - 'with' => [ + 'with' => [ 'stream' => 'php://stderr', ], ], 'syslog' => [ 'driver' => 'syslog', - 'level' => 'debug', + 'level' => 'debug', ], 'errorlog' => [ 'driver' => 'errorlog', - 'level' => 'debug', + 'level' => 'debug', ], ],