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

Test Setup Failed
Push — development ( 01349d...0be42b )
by José
03:31 queued 01:28
created
app/Http/Controllers/API/V1/InvitesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Http\Request;
6 6
 use DoeSangue\Http\Controllers\Controller;
7 7
 use Tymon\JWTAuth\Facades\JWTAuth;
8
-use DoeSangue\Repositories\Invites;
9 8
 use DoeSangue\Models\Invite;
10 9
 use Hash;
11 10
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/V1/InvitationRequestsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
 
22 22
         $guestExist = DB::table('invitation_requests')
23
-                      ->where('guest_email', $request['guest_email'])->first();
23
+                      ->where('guest_email', $request[ 'guest_email' ])->first();
24 24
 
25 25
         if (!$guestExist) {
26 26
             $guest = [
Please login to merge, or discard this patch.
app/GraphQL/Query/DonorsQuery.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -22,38 +22,38 @@
 block discarded – undo
22 22
   public function args()
23 23
   {
24 24
     return [
25
-      'first_name' => ['name' => 'firs_tname', 'type' => Type::string()],
26
-      'last_name' => ['name' => 'last_name', 'type' => Type::string()],
27
-      'email' => ['name' => 'email', 'type' => Type::string()],
28
-      'username' => ['name' => 'username', 'type' => Type::string()],
29
-      'phone' => ['name' => 'phone', 'type' => Type::string()],
30
-      'country_code' => ['name' => 'country_code', 'type' => Type::string()],
31
-      'bio' => ['name' => 'bio', 'type' => Type::string()],
32
-      'birthdate' => ['name' => 'birthdate', 'type' => Type::string()],
33
-      'active' => ['name' => 'active', 'type' => Type::string()],
34
-      'password' => ['name' => 'password', 'type' => Type::string()],
35
-      'blood_type_id' => ['name' => 'blood_type_id', 'type' => Type::string()],
36
-      'first' => ['name' => 'first', 'type' => Type::int()],
25
+      'first_name' => [ 'name' => 'firs_tname', 'type' => Type::string() ],
26
+      'last_name' => [ 'name' => 'last_name', 'type' => Type::string() ],
27
+      'email' => [ 'name' => 'email', 'type' => Type::string() ],
28
+      'username' => [ 'name' => 'username', 'type' => Type::string() ],
29
+      'phone' => [ 'name' => 'phone', 'type' => Type::string() ],
30
+      'country_code' => [ 'name' => 'country_code', 'type' => Type::string() ],
31
+      'bio' => [ 'name' => 'bio', 'type' => Type::string() ],
32
+      'birthdate' => [ 'name' => 'birthdate', 'type' => Type::string() ],
33
+      'active' => [ 'name' => 'active', 'type' => Type::string() ],
34
+      'password' => [ 'name' => 'password', 'type' => Type::string() ],
35
+      'blood_type_id' => [ 'name' => 'blood_type_id', 'type' => Type::string() ],
36
+      'first' => [ 'name' => 'first', 'type' => Type::int() ],
37 37
     ];
38 38
   }
39 39
 
40
-  public function resolve($root,$args)
40
+  public function resolve($root, $args)
41 41
   {
42 42
     $donor = new User;
43 43
 
44 44
     // Limit
45
-    if (isset($args['first'])) {
46
-      $donor = $donor->limit($args['first'])->latest('id');
45
+    if (isset($args[ 'first' ])) {
46
+      $donor = $donor->limit($args[ 'first' ])->latest('id');
47 47
     }
48 48
 
49
-    if (isset($args['id']))
49
+    if (isset($args[ 'id' ]))
50 50
     {
51
-      $donor = $donor->where('id', $args['id']);
51
+      $donor = $donor->where('id', $args[ 'id' ]);
52 52
     }
53 53
 
54
-    if (isset($args['email']))
54
+    if (isset($args[ 'email' ]))
55 55
     {
56
-      $donor = $donor->where('email', $args['email']);
56
+      $donor = $donor->where('email', $args[ 'email' ]);
57 57
     }
58 58
 
59 59
     return $donor->get();
Please login to merge, or discard this patch.