Passed
Push — master ( 91bfdd...3dcb82 )
by Eric
13:51 queued 08:59
created
app/helpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Spatie\Permission\Models\Permission;
4 4
 use Spatie\Permission\Models\Role;
5 5
 
6
-if (!function_exists('initialize_task_permission')) {
6
+if ( ! function_exists('initialize_task_permission')) {
7 7
     function initialize_task_permissions()
8 8
     {
9 9
         Permission::firstOrCreate(['name' => 'list-tasks']);
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     }
23 23
 }
24 24
 
25
-if (!function_exists('create_user')) {
25
+if ( ! function_exists('create_user')) {
26 26
     function create_user()
27 27
     {
28 28
         factory(User::class)->create([
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 }
35 35
 
36
-if (!function_exists('first_user_as_task_manager')) {
36
+if ( ! function_exists('first_user_as_task_manager')) {
37 37
     function first_user_as_task_manager()
38 38
     {
39 39
         User::all()->first()->assignRole('task-manager');
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.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
         if ($this->username() === 'email') {
73 73
             return $this->attemptLoginAtAuthenticatesUsers($request);
74 74
         }
75
-        if (!$this->attemptLoginAtAuthenticatesUsers($request)) {
75
+        if ( ! $this->attemptLoginAtAuthenticatesUsers($request)) {
76 76
             return $this->attempLoginUsingUsernameAsAnEmail($request);
77 77
         }
78 78
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ResetPasswordController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         // will update the password on an actual user model and persist it to the
39 39
         // database. Otherwise we will parse the error and return the response.
40 40
         $response = $this->broker()->reset(
41
-            $this->credentials($request), function ($user, $password) {
41
+            $this->credentials($request), function($user, $password) {
42 42
                 $this->resetPassword($user, $password);
43 43
             }
44 44
         );
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         //          ->hourly();
35 35
 
36 36
         if (substr(Carbon::now(), 0, 10) === $this->date) {
37
-            $schedule->call(function () {
37
+            $schedule->call(function() {
38 38
                 Mail::to('[email protected]')->send(new HelloUser());
39 39
             })->at('08:00');
40 40
         }
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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function boot()
21 21
     {
22
-        View::composer('*', function ($view) {
22
+        View::composer('*', function($view) {
23 23
             if (Auth::user()) {
24 24
                 $view->with('user', Auth::user());
25 25
             } else {
Please login to merge, or discard this patch.