mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#14517)
Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
|
||||
namespace App\Logging\Reporting\Middleware;
|
||||
|
||||
use Spatie\FlareClient\Report;
|
||||
use LibreNMS\Util\Git;
|
||||
use Spatie\FlareClient\Report;
|
||||
|
||||
class AddGitInformation
|
||||
{
|
||||
|
@@ -25,8 +25,8 @@
|
||||
|
||||
namespace App\Logging\Reporting\Middleware;
|
||||
|
||||
use Spatie\FlareClient\Report;
|
||||
use LibreNMS\Util\Version;
|
||||
use Spatie\FlareClient\Report;
|
||||
|
||||
class SetGroups
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -56,4 +56,3 @@ class EventServiceProvider extends ServiceProvider
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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_'),
|
||||
|
||||
];
|
||||
|
@@ -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,
|
||||
],
|
||||
|
@@ -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'),
|
||||
],
|
||||
],
|
||||
|
||||
|
@@ -136,7 +136,7 @@ return [
|
||||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
|
||||
),
|
||||
|
||||
/*
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\AlertTransport;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use LibreNMS\Alert\Transport;
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user