Passed
Pull Request — master (#2400)
by
unknown
15:33 queued 07:23
created
app/Http/Controllers/Stripe/Subscribe.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
         try {
22 22
             $user->createAsStripeCustomer();
23
-        } catch(\Exception) {
23
+        } catch (\Exception) {
24 24
         }
25 25
 
26 26
         $plan_id = $request->input('plan_id');
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         if ($request->has('payment_method')) {
29 29
             $paymentMethod = $request->payment_method;
30 30
             $subscription = $user->newSubscription('default', $plan_id)
31
-                                 ->trialDays(14);
31
+                                    ->trialDays(14);
32 32
             if ($couponId = $request->input('coupon_id')) {
33 33
                 $subscription->withCoupon($couponId);
34 34
             }
Please login to merge, or discard this patch.
app/Http/Requests/ValidatePersonRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     private function emailUnchagedForUser()
45 45
     {
46
-        return ! optional($this->route('person'))->hasUser()
46
+        return !optional($this->route('person'))->hasUser()
47 47
             || $this->get('email') === $this->route('person')->email;
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
app/Http/Middleware/TrustProxies.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
     protected $proxies;
11 11
 
12 12
     protected $headers =
13
-        Request::HEADER_X_FORWARDED_FOR |
14
-        Request::HEADER_X_FORWARDED_HOST |
15
-        Request::HEADER_X_FORWARDED_PORT |
16
-        Request::HEADER_X_FORWARDED_PROTO |
13
+        Request::HEADER_X_FORWARDED_FOR|
14
+        Request::HEADER_X_FORWARDED_HOST|
15
+        Request::HEADER_X_FORWARDED_PORT|
16
+        Request::HEADER_X_FORWARDED_PROTO|
17 17
         Request::HEADER_X_FORWARDED_AWS_ELB;
18 18
 }
Please login to merge, or discard this patch.
app/Models/Person.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,11 +135,11 @@  discard block
 block discarded – undo
135 135
         }
136 136
 
137 137
         // add birthyear to person table ( for form builder )
138
-        if ($title === 'BIRT' && ! empty($date)) {
138
+        if ($title === 'BIRT' && !empty($date)) {
139 139
             $this->birthday = date('Y-m-d', strtotime((string) $date));
140 140
         }
141 141
         // add deathyear to person table ( for form builder )
142
-        if ($title === 'DEAT' && ! empty($date)) {
142
+        if ($title === 'DEAT' && !empty($date)) {
143 143
             $this->deathday = date('Y-m-d', strtotime((string) $date));
144 144
         }
145 145
         $this->save();
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
     public function setUpdatedBy()
168 168
     {
169
-        if (! is_dir(storage_path('app/public'))) {
169
+        if (!is_dir(storage_path('app/public'))) {
170 170
             // dir doesn't exist, make it
171 171
             \File::makeDirectory(storage_path().'/app/public', 0777, true);
172 172
 
Please login to merge, or discard this patch.
app/Models/Tenant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 class Tenant extends BaseTenant implements TenantWithDatabase
11 11
 {
12
-    use HasDatabase,HasDomains;
12
+    use HasDatabase, HasDomains;
13 13
 }
Please login to merge, or discard this patch.
app/Jobs/Geneanum/Sync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $result = $response->json();
66 66
 
67
-        if (! self::$is_testing) {
67
+        if (!self::$is_testing) {
68 68
             $has_more_result = $result['total'] > $result['page'];
69 69
             if ($has_more_result) {
70 70
                 $this->current_page++;
Please login to merge, or discard this patch.
app/Forms/Builders/NoteForm.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@
 block discarded – undo
20 20
     public function create()
21 21
     {
22 22
         return $this->form
23
- //   ->options('type_id', Type::all())
23
+    //   ->options('type_id', Type::all())
24 24
     ->create();
25 25
     }
26 26
 
27 27
     public function edit(Note $note)
28 28
     {
29 29
         return $this->form
30
-  //  ->options('type_id', Type::all())
30
+    //  ->options('type_id', Type::all())
31 31
     ->edit($note);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Forms/Builders/RepositoryForm.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function edit(Repository $repository)
28 28
     {
29 29
         return $this->form
30
-     //   ->options('type_id', Type::all())
30
+        //   ->options('type_id', Type::all())
31 31
         ->edit($repository);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Forms/Builders/FamilyForm.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         return $this->form
24 24
         ->options('husband_id', Person::all())
25 25
         ->options('wife_id', Person::all())
26
-   //     ->options('type_id', Type::all())
26
+    //     ->options('type_id', Type::all())
27 27
         ->options('child_id', Person::all())
28 28
         ->create();
29 29
     }
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
         ->options('husband_id', Person::all())
35 35
         ->options('wife_id', Person::all())
36 36
         ->append('family_id', $family->id)
37
-         ->value('child_id', $family->children)
38
-         ->options('child_id', Person::all())
37
+            ->value('child_id', $family->children)
38
+            ->options('child_id', Person::all())
39 39
         ->edit($family);
40 40
     }
41 41
 }
Please login to merge, or discard this patch.