Test Failed
Push — dev5 ( d8a4d3...9629db )
by Ron
08:46
created
app/Files.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         Log::debug('Preparing to clean a file. Current Name - '.$fileName.'. Current Path - '.$path);
20 20
         //  Remove all spaces
21 21
         $fileName = str_replace(' ', '_', $fileName);
22
-        Log::debug('Cleaned Filename. Current Name - ' . $fileName . '. Current Path - ' . $path);
22
+        Log::debug('Cleaned Filename. Current Name - '.$fileName.'. Current Path - '.$path);
23 23
 
24 24
         //  Determine if the filename already exists
25 25
         if(Storage::exists($path.DIRECTORY_SEPARATOR.$fileName))
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             //  Increase the number until one that is not in use is found
45 45
             do
46 46
             {
47
-                Log::debug('Filename ' . $fileName . ' already exists.  Appending name.');
47
+                Log::debug('Filename '.$fileName.' already exists.  Appending name.');
48 48
                 $fileName = $base.'('.++$number.')'.$extension;
49 49
             } while(Storage::exists($path.DIRECTORY_SEPARATOR.$fileName));
50 50
         }
Please login to merge, or discard this patch.
app/Http/Controllers/DashboardController.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,16 +22,16 @@  discard block
 block discarded – undo
22 22
     //  Dashboard is the Logged In User home landing page
23 23
     public function index()
24 24
     {
25
-        Log::debug('Route "' . Route::currentRouteName() . '" visited by ' . Auth::user()->full_name);
25
+        Log::debug('Route "'.Route::currentRouteName().'" visited by '.Auth::user()->full_name);
26 26
 
27 27
         //  Get Dashboard data
28
-        $custFavs    = CustomerFavs::where('user_id', Auth::user()->user_id)
29
-            ->with(array('Customers' => function($query){
28
+        $custFavs = CustomerFavs::where('user_id', Auth::user()->user_id)
29
+            ->with(array('Customers' => function($query) {
30 30
                 $query->select('cust_id', 'name');
31 31
             }))
32 32
             ->get();
33
-        $tipFavs     = TechTipFavs::where('user_id', Auth::user()->user_id)
34
-            ->with(array('TechTips' => function($query){
33
+        $tipFavs = TechTipFavs::where('user_id', Auth::user()->user_id)
34
+            ->with(array('TechTips' => function($query) {
35 35
                 $query->select('tip_id', 'subject');
36 36
             }))
37 37
             ->get();
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     //  Mark a notification as read
68 68
     public function markNotification($id)
69 69
     {
70
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name);
70
+        Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name);
71 71
 
72 72
         $notification = Auth::user()->notifications()->where('id', $id)->where('notifiable_id', Auth::user()->user_id)->first();
73 73
         if(!$notification)
@@ -85,12 +85,12 @@  discard block
 block discarded – undo
85 85
     //  Delte a user notification
86 86
     public function delNotification($id)
87 87
     {
88
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name);
88
+        Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name);
89 89
 
90 90
         $notification = Auth::user()->notifications()->where('id', $id)->where('notifiable_id', Auth::user()->user_id)->first();
91 91
         if(!$notification)
92 92
         {
93
-            Log::error('User ' . Auth::user()->full_name . ' tried to delete an invalid notification.  Notification ID: ' . $id);
93
+            Log::error('User '.Auth::user()->full_name.' tried to delete an invalid notification.  Notification ID: '.$id);
94 94
             return abort(404);
95 95
         }
96 96
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
 
27 27
         //  Get Dashboard data
28 28
         $custFavs    = CustomerFavs::where('user_id', Auth::user()->user_id)
29
-            ->with(array('Customers' => function($query){
29
+            ->with(array('Customers' => function($query) {
30 30
                 $query->select('cust_id', 'name');
31 31
             }))
32 32
             ->get();
33 33
         $tipFavs     = TechTipFavs::where('user_id', Auth::user()->user_id)
34
-            ->with(array('TechTips' => function($query){
34
+            ->with(array('TechTips' => function($query) {
35 35
                 $query->select('tip_id', 'subject');
36 36
             }))
37 37
             ->get();
Please login to merge, or discard this patch.