Passed
Push — master ( 2d838a...6c2413 )
by Jeremy
27:11 queued 26:43
created
src/config/laravel-logger.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
     | Laravel Logger Authentication Listeners Enable/Disable
35 35
     |--------------------------------------------------------------------------
36 36
     */
37
-    'logAllAuthEvents'      => false,   // May cause a lot of duplication.
38
-    'logAuthAttempts'       => false,   // Successful and Failed -  May cause a lot of duplication.
39
-    'logFailedAuthAttempts' => true,    // Failed Logins
40
-    'logLockOut'            => true,    // Account Lockout
41
-    'logPasswordReset'      => true,    // Password Resets
42
-    'logSuccessfulLogin'    => true,    // Successful Login
43
-    'logSuccessfulLogout'   => true,    // Successful Logout
37
+    'logAllAuthEvents'      => false, // May cause a lot of duplication.
38
+    'logAuthAttempts'       => false, // Successful and Failed -  May cause a lot of duplication.
39
+    'logFailedAuthAttempts' => true, // Failed Logins
40
+    'logLockOut'            => true, // Account Lockout
41
+    'logPasswordReset'      => true, // Password Resets
42
+    'logSuccessfulLogin'    => true, // Successful Login
43
+    'logSuccessfulLogout'   => true, // Successful Logout
44 44
 
45 45
 
46 46
     /*
Please login to merge, or discard this patch.
src/app/Http/Controllers/LaravelLoggerController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     private function mapAdditionalDetails($collectionItems)
47 47
     {
48
-        $collectionItems->map(function ($collectionItem) {
48
+        $collectionItems->map(function($collectionItem) {
49 49
             $eventTime = Carbon::parse($collectionItem->updated_at);
50 50
             $collectionItem['timePassed'] = $eventTime->diffForHumans();
51 51
             $collectionItem['userAgentDetails'] = UserAgentDetails::details($collectionItem->useragent);
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     public function searchActivityLog($query, $requeset)
284 284
     {
285 285
         if (in_array('description', explode(',', config('LaravelLogger.searchFields'))) && $requeset->get('description')) {
286
-            $query->where('description','like', '%'.$requeset->get('description').'%');
286
+            $query->where('description', 'like', '%'.$requeset->get('description').'%');
287 287
         }
288 288
 
289 289
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             $query->where('methodType', '=', $requeset->get('method'));
296 296
         }
297 297
 
298
-        if (in_array('route', explode(',', config('LaravelLogger.searchFields')))&& $requeset->get('route')) {
298
+        if (in_array('route', explode(',', config('LaravelLogger.searchFields'))) && $requeset->get('route')) {
299 299
             $query->where('route', 'like', '%'.$requeset->get('route').'%');
300 300
         }
301 301
 
Please login to merge, or discard this patch.