Passed
Push — master ( bb4126...494ab2 )
by Koen
18:04
created
app/Notifications/User/Email/VerifyUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function via(): array
23 23
     {
24
-        return ['mail'];
24
+        return [ 'mail' ];
25 25
     }
26 26
 
27 27
     public function toMail(User $user): MailMessage
Please login to merge, or discard this patch.
app/Notifications/User/Email/CantUpdate.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 via(): array
14 14
     {
15
-        return ['mail'];
15
+        return [ 'mail' ];
16 16
     }
17 17
 
18 18
     public function toMail(User $user): MailMessage
Please login to merge, or discard this patch.
app/Notifications/User/PasswordReset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function via(): array
25 25
     {
26
-        return ['mail'];
26
+        return [ 'mail' ];
27 27
     }
28 28
 
29 29
     public function toMail(User $user): MailMessage
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             ->subject(Lang::get('Reset Password Notification'))
37 37
             ->line(Lang::get('You are receiving this email because we received a password reset request for your account.'))
38 38
             ->action(Lang::get('Reset Password'), $url)
39
-            ->line(Lang::get('This password reset link will expire in :count minutes.', ['count' => config('auth.passwords.user-invitations.expire')]))
39
+            ->line(Lang::get('This password reset link will expire in :count minutes.', [ 'count' => config('auth.passwords.user-invitations.expire') ]))
40 40
             ->line(Lang::get('If you did not request a password reset, no further action is required.'));
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
app/SPA/UrlGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         $this->baseUrl = $baseUrl;
17 17
     }
18 18
 
19
-    public function to(string $path, array $query = []): string
19
+    public function to(string $path, array $query = [ ]): string
20 20
     {
21 21
         $query = array_filter($query);
22 22
 
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     public function register()
40 40
     {
41
-        $this->app->singleton(ResponseFactoryContract::class, static function (Container $container) {
41
+        $this->app->singleton(ResponseFactoryContract::class, static function(Container $container) {
42 42
             return $container->make(ResponseFactory::class);
43 43
         });
44 44
     }
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $policies = [];
21
+    protected $policies = [ ];
22 22
 
23 23
     /**
24 24
      * Register any authentication / authorization services.
@@ -41,13 +41,13 @@  discard block
 block discarded – undo
41 41
         /** @var AuthManager $authManager */
42 42
         $authManager = $this->app->make(AuthManager::class);
43 43
 
44
-        $authManager->viaRequest('spa', static function (Request $request): User {
44
+        $authManager->viaRequest('spa', static function(Request $request): User {
45 45
             /** @var UserToken $userToken */
46 46
             $userToken = UserToken::query()
47 47
                 ->with('user')
48 48
                 ->where('token', $request->bearerToken())
49 49
                 ->whereNotNull('token')
50
-                ->firstOr(static function () {
50
+                ->firstOr(static function() {
51 51
                     throw new AuthenticationException();
52 52
                 });
53 53
 
Please login to merge, or discard this patch.
app/Http/Requests/Api/Profile/Email/UpdateRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function rules(): array
12 12
     {
13 13
         return [
14
-            'email' => ['required', 'string', 'email'],
14
+            'email' => [ 'required', 'string', 'email' ],
15 15
         ];
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
app/Http/Requests/Api/User/IndexRequest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
     public function rules(): array
12 12
     {
13 13
         return [
14
-            'name'     => ['sometimes', 'string', 'max:191'],
15
-            'email'    => ['sometimes', 'string', 'max:191'],
16
-            'sort_by'  => ['sometimes', 'string', 'in:name,email'],
17
-            'desc'     => ['sometimes', 'boolean'],
18
-            'per_page' => ['sometimes', 'integer', 'min:1', 'max:100'],
14
+            'name'     => [ 'sometimes', 'string', 'max:191' ],
15
+            'email'    => [ 'sometimes', 'string', 'max:191' ],
16
+            'sort_by'  => [ 'sometimes', 'string', 'in:name,email' ],
17
+            'desc'     => [ 'sometimes', 'boolean' ],
18
+            'per_page' => [ 'sometimes', 'integer', 'min:1', 'max:100' ],
19 19
         ];
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
app/Http/Requests/Api/Invitation/AcceptRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
     public function rules(): array
10 10
     {
11 11
         return [
12
-            'token'    => ['required', 'string'],
13
-            'email'    => ['required', 'string', 'email'],
14
-            'password' => ['required', 'string', 'min:10', 'max:191', 'confirmed'],
12
+            'token'    => [ 'required', 'string' ],
13
+            'email'    => [ 'required', 'string', 'email' ],
14
+            'password' => [ 'required', 'string', 'min:10', 'max:191', 'confirmed' ],
15 15
         ];
16 16
     }
17 17
 }
Please login to merge, or discard this patch.