Test Setup Failed
Push — development ( fd3ceb...d2414c )
by Glenn
05:37
created
app/Http/Controllers/DepartmentsController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $manager->userid = $request->get('department_manager');
51 51
         $manager->save();
52 52
 
53
-         \Session::flash('message', "New department has been saved");
53
+            \Session::flash('message', "New department has been saved");
54 54
         return redirect('staff/departments');
55 55
     }
56 56
 
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
         $mail_password = $request->get('password');
60 60
         \Session::flash('message', "New employee has been added to the application");
61 61
         \Mail::send('emails.new_user', ['user' => $user, 'password' => $mail_password], function ($m) use ($user, $mailbox) {
62
-                  $m->from($mailbox);
63
-                  $m->to($user->email)->subject('Your user credentials!');
64
-      });
62
+                    $m->from($mailbox);
63
+                    $m->to($user->email)->subject('Your user credentials!');
64
+        });
65 65
         return redirect('staff');
66 66
     }
67 67
 
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
         {
106 106
         \Session::flash('message', 'New user role has been created');
107 107
         return redirect('staff/policies');
108
-      }else {
108
+        }else {
109 109
         return "Mislukt";
110
-      }
110
+        }
111 111
     }
112 112
 
113 113
     public function editpolicies($id)
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     public function save_permission(Request $request)
162 162
     {
163 163
         // $permission_name = $request->get('permission_name');
164
-     $permission = Permission::create(['name' => $request->get('permission_name')]);
164
+        $permission = Permission::create(['name' => $request->get('permission_name')]);
165 165
         \Session::flash('message', "The new permission has been added to the database");
166 166
         return redirect('staff/permissions');
167 167
     }
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
     protected function schedule(Schedule $schedule)
26 26
     {
27 27
         $schedule->command('inspire')
28
-                 ->hourly();
28
+                    ->hourly();
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
app/Http/Controllers/SickController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
             \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) {
73 73
                 $m->from($mailbox);
74 74
                 /** Send confirmation mail to all managers in the department from the user.
75
-                *$m->to("")->subject("$subject");
76
-                */
75
+                 *$m->to("")->subject("$subject");
76
+                 */
77 77
             });
78 78
 
79 79
             return redirect('sick');
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     'Y.m.d' => '2010.12.23',
28 28
     'd.m.Y' => '23.12.2010',
29 29
     'm.d.Y' => '12.23.2010',
30
-  );
30
+    );
31 31
 
32 32
     $time_formats = array (
33 33
     'H:i' => '23:00',
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
     'h:iA' => '11:00PM',
36 36
     'h:i a' => '11:00 pm',
37 37
     'h:i A' => '11:00 PM',
38
-  );
38
+    );
39 39
 
40
-     return view('settings/basic', ['date_formats' => $date_formats, 'time_formats' => $time_formats]);
40
+        return view('settings/basic', ['date_formats' => $date_formats, 'time_formats' => $time_formats]);
41 41
     }
42 42
 
43 43
     /**
Please login to merge, or discard this patch.