Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — development ( 7d5c92...5a02f8 )
by José
04:48
created
app/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     protected function unauthenticated($request, AuthenticationException $exception)
58 58
     {
59 59
         if ($request->expectsJson()) {
60
-            return response()->json(['error' => 'Unauthenticated.'], 401);
60
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
61 61
         }
62 62
 
63 63
         return redirect()->guest('login');
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 7 patches
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +6 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers\Auth;
4 4
 
5
-<<<<<<< HEAD
5
+<< << <<< HEAD
6 6
 use DoeSangue\Models\User;
7 7
 ||||||| merged common ancestors
8 8
 use DoeSangue\User;
@@ -76,12 +76,8 @@  discard block
 block discarded – undo
76 76
     {
77 77
         return User::create(
78 78
             [
79
-            'name' => $data[ 'name' ],
80
-            'phone' => $data[ 'phone' ],
81
-            'email' => $data[ 'email' ],
82
-            'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
79
+            'name' => $data[  'name' ],
80
+            'phone' => $data[  'phone' ],
81
+            'email' => $data[  'email' ],
82
+            'username' => $data[  'username' ],
83
+            'password' => bcrypt($data[ 
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,8 +80,4 @@
 block discarded – undo
80 80
             'phone' => $data[ 'phone' ],
81 81
             'email' => $data[ 'email' ],
82 82
             'username' => $data[ 'username' ],
83
-            'password' => bcrypt($data[ 'password' ]),
84
-            ]
85
-        );
86
-    }
87
-}
83
+            'password' => bcrypt($data[
88 84
\ No newline at end of file
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 7 patches
Doc Comments   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -16 removed lines patch added patch discarded remove patch
@@ -11,23 +11,9 @@
 block discarded – undo
11 11
      */
12 12
 public function __construct()
13 13
     {
14
-<<<<<<< HEAD
14
+<< << <<< HEAD
15 15
         //  $this->middleware('auth');
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,18 +16,4 @@
 block discarded – undo
16 16
 ||||||| merged common ancestors
17 17
         $this->middleware('auth');
18 18
 =======
19
-        //  $this->middleware('auth');
20
-
21
->>>>>>> 4c37c57
22
-    }
23
-
24
-    /**
25
-     * Show the application dashboard.
26
-     *
27
-     * @return \Illuminate\Http\Response
28
-     */
29
-    public function index()
30
-    {
31
-        return view('home');
32
-    }
33
-}
19
+        //  $this->middleware
34 20
\ No newline at end of file
Please login to merge, or discard this patch.
app/Http/Controllers/UsersController.php 7 patches
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers;
4 4
 
5
-<<<<<<< HEAD
5
+<< << <<< HEAD
6 6
 use DoeSangue\Http\Requests\UserProfileRequest;
7 7
 use DoeSangue\Models\User;
8 8
 ||||||| merged common ancestors
@@ -46,6 +46,4 @@  discard block
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,6 +46,4 @@
 block discarded – undo
46 46
         $user->password = bcrypt($request->password);
47 47
         $user->save();
48 48
 
49
-      return redirect()->route('users.profile', $user->id);
50
-    }
51
-}
49
+      return redirect()->route('users.profile', $user->id
52 50
\ No newline at end of file
Please login to merge, or discard this patch.
app/Models/BloodType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,5 +18,5 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $filliable = ['description', 'code'];
21
+    protected $filliable = [ 'description', 'code' ];
22 22
 }
Please login to merge, or discard this patch.
app/Http/Controllers/DonorController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         );
48 48
 
49 49
         $donor = new Donor();
50
-        $donor->user_id => $request['user_id'];
51
-        $donor->blood_type_id => $request['blood_type_id'];
50
+        $donor->user_id => $request[ 'user_id' ];
51
+        $donor->blood_type_id => $request[ 'blood_type_id' ];
52 52
         $donor->save();
53 53
 
54 54
         return redirect()->route('user.profile');
Please login to merge, or discard this patch.