diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index d8b4cc2108..0ac741a27d 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -56,4 +56,3 @@ class EventServiceProvider extends ServiceProvider return false; } } - diff --git a/config/app.php b/config/app.php index 218760e54f..861a1bfac0 100644 --- a/config/app.php +++ b/config/app.php @@ -1,7 +1,6 @@ env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - 'host' => env('PUSHER_HOST', 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', + 'host' => env('PUSHER_HOST', 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com', 'port' => env('PUSHER_PORT', 443), 'scheme' => env('PUSHER_SCHEME', 'https'), 'encrypted' => true, diff --git a/config/cache.php b/config/cache.php index 33bb29546e..daf5e68be5 100644 --- a/config/cache.php +++ b/config/cache.php @@ -105,6 +105,6 @@ return [ | */ - 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache_'), ]; diff --git a/config/filesystems.php b/config/filesystems.php index bbb0db4cb3..cadf75aeff 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -44,7 +44,7 @@ return [ 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), - 'url' => env('APP_URL').'/storage', + 'url' => env('APP_URL') . '/storage', 'visibility' => 'public', 'throw' => false, ], diff --git a/config/logging.php b/config/logging.php index d41b7169cf..926ecafe61 100644 --- a/config/logging.php +++ b/config/logging.php @@ -99,7 +99,7 @@ return [ 'handler_with' => [ 'host' => env('PAPERTRAIL_URL'), 'port' => env('PAPERTRAIL_PORT'), - 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://' . env('PAPERTRAIL_URL') . ':' . env('PAPERTRAIL_PORT'), ], ], diff --git a/config/session.php b/config/session.php index f09696cca4..d986c08170 100644 --- a/config/session.php +++ b/config/session.php @@ -128,7 +128,7 @@ return [ 'cookie' => env( 'SESSION_COOKIE', - Str::slug(env('APP_NAME', 'laravel'), '_').'_session' + Str::slug(env('APP_NAME', 'laravel'), '_') . '_session' ), /* diff --git a/database/factories/AlertTransportFactory.php b/database/factories/AlertTransportFactory.php index 1f63a17d83..279ba5ced0 100644 --- a/database/factories/AlertTransportFactory.php +++ b/database/factories/AlertTransportFactory.php @@ -2,7 +2,6 @@ namespace Database\Factories; -use App\Models\AlertTransport; use Illuminate\Database\Eloquent\Factories\Factory; use LibreNMS\Alert\Transport; diff --git a/routes/web.php b/routes/web.php index 1aee2ff62f..a9f65a8b82 100644 --- a/routes/web.php +++ b/routes/web.php @@ -28,7 +28,7 @@ Route::get('graph/{path?}', 'GraphController') ->middleware(['web', \App\Http\Middleware\AuthenticateGraph::class])->name('graph'); // WebUI -Route::middleware('auth')->group([ 'guard' => 'auth'], function () { +Route::middleware('auth')->group(['guard' => 'auth'], function () { // pages Route::post('alert/{alert}/ack', [\App\Http\Controllers\AlertController::class, 'ack'])->name('alert.ack');