mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Applied latest styleci changes
This commit is contained in:
parent
1eed8d6325
commit
de5322288c
@ -34,7 +34,7 @@ return [
|
|||||||
'collect_queries' => true,
|
'collect_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' => false
|
'collect_values' => false,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Database usage stats and queries
|
// Database usage stats and queries
|
||||||
@ -57,7 +57,7 @@ return [
|
|||||||
'slow_only' => false,
|
'slow_only' => false,
|
||||||
|
|
||||||
// Detect and report duplicate (N+1) queries
|
// Detect and report duplicate (N+1) queries
|
||||||
'detect_duplicate_queries' => false
|
'detect_duplicate_queries' => false,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Dispatched events
|
// Dispatched events
|
||||||
@ -73,7 +73,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' => true
|
'enabled' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Sent notifications
|
// Sent notifications
|
||||||
@ -84,17 +84,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' => true
|
'client_metrics' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Dispatched queue jobs
|
// Dispatched queue jobs
|
||||||
'queue' => [
|
'queue' => [
|
||||||
'enabled' => true
|
'enabled' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Redis commands
|
// Redis commands
|
||||||
'redis' => [
|
'redis' => [
|
||||||
'enabled' => true
|
'enabled' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
// Routes list
|
// Routes list
|
||||||
@ -102,7 +102,7 @@ return [
|
|||||||
'enabled' => false,
|
'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
|
||||||
@ -114,8 +114,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' => false
|
'use_twig_profiler' => false,
|
||||||
]
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -184,7 +184,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' => true
|
'except_preflight' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -215,7 +215,7 @@ return [
|
|||||||
'collect_output' => false,
|
'collect_output' => false,
|
||||||
|
|
||||||
// Enable or disable collection of built-in Laravel commands
|
// Enable or disable collection of built-in Laravel commands
|
||||||
'except_laravel_commands' => true
|
'except_laravel_commands' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -240,7 +240,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
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -260,7 +260,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
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -349,7 +349,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
|
||||||
]
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -410,6 +410,6 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'server_timing' => 10
|
'server_timing' => 10,
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@ -15,6 +15,7 @@ class RedirectIfAuthenticated
|
|||||||
* @param \Illuminate\Http\Request $request
|
* @param \Illuminate\Http\Request $request
|
||||||
* @param \Closure $next
|
* @param \Closure $next
|
||||||
* @param string|null ...$guards
|
* @param string|null ...$guards
|
||||||
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function handle(Request $request, Closure $next, ...$guards)
|
public function handle(Request $request, Closure $next, ...$guards)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Contracts\Http\Kernel;
|
|
||||||
use BookStack\Http\Request;
|
use BookStack\Http\Request;
|
||||||
|
use Illuminate\Contracts\Http\Kernel;
|
||||||
|
|
||||||
define('LARAVEL_START', microtime(true));
|
define('LARAVEL_START', microtime(true));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user