Apply fixes from StyleCI (#14517)

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Jellyfrog
2022-10-25 18:02:43 +02:00
parent 808a9c0f7e
commit b1f97a7275
11 changed files with 9 additions and 12 deletions

View File

@@ -25,8 +25,8 @@
namespace App\Logging\Reporting\Middleware;
use Spatie\FlareClient\Report;
use LibreNMS\Util\Git;
use Spatie\FlareClient\Report;
class AddGitInformation
{

View File

@@ -25,8 +25,8 @@
namespace App\Logging\Reporting\Middleware;
use Spatie\FlareClient\Report;
use LibreNMS\Util\Version;
use Spatie\FlareClient\Report;
class SetGroups
{

View File

@@ -31,12 +31,12 @@ use App\Logging\Reporting\Middleware\SetGroups;
use App\Logging\Reporting\Middleware\SetInstanceId;
use App\Models\Callback;
use ErrorException;
use Spatie\FlareClient\Report;
use Spatie\LaravelIgnition\Facades\Flare;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str;
use LibreNMS\Config;
use LibreNMS\Util\Git;
use Spatie\FlareClient\Report;
use Spatie\LaravelIgnition\Facades\Flare;
class ErrorReportingProvider extends \Spatie\LaravelIgnition\IgnitionServiceProvider
{

View File

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

View File

@@ -44,7 +44,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

@@ -113,6 +113,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

@@ -52,7 +52,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

@@ -107,7 +107,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

@@ -136,7 +136,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

@@ -1,6 +1,5 @@
<?php
use Illuminate\Support\Facades\Route;
/*