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
|
class QueryListenProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bootstrap services.
|
* Bootstrap services.
|
||||||
*
|
*
|
||||||
|
@@ -186,7 +186,7 @@ return [
|
|||||||
\Yajra\DataTables\DataTablesServiceProvider::class,
|
\Yajra\DataTables\DataTablesServiceProvider::class,
|
||||||
\Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class,
|
\Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class,
|
||||||
Maatwebsite\Excel\ExcelServiceProvider::class,
|
Maatwebsite\Excel\ExcelServiceProvider::class,
|
||||||
App\Providers\QueryListenProvider::class
|
App\Providers\QueryListenProvider::class,
|
||||||
|
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
|
@@ -35,7 +35,7 @@ return [
|
|||||||
'collect_queries' => env('CLOCKWORK_CACHE_QUERIES', true),
|
'collect_queries' => env('CLOCKWORK_CACHE_QUERIES', true),
|
||||||
|
|
||||||
// Collect values from cache queries (high performance impact with a very high number of queries)
|
// 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
|
// Database usage stats and queries
|
||||||
@@ -58,7 +58,7 @@ return [
|
|||||||
'slow_only' => env('CLOCKWORK_DATABASE_SLOW_ONLY', false),
|
'slow_only' => env('CLOCKWORK_DATABASE_SLOW_ONLY', false),
|
||||||
|
|
||||||
// Detect and report duplicate queries
|
// 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
|
// Dispatched events
|
||||||
@@ -74,7 +74,7 @@ return [
|
|||||||
|
|
||||||
// Laravel log (you can still log directly to Clockwork with laravel log disabled)
|
// Laravel log (you can still log directly to Clockwork with laravel log disabled)
|
||||||
'log' => [
|
'log' => [
|
||||||
'enabled' => env('CLOCKWORK_LOG_ENABLED', true)
|
'enabled' => env('CLOCKWORK_LOG_ENABLED', true),
|
||||||
],
|
],
|
||||||
|
|
||||||
// Sent notifications
|
// Sent notifications
|
||||||
@@ -85,17 +85,17 @@ return [
|
|||||||
// Performance metrics
|
// Performance metrics
|
||||||
'performance' => [
|
'performance' => [
|
||||||
// Allow collecting of client metrics. Requires separate clockwork-browser npm package.
|
// 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
|
// Dispatched queue jobs
|
||||||
'queue' => [
|
'queue' => [
|
||||||
'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true)
|
'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true),
|
||||||
],
|
],
|
||||||
|
|
||||||
// Redis commands
|
// Redis commands
|
||||||
'redis' => [
|
'redis' => [
|
||||||
'enabled' => env('CLOCKWORK_REDIS_ENABLED', true)
|
'enabled' => env('CLOCKWORK_REDIS_ENABLED', true),
|
||||||
],
|
],
|
||||||
|
|
||||||
// Routes list
|
// Routes list
|
||||||
@@ -103,7 +103,7 @@ return [
|
|||||||
'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false),
|
'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false),
|
||||||
|
|
||||||
// Collect only routes from particular namespaces (only application routes by default)
|
// Collect only routes from particular namespaces (only application routes by default)
|
||||||
'only_namespaces' => [ 'App' ]
|
'only_namespaces' => ['App'],
|
||||||
],
|
],
|
||||||
|
|
||||||
// Rendered views
|
// Rendered views
|
||||||
@@ -115,8 +115,8 @@ return [
|
|||||||
|
|
||||||
// Use Twig profiler instead of Laravel events for apps using laravel-twigbridge (more precise, but does
|
// Use Twig profiler instead of Laravel events for apps using laravel-twigbridge (more precise, but does
|
||||||
// not support collecting view data)
|
// 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
|
// 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),
|
'collect_output' => env('CLOCKWORK_ARTISAN_COLLECT_OUTPUT', false),
|
||||||
|
|
||||||
// Enable or disable collection of built-in Laravel commands
|
// 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
|
// List of queue jobs that should be collected, any other queue job will not be collected if not empty
|
||||||
'only' => [
|
'only' => [
|
||||||
// App\Jobs\BuggyJob::class
|
// App\Jobs\BuggyJob::class
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -261,7 +261,7 @@ return [
|
|||||||
// List of tests that should not be collected
|
// List of tests that should not be collected
|
||||||
'except' => [
|
'except' => [
|
||||||
// Tests\Unit\ExampleTest::class
|
// Tests\Unit\ExampleTest::class
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -350,7 +350,7 @@ return [
|
|||||||
// List of class names to skip when determining caller
|
// List of class names to skip when determining caller
|
||||||
'skip_classes' => [
|
'skip_classes' => [
|
||||||
// App\CustomLog::class
|
// App\CustomLog::class
|
||||||
]
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -371,7 +371,7 @@ return [
|
|||||||
'serialization_blackbox' => [
|
'serialization_blackbox' => [
|
||||||
\Illuminate\Container\Container::class,
|
\Illuminate\Container\Container::class,
|
||||||
\Illuminate\Foundation\Application::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' => [
|
'output' => [
|
||||||
\BeyondCode\QueryDetector\Outputs\Alert::class,
|
\BeyondCode\QueryDetector\Outputs\Alert::class,
|
||||||
\BeyondCode\QueryDetector\Outputs\Log::class,
|
\BeyondCode\QueryDetector\Outputs\Log::class,
|
||||||
]
|
],
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user