Commit 78a8deae authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 82c9a80c
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace App\Http\Middleware; namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware; use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request;
/** /**
* Class TrustProxies. * Class TrustProxies.
......
...@@ -31,39 +31,39 @@ return [ ...@@ -31,39 +31,39 @@ return [
'channels' => [ 'channels' => [
'stack' => [ 'stack' => [
'driver' => 'stack', 'driver' => 'stack',
'channels' => ['single'], 'channels' => ['single'],
], ],
'single' => [ 'single' => [
'driver' => 'single', 'driver' => 'single',
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),
'level' => 'debug', 'level' => 'debug',
], ],
'daily' => [ 'daily' => [
'driver' => 'daily', 'driver' => 'daily',
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),
'level' => 'debug', 'level' => 'debug',
'days' => 7, 'days' => 7,
], ],
'slack' => [ 'slack' => [
'driver' => 'slack', 'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'), 'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log', 'username' => 'Laravel Log',
'emoji' => ':boom:', 'emoji' => ':boom:',
'level' => 'critical', 'level' => 'critical',
], ],
'syslog' => [ 'syslog' => [
'driver' => 'syslog', 'driver' => 'syslog',
'level' => 'debug', 'level' => 'debug',
], ],
'errorlog' => [ 'errorlog' => [
'driver' => 'errorlog', 'driver' => 'errorlog',
'level' => 'debug', 'level' => 'debug',
], ],
], ],
......
...@@ -25,7 +25,7 @@ class LogViewerRouteTest extends BrowserKitTestCase ...@@ -25,7 +25,7 @@ class LogViewerRouteTest extends BrowserKitTestCase
->see('Logs'); ->see('Logs');
} }
/** @test **/ /* @test **/
/*public function admin_users_can_see_logviewer_single_date() /*public function admin_users_can_see_logviewer_single_date()
{ {
$this->actingAs($this->admin) $this->actingAs($this->admin)
...@@ -33,7 +33,7 @@ class LogViewerRouteTest extends BrowserKitTestCase ...@@ -33,7 +33,7 @@ class LogViewerRouteTest extends BrowserKitTestCase
->see('Log ['.date('Y-m-d').']'); ->see('Log ['.date('Y-m-d').']');
}*/ }*/
/** @test **/ /* @test **/
/*public function admin_users_can_see_logviewer_single_date_type() /*public function admin_users_can_see_logviewer_single_date_type()
{ {
$this->actingAs($this->admin) $this->actingAs($this->admin)
......
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