Test Failed
Push — dev5 ( 1b6b88...9ca56e )
by Ron
09:04
created
app/Http/Controllers/FileLinks/GuestLinksController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     //  Show the link details for the user
26 26
     public function show($id)
27 27
     {
28
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by IP Address ' . \Request::ip());
28
+        Log::debug('Route '.Route::currentRouteName().' visited by IP Address '.\Request::ip());
29 29
 
30 30
         $linkObj = new GetFileLinkDetails;
31 31
         $linkID = $linkObj->getLinkID($id);
Please login to merge, or discard this patch.
app/Http/Controllers/FileLinks/LinkFilesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     //  Show the files attached to a link
44 44
     public function show($id)
45 45
     {
46
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name);
46
+        Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name);
47 47
 
48 48
         return (new GetFileLinkFiles)->execute($id, true);
49 49
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     //  Delete a file attached to a link
63 63
     public function destroy($id)
64 64
     {
65
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name);
65
+        Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name);
66 66
 
67 67
         (new SaveFileLinkFile)->deleteLinkFile($id);
68 68
 
Please login to merge, or discard this patch.
app/Http/Controllers/FileLinks/FileLinksController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name);
46 46
 
47 47
         //  If the user is trying to access the links of another user, they must have the proper permissions permissions
48
-        if ($id != 0)
48
+        if($id != 0)
49 49
         {
50 50
             $this->authorize('hasAccess', 'manage_users');
51 51
         }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     //  Update the instructions attached to the link
133 133
     public function submitInstructions(UpdateFileLinkInstructionsRequest $request, $linkID)
134 134
     {
135
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name . '. Submitted Data - ', $request->toArray());
135
+        Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name.'. Submitted Data - ', $request->toArray());
136 136
 
137 137
         (new SetFileLinkDetails)->setLinkInstructions($request, $linkID);
138 138
 
Please login to merge, or discard this patch.
app/Domains/Users/GetUserStats.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function getUserCustomerFavs()
25 25
     {
26
-        $custFavs    = CustomerFavs::where('user_id', $this->userID)
27
-            ->with(array('Customers' => function($query){
26
+        $custFavs = CustomerFavs::where('user_id', $this->userID)
27
+            ->with(array('Customers' => function($query) {
28 28
                 $query->select('cust_id', 'name');
29 29
             }))
30 30
             ->get();
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function getUserTechTipFavs()
36 36
     {
37
-        $tipFavs     = TechTipFavs::where('user_id', $this->userID)
38
-            ->with(array('TechTips' => function($query){
37
+        $tipFavs = TechTipFavs::where('user_id', $this->userID)
38
+            ->with(array('TechTips' => function($query) {
39 39
                 $query->select('tip_id', 'subject');
40 40
             }))
41 41
             ->get();
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function getUserTotalLinks()
53 53
     {
54
-        $totalLinks  = FileLinks::where('user_id', Auth::user()->user_id)->count();
54
+        $totalLinks = FileLinks::where('user_id', Auth::user()->user_id)->count();
55 55
         return $totalLinks;
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public function getUserCustomerFavs()
25 25
     {
26 26
         $custFavs    = CustomerFavs::where('user_id', $this->userID)
27
-            ->with(array('Customers' => function($query){
27
+            ->with(array('Customers' => function($query) {
28 28
                 $query->select('cust_id', 'name');
29 29
             }))
30 30
             ->get();
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function getUserTechTipFavs()
36 36
     {
37 37
         $tipFavs     = TechTipFavs::where('user_id', $this->userID)
38
-            ->with(array('TechTips' => function($query){
38
+            ->with(array('TechTips' => function($query) {
39 39
                 $query->select('tip_id', 'subject');
40 40
             }))
41 41
             ->get();
Please login to merge, or discard this patch.
app/Domains/TechTips/GetTechTipStats.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 {
11 11
     public function getTipsInLastDays($numDays = 30)
12 12
     {
13
-        $tips  = TechTips::where('created_at', '>', Carbon::now()->subDays($numDays))->count();
13
+        $tips = TechTips::where('created_at', '>', Carbon::now()->subDays($numDays))->count();
14 14
         return $tips;
15 15
     }
16 16
 
17 17
     public function getTotalTechTipCount()
18 18
     {
19
-        $tipsTotal   = TechTips::all()->count();
19
+        $tipsTotal = TechTips::all()->count();
20 20
         return $tipsTotal;
21 21
     }
22 22
 }
Please login to merge, or discard this patch.