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
Pull Request — development (#68)
by José
06:06
created
app/Support/Http/Controllers/SearchController.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
     /**
13 13
      * Search for donors or campaigns
14 14
      *
15
-     * @param  string $query
16 15
      * @return void
17 16
      */
18 17
     public function search(Request $request)
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
     public function search(Request $request)
19 19
     {
20 20
         $campaigns = Campaign::where('title', 'like', '%'.$request->input('query').'%')
21
-                               ->orWhere('description', 'like', '%'.$request->input('query').'%')
22
-                               ->orderBy($request->input('orderBy'), $request->input('order'))
23
-                               ->get();
21
+                                ->orWhere('description', 'like', '%'.$request->input('query').'%')
22
+                                ->orderBy($request->input('orderBy'), $request->input('order'))
23
+                                ->get();
24 24
 
25 25
         if (count($campaigns) > 0) {
26 26
             return response()->json(
Please login to merge, or discard this patch.
Units/Authentication/Http/Controllers/Auth/InvitationRequestsController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * Create an invite when user requests from API.
14 14
      *
15
-     * @param  UserInvitationRequest $request
15
+     * @param  Request $request
16 16
      * @return \Illuminate\Http\JsonResponse
17 17
      */
18 18
     public function createInvitation(Request $request)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,8 @@
 block discarded – undo
5 5
 use Illuminate\Http\Request;
6 6
 use GiveBlood\Support\Http\Controllers\Controller;
7 7
 use GiveBlood\Support\Http\Controllers\UserInvitationRequest;
8
-use Hash, DB;
8
+use Hash,
9
+    DB;
9 10
 
10 11
 class InvitationRequestsController extends Controller
11 12
 {
Please login to merge, or discard this 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
 
21 21
         $guestExist = DB::table('invitation_requests')
22
-            ->where('guest_email', $request['guest_email'])->first();
22
+            ->where('guest_email', $request[ 'guest_email' ])->first();
23 23
 
24 24
         if (!$guestExist) {
25 25
             $guest = [
Please login to merge, or discard this patch.
app/Traits/UuidTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         parent::boot();
14 14
 
15 15
         static::creating(
16
-            function ($model) {
16
+            function($model) {
17 17
                 $model->{$model->getKeyName()} = Uuid::uuid4()->toString();
18 18
             }
19 19
         );
Please login to merge, or discard this patch.
app/Support/Http/Routing/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Router constructor
22 22
      */
23
-    public function __construct($options = [])
23
+    public function __construct($options = [ ])
24 24
     {
25 25
         $this->options = $options;
26 26
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     public function register()
34 34
     {
35 35
         $this->router->group(
36
-            $this->options, function () {
36
+            $this->options, function() {
37 37
                 $this->routes();
38 38
             }
39 39
         );
Please login to merge, or discard this patch.
app/Support/Database/ModelFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function define()
40 40
     {
41 41
         $this->factory->define(
42
-            $this->model, function () {
42
+            $this->model, function() {
43 43
                 return $this->fields();
44 44
             }
45 45
         );
Please login to merge, or discard this patch.
app/Console/ConsoleRoute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Artisan::command('inspire', function () {
16
+Artisan::command('inspire', function() {
17 17
     $this->comment(Inspiring::quote());
18 18
 })->describe('Display an inspiring quote');
Please login to merge, or discard this patch.
app/Modules/Blood/Database/Seeders/BloodTypeSeeder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
- namespace GiveBlood\Modules\Blood\Database\Seeders;
3
+  namespace GiveBlood\Modules\Blood\Database\Seeders;
4 4
 
5 5
 use Illuminate\Database\Seeder;
6 6
 
Please login to merge, or discard this patch.
app/Modules/Blood/Database/Factories/BloodTypeFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
         return [
25 25
         'id' => $this->faker->uuid,
26
-        'description' => $this->faker->randomElement(['O Positive', 'O Negative', 'A', 'A Negative']),
27
-        'code' => $this->faker->randomElement(['O+', 'O-', 'A', 'A-']),
26
+        'description' => $this->faker->randomElement([ 'O Positive', 'O Negative', 'A', 'A Negative' ]),
27
+        'code' => $this->faker->randomElement([ 'O+', 'O-', 'A', 'A-' ]),
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
app/Modules/Blood/Database/Migrations/CreateBloodTypesTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function up()
29 29
     {
30 30
         $this->schema->create(
31
-            'blood_types', function (Blueprint $table) {
31
+            'blood_types', function(Blueprint $table) {
32 32
                 $table->uuid('id')->unique()->primary();
33 33
                 $table->string('description', 20);
34 34
                 $table->string('code', 10);
Please login to merge, or discard this patch.