Apply fixes from StyleCI
This commit is contained in:

committed by
RafficMohammed

parent
1eea7ff15e
commit
4e5c7123b0
@@ -8,7 +8,6 @@ use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class QueryListenProvider extends ServiceProvider
|
||||
{
|
||||
|
||||
/**
|
||||
* Bootstrap services.
|
||||
*
|
||||
|
@@ -186,7 +186,7 @@ return [
|
||||
\Yajra\DataTables\DataTablesServiceProvider::class,
|
||||
\Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class,
|
||||
Maatwebsite\Excel\ExcelServiceProvider::class,
|
||||
App\Providers\QueryListenProvider::class
|
||||
App\Providers\QueryListenProvider::class,
|
||||
|
||||
],
|
||||
/*
|
||||
|
@@ -13,7 +13,7 @@ return [
|
||||
*/
|
||||
|
||||
'enable' => env('CLOCKWORK_ENABLE', null),
|
||||
'middlewares'=>['web','auth','roles'],
|
||||
'middlewares'=> ['web', 'auth', 'roles'],
|
||||
|
||||
/*
|
||||
|------------------------------------------------------------------------------------------------------------------
|
||||
@@ -35,7 +35,7 @@ return [
|
||||
'collect_queries' => env('CLOCKWORK_CACHE_QUERIES', true),
|
||||
|
||||
// Collect values from cache queries (high performance impact with a very high number of queries)
|
||||
'collect_values' => env('CLOCKWORK_CACHE_COLLECT_VALUES', false)
|
||||
'collect_values' => env('CLOCKWORK_CACHE_COLLECT_VALUES', false),
|
||||
],
|
||||
|
||||
// Database usage stats and queries
|
||||
@@ -58,7 +58,7 @@ return [
|
||||
'slow_only' => env('CLOCKWORK_DATABASE_SLOW_ONLY', false),
|
||||
|
||||
// Detect and report duplicate queries
|
||||
'detect_duplicate_queries' => env('CLOCKWORK_DATABASE_DETECT_DUPLICATE_QUERIES', false)
|
||||
'detect_duplicate_queries' => env('CLOCKWORK_DATABASE_DETECT_DUPLICATE_QUERIES', false),
|
||||
],
|
||||
|
||||
// Dispatched events
|
||||
@@ -74,7 +74,7 @@ return [
|
||||
|
||||
// Laravel log (you can still log directly to Clockwork with laravel log disabled)
|
||||
'log' => [
|
||||
'enabled' => env('CLOCKWORK_LOG_ENABLED', true)
|
||||
'enabled' => env('CLOCKWORK_LOG_ENABLED', true),
|
||||
],
|
||||
|
||||
// Sent notifications
|
||||
@@ -85,17 +85,17 @@ return [
|
||||
// Performance metrics
|
||||
'performance' => [
|
||||
// Allow collecting of client metrics. Requires separate clockwork-browser npm package.
|
||||
'client_metrics' => env('CLOCKWORK_PERFORMANCE_CLIENT_METRICS', true)
|
||||
'client_metrics' => env('CLOCKWORK_PERFORMANCE_CLIENT_METRICS', true),
|
||||
],
|
||||
|
||||
// Dispatched queue jobs
|
||||
'queue' => [
|
||||
'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true)
|
||||
'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true),
|
||||
],
|
||||
|
||||
// Redis commands
|
||||
'redis' => [
|
||||
'enabled' => env('CLOCKWORK_REDIS_ENABLED', true)
|
||||
'enabled' => env('CLOCKWORK_REDIS_ENABLED', true),
|
||||
],
|
||||
|
||||
// Routes list
|
||||
@@ -103,7 +103,7 @@ return [
|
||||
'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false),
|
||||
|
||||
// Collect only routes from particular namespaces (only application routes by default)
|
||||
'only_namespaces' => [ 'App' ]
|
||||
'only_namespaces' => ['App'],
|
||||
],
|
||||
|
||||
// Rendered views
|
||||
@@ -115,8 +115,8 @@ return [
|
||||
|
||||
// Use Twig profiler instead of Laravel events for apps using laravel-twigbridge (more precise, but does
|
||||
// not support collecting view data)
|
||||
'use_twig_profiler' => env('CLOCKWORK_VIEWS_USE_TWIG_PROFILER', false)
|
||||
]
|
||||
'use_twig_profiler' => env('CLOCKWORK_VIEWS_USE_TWIG_PROFILER', false),
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
@@ -185,7 +185,7 @@ return [
|
||||
],
|
||||
|
||||
// Don't collect OPTIONS requests, mostly used in the CSRF pre-flight requests and are rarely of interest
|
||||
'except_preflight' => env('CLOCKWORK_REQUESTS_EXCEPT_PREFLIGHT', true)
|
||||
'except_preflight' => env('CLOCKWORK_REQUESTS_EXCEPT_PREFLIGHT', true),
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -216,7 +216,7 @@ return [
|
||||
'collect_output' => env('CLOCKWORK_ARTISAN_COLLECT_OUTPUT', false),
|
||||
|
||||
// Enable or disable collection of built-in Laravel commands
|
||||
'except_laravel_commands' => env('CLOCKWORK_ARTISAN_EXCEPT_LARAVEL_COMMANDS', true)
|
||||
'except_laravel_commands' => env('CLOCKWORK_ARTISAN_EXCEPT_LARAVEL_COMMANDS', true),
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -241,7 +241,7 @@ return [
|
||||
// List of queue jobs that should be collected, any other queue job will not be collected if not empty
|
||||
'only' => [
|
||||
// App\Jobs\BuggyJob::class
|
||||
]
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -261,7 +261,7 @@ return [
|
||||
// List of tests that should not be collected
|
||||
'except' => [
|
||||
// Tests\Unit\ExampleTest::class
|
||||
]
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -350,7 +350,7 @@ return [
|
||||
// List of class names to skip when determining caller
|
||||
'skip_classes' => [
|
||||
// App\CustomLog::class
|
||||
]
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
@@ -371,7 +371,7 @@ return [
|
||||
'serialization_blackbox' => [
|
||||
\Illuminate\Container\Container::class,
|
||||
\Illuminate\Foundation\Application::class,
|
||||
\Laravel\Lumen\Application::class
|
||||
\Laravel\Lumen\Application::class,
|
||||
],
|
||||
|
||||
/*
|
||||
@@ -412,6 +412,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'server_timing' => env('CLOCKWORK_SERVER_TIMING', 10)
|
||||
'server_timing' => env('CLOCKWORK_SERVER_TIMING', 10),
|
||||
|
||||
];
|
||||
|
@@ -65,5 +65,5 @@ return [
|
||||
'output' => [
|
||||
\BeyondCode\QueryDetector\Outputs\Alert::class,
|
||||
\BeyondCode\QueryDetector\Outputs\Log::class,
|
||||
]
|
||||
],
|
||||
];
|
||||
|
@@ -1415,7 +1415,7 @@ return [
|
||||
*/
|
||||
'error-debug' => 'Error logs and debugging',
|
||||
'debug-options' => 'Debugging options',
|
||||
'clock-work' =>'Clock work',
|
||||
'clock-work' => 'Clock work',
|
||||
'view-logs' => 'View error logs',
|
||||
'not-authorised-error-debug' => 'You are not authorised to access the URL',
|
||||
'error-debug-settings' => 'Error and debugging settings',
|
||||
|
Reference in New Issue
Block a user