Unverified Commit 3ef50870 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #41 from viralsolani/analysis-qrQ3o1

Apply fixes from StyleCI
parents 18da374e 51cfd460
...@@ -9,13 +9,13 @@ return [ ...@@ -9,13 +9,13 @@ return [
| |
| Debugbar is enabled by default, when debug is set to true in app.php. | Debugbar is enabled by default, when debug is set to true in app.php.
| You can override the value by setting enable to true or false instead of null. | You can override the value by setting enable to true or false instead of null.
| |
| You can provide an array of URI's that must be ignored (eg. 'api/*') | You can provide an array of URI's that must be ignored (eg. 'api/*')
| |
*/ */
'enabled' => env('DEBUGBAR_ENABLED', null), 'enabled' => env('DEBUGBAR_ENABLED', null),
'except' => [ 'except' => [
// //
], ],
...@@ -36,7 +36,7 @@ return [ ...@@ -36,7 +36,7 @@ return [
'driver' => 'file', // redis, file, pdo, custom 'driver' => 'file', // redis, file, pdo, custom
'path' => storage_path('debugbar'), // For file driver 'path' => storage_path('debugbar'), // For file driver
'connection' => null, // Leave null for default connection (Redis/PDO) 'connection' => null, // Leave null for default connection (Redis/PDO)
'provider' => '' // Instance of StorageInterface for custom driver 'provider' => '', // Instance of StorageInterface for custom driver
], ],
/* /*
...@@ -66,7 +66,7 @@ return [ ...@@ -66,7 +66,7 @@ return [
| Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools. | Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools.
*/ */
'capture_ajax' => true, 'capture_ajax' => true,
'add_ajax_timing' => false, 'add_ajax_timing' => false,
/* /*
...@@ -79,7 +79,7 @@ return [ ...@@ -79,7 +79,7 @@ return [
| |
*/ */
'error_handler' => false, 'error_handler' => false,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Clockwork integration | Clockwork integration
...@@ -141,26 +141,26 @@ return [ ...@@ -141,26 +141,26 @@ return [
'with_params' => true, // Render SQL with the parameters substituted 'with_params' => true, // Render SQL with the parameters substituted
'backtrace' => true, // Use a backtrace to find the origin of the query in your files. 'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'timeline' => false, // Add the queries to the timeline 'timeline' => false, // Add the queries to the timeline
'explain' => [ // Show EXPLAIN output on queries 'explain' => [ // Show EXPLAIN output on queries
'enabled' => false, 'enabled' => false,
'types' => ['SELECT'], // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+ 'types' => ['SELECT'], // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+
], ],
'hints' => true, // Show hints for common mistakes 'hints' => true, // Show hints for common mistakes
], ],
'mail' => [ 'mail' => [
'full_log' => false 'full_log' => false,
], ],
'views' => [ 'views' => [
'data' => false, //Note: Can slow down the application, because the data can be quite large.. 'data' => false, //Note: Can slow down the application, because the data can be quite large..
], ],
'route' => [ 'route' => [
'label' => true // show complete route on bar 'label' => true, // show complete route on bar
], ],
'logs' => [ 'logs' => [
'file' => null 'file' => null,
], ],
'cache' => [ 'cache' => [
'values' => true // collect cache values 'values' => true, // collect cache values
], ],
], ],
......
...@@ -22,7 +22,6 @@ return [ ...@@ -22,7 +22,6 @@ return [
'view_template_path' => base_path('vendor/xethron/laravel-4-generators/src/Way/Generators/templates/view.txt'), 'view_template_path' => base_path('vendor/xethron/laravel-4-generators/src/Way/Generators/templates/view.txt'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Where the generated files will be saved... | Where the generated files will be saved...
...@@ -37,6 +36,6 @@ return [ ...@@ -37,6 +36,6 @@ return [
'seed_target_path' => base_path('database/seeds'), 'seed_target_path' => base_path('database/seeds'),
'view_target_path' => base_path('resources/views') 'view_target_path' => base_path('resources/views'),
]; ];
...@@ -32,13 +32,13 @@ return [ ...@@ -32,13 +32,13 @@ return [
* Or, to trust all proxies that connect * Or, to trust all proxies that connect
* directly to your server, uncomment this: * directly to your server, uncomment this:
*/ */
# 'proxies' => '*', // 'proxies' => '*',
/* /*
* Or, to trust ALL proxies, including those that * Or, to trust ALL proxies, including those that
* are in a chain of forwarding, uncomment this: * are in a chain of forwarding, uncomment this:
*/ */
# 'proxies' => '**', // 'proxies' => '**',
/* /*
* Default Header Names * Default Header Names
...@@ -56,16 +56,16 @@ return [ ...@@ -56,16 +56,16 @@ return [
* for them to be considered untrusted instead. Ex: * for them to be considered untrusted instead. Ex:
* *
* Illuminate\Http\Request::HEADER_CLIENT_HOST => null, * Illuminate\Http\Request::HEADER_CLIENT_HOST => null,
* *
* WARNING: If you're using AWS Elastic Load Balancing or Heroku, * WARNING: If you're using AWS Elastic Load Balancing or Heroku,
* the FORWARDED and X_FORWARDED_HOST headers should be set to null * the FORWARDED and X_FORWARDED_HOST headers should be set to null
* as they are currently unsupported there. * as they are currently unsupported there.
*/ */
'headers' => [ 'headers' => [
(defined('Illuminate\Http\Request::HEADER_FORWARDED') ? Illuminate\Http\Request::HEADER_FORWARDED : 'forwarded') => 'FORWARDED', (defined('Illuminate\Http\Request::HEADER_FORWARDED') ? Illuminate\Http\Request::HEADER_FORWARDED : 'forwarded') => 'FORWARDED',
Illuminate\Http\Request::HEADER_CLIENT_IP => 'X_FORWARDED_FOR', Illuminate\Http\Request::HEADER_CLIENT_IP => 'X_FORWARDED_FOR',
Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST', Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST',
Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO', Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO',
Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT', Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT',
] ],
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment