Test Setup Failed
Pull Request — master (#107)
by Glenn
07:11
created
app/Http/Controllers/SickController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use App\Http\Requests;
7 6
 use App\Http\Controllers\Controller;
8
-use App\Sick;
9 7
 use App\User;
10 8
 
11 9
 class SickController extends Controller
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             $mailbox = env('MAIL_USERNAME');
70 70
 
71 71
             \Session::flash('message', "Information has been saved to the database");
72
-            \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) {
72
+            \Mail::send('emails.new_sick', ['data' => $data], function($m) use ($mailbox, $subject) {
73 73
                 $m->from($mailbox);
74 74
                 $m->to("[email protected]")->subject("$subject");
75 75
             });
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group(['namespace' => $this->namespace], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use App\Http\Requests;
7 6
 use App\Http\Controllers\Controller;
8 7
 use App\User;
9 8
 use App\Teams;
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        Bouncer::seeder(function () {
17
+        Bouncer::seeder(function() {
18 18
             Bouncer::allow('Agent');
19 19
 
20 20
             Bouncer::allow('Administrator')
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class SettingsController extends Controller
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             'm.d.Y' => '12.23.2010',
39 39
         );
40 40
 
41
-        $data['time_formats'] = array (
41
+        $data['time_formats'] = array(
42 42
             'H:i' => '23:00',
43 43
             'h:ia' => '11:00pm',
44 44
             'h:iA' => '11:00PM',
Please login to merge, or discard this patch.
app/Http/Controllers/BreakController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class SettingsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/TaskController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class SettingsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/DepartmentsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Http\Requests;
7 7
 use App\Departments;
8 8
 use App\Department_members;
9
-use Mail;
10 9
 use App\User;
11 10
 
12 11
 class DepartmentsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $injectionData = ['user' => $user, 'password' => $mail_password];
74 74
 
75
-        Mail::send('emails.new_user', $injectionData, function ($m) use ($user, $mailbox) {
75
+        Mail::send('emails.new_user', $injectionData, function($m) use ($user, $mailbox) {
76 76
             $m->from($mailbox);
77 77
             $m->to($user->email)->subject('Your user credentials!');
78 78
         });
Please login to merge, or discard this patch.