Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot 2022-10-25 10:57:44 +00:00
parent aa51e9df29
commit 478993b5e9
No known key found for this signature in database
GPG Key ID: EEAFB12C3E6BC249
9 changed files with 6 additions and 9 deletions

View File

@ -56,4 +56,3 @@ class EventServiceProvider extends ServiceProvider
return false;
}
}

View File

@ -1,7 +1,6 @@
<?php
use Illuminate\Support\Facades\Facade;
use Illuminate\Support\Facades\Route;
/*
| !!!! DO NOT EDIT THIS FILE !!!!

View File

@ -36,7 +36,7 @@ return [
'secret' => 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,

View File

@ -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_'),
];

View File

@ -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,
],

View File

@ -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'),
],
],

View File

@ -128,7 +128,7 @@ return [
'cookie' => env(
'SESSION_COOKIE',
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
),
/*

View File

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Models\AlertTransport;
use Illuminate\Database\Eloquent\Factories\Factory;
use LibreNMS\Alert\Transport;

View File

@ -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');