Passed
Pull Request — master (#2400)
by
unknown
15:33 queued 07:23
created
app/Http/Controllers/Stripe/Subscribe.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
         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.
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/Tenant/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 
149 149
     public function storage(): Filesystem
150 150
     {
151
-        if (! $this->hasStoragePartition()) {
151
+        if (!$this->hasStoragePartition()) {
152 152
             $this->makeStoragePartition();
153 153
         }
154 154
 
Please login to merge, or discard this patch.
app/Tenant/Middleware/Multitenancy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 {
13 13
     public function handle($request, Closure $next)
14 14
     {
15
-        if (! $request->user()) {
15
+        if (!$request->user()) {
16 16
             return $next($request);
17 17
         }
18 18
 
Please login to merge, or discard this patch.
app/Traits/UniqueStringTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             // If unique is still false at this point
41 41
             // it will just repeat all the steps until
42 42
             // it has generated a random string of characters
43
-        } while (! $unique);
43
+        } while (!$unique);
44 44
 
45 45
         return $random;
46 46
     }
Please login to merge, or discard this patch.