Passed
Push — master ( 9491b2...270076 )
by Adam
11:03
created
app/Listeners/SendSuccessfulLoginEmail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             return false;
80 80
         }
81 81
 
82
-        return ! $this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser);
82
+        return !$this->stream->hasLoggedBefore($event->user->id, $event->ip, $event->browser);
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,6 @@
 block discarded – undo
74 74
      */
75 75
     protected function commands()
76 76
     {
77
-        $this->load(__DIR__.'/Commands');
77
+        $this->load(__DIR__ . '/Commands');
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
app/Services/Stream/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
         $this->events->dispatch(new StreamSaving($activity));
60 60
 
61
-        $result =  $this->stream->create($activity->toArray());
61
+        $result = $this->stream->create($activity->toArray());
62 62
 
63 63
         $this->events->dispatch(new StreamSaved($result));
64 64
 
Please login to merge, or discard this patch.
app/Http/Resources/FirmResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $data = array_except(
28 28
             $this->resource->toArray(),
29
-            ['slug', 'user_id', 'headline', 'employees', 'founded', 'country_id', 'vat_id', 'deleted_at', 'is_private', 'benefits','gallery']
29
+            ['slug', 'user_id', 'headline', 'employees', 'founded', 'country_id', 'vat_id', 'deleted_at', 'is_private', 'benefits', 'gallery']
30 30
         );
31 31
 
32 32
         return array_merge($data, [
Please login to merge, or discard this patch.
app/Repositories/Eloquent/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         return $this
119 119
             ->model
120 120
             ->where('github', $url)
121
-            ->orWhere(fn ($query) => $query->where('provider', 'Github')->where('provider_id', $githubId))
121
+            ->orWhere(fn($query) => $query->where('provider', 'Github')->where('provider_id', $githubId))
122 122
             ->update(['is_sponsor' => $flag]);
123 123
     }
124 124
 
Please login to merge, or discard this patch.
app/Rules/MinWords.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             return true;
28 28
         }
29 29
 
30
-        return count(array_filter(preg_split('/\s+/', $value), fn ($word) => strlen($word) > 1)) >= $this->minWords;
30
+        return count(array_filter(preg_split('/\s+/', $value), fn($word) => strlen($word) > 1)) >= $this->minWords;
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
app/Models/Scopes/UserRelationsScope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         static $excluded;
31 31
 
32 32
         if (auth()->check() && $excluded === null) {
33
-            $excluded = array_pluck(array_where($this->userDefined->followers(auth()->user()), fn ($item) => $item['is_blocked'] === true), 'user_id');
33
+            $excluded = array_pluck(array_where($this->userDefined->followers(auth()->user()), fn($item) => $item['is_blocked'] === true), 'user_id');
34 34
         }
35 35
 
36 36
         return $excluded;
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             }
148 148
 
149 149
             return $this->filter(function (User $user) use ($others) {
150
-                return ! $others->contains('id', $user->id);
150
+                return !$others->contains('id', $user->id);
151 151
             });
152 152
         });
153 153
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             /** @var \Coyote\Post|\Coyote\Pm|\Coyote\Microblog|\Coyote\Firm $parent */
210 210
             $parent = $this->getParent();
211 211
 
212
-            $assets = collect($assets)->map(fn ($attributes) => Asset::find($attributes['id']))->keyBy('id');
212
+            $assets = collect($assets)->map(fn($attributes) => Asset::find($attributes['id']))->keyBy('id');
213 213
 
214 214
             $ids = $assets->pluck('id')->toArray();
215 215
             $current = $parent->assets->keyBy('id');
Please login to merge, or discard this patch.
app/Http/Resources/AssetsResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
                 'thumbnail' => $this->when(
20 20
                     // thumbnail only for images
21 21
                     $this->resource->isImage() && class_exists($filter, true),
22
-                    fn () => $url->thumbnail(new $filter)
22
+                    fn() => $url->thumbnail(new $filter)
23 23
                 )
24 24
             ]
25 25
         );
Please login to merge, or discard this patch.