Passed
Push — develop ( 358903...56ac88 )
by Fu
18:40 queued 15:01
created
Traits/Criteria/ParseOrderByTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         }
67 67
 
68 68
         $this->model = $this->model->leftJoin($sortTable, $keyName, '=', $sortTable.'.id')
69
-                                   ->orderBy($sortColumn, $this->sortedBy)
70
-                                   ->addSelect($table.'.*');
69
+                                    ->orderBy($sortColumn, $this->sortedBy)
70
+                                    ->addSelect($table.'.*');
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
Enums/StatusCodeEnum.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@  discard block
 block discarded – undo
6 6
 {
7 7
     const HTTP_CONTINUE = 100;
8 8
     const HTTP_SWITCHING_PROTOCOLS = 101;
9
-    const HTTP_PROCESSING = 102;            // RFC2518
10
-    const HTTP_EARLY_HINTS = 103;           // RFC8297
9
+    const HTTP_PROCESSING = 102; // RFC2518
10
+    const HTTP_EARLY_HINTS = 103; // RFC8297
11 11
     const HTTP_OK = 200;
12 12
     const HTTP_CREATED = 201;
13 13
     const HTTP_ACCEPTED = 202;
@@ -15,9 +15,9 @@  discard block
 block discarded – undo
15 15
     const HTTP_NO_CONTENT = 204;
16 16
     const HTTP_RESET_CONTENT = 205;
17 17
     const HTTP_PARTIAL_CONTENT = 206;
18
-    const HTTP_MULTI_STATUS = 207;          // RFC4918
19
-    const HTTP_ALREADY_REPORTED = 208;      // RFC5842
20
-    const HTTP_IM_USED = 226;               // RFC3229
18
+    const HTTP_MULTI_STATUS = 207; // RFC4918
19
+    const HTTP_ALREADY_REPORTED = 208; // RFC5842
20
+    const HTTP_IM_USED = 226; // RFC3229
21 21
     const HTTP_MULTIPLE_CHOICES = 300;
22 22
     const HTTP_MOVED_PERMANENTLY = 301;
23 23
     const HTTP_FOUND = 302;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     const HTTP_USE_PROXY = 305;
27 27
     const HTTP_RESERVED = 306;
28 28
     const HTTP_TEMPORARY_REDIRECT = 307;
29
-    const HTTP_PERMANENTLY_REDIRECT = 308;  // RFC7238
29
+    const HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238
30 30
     const HTTP_BAD_REQUEST = 400;
31 31
     const HTTP_UNAUTHORIZED = 401;
32 32
     const HTTP_PAYMENT_REQUIRED = 402;
@@ -45,21 +45,21 @@  discard block
 block discarded – undo
45 45
     const HTTP_UNSUPPORTED_MEDIA_TYPE = 415;
46 46
     const HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
47 47
     const HTTP_EXPECTATION_FAILED = 417;
48
-    const HTTP_I_AM_A_TEAPOT = 418;                                               // RFC2324
49
-    const HTTP_MISDIRECTED_REQUEST = 421;                                         // RFC7540
50
-    const HTTP_UNPROCESSABLE_ENTITY = 422;                                        // RFC4918
51
-    const HTTP_LOCKED = 423;                                                      // RFC4918
52
-    const HTTP_FAILED_DEPENDENCY = 424;                                           // RFC4918
48
+    const HTTP_I_AM_A_TEAPOT = 418; // RFC2324
49
+    const HTTP_MISDIRECTED_REQUEST = 421; // RFC7540
50
+    const HTTP_UNPROCESSABLE_ENTITY = 422; // RFC4918
51
+    const HTTP_LOCKED = 423; // RFC4918
52
+    const HTTP_FAILED_DEPENDENCY = 424; // RFC4918
53 53
 
54 54
     /**
55 55
      * @deprecated
56 56
      */
57
-    const HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL = 425;   // RFC2817
58
-    const HTTP_TOO_EARLY = 425;                                                   // RFC-ietf-httpbis-replay-04
59
-    const HTTP_UPGRADE_REQUIRED = 426;                                            // RFC2817
60
-    const HTTP_PRECONDITION_REQUIRED = 428;                                       // RFC6585
61
-    const HTTP_TOO_MANY_REQUESTS = 429;                                           // RFC6585
62
-    const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431;                             // RFC6585
57
+    const HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL = 425; // RFC2817
58
+    const HTTP_TOO_EARLY = 425; // RFC-ietf-httpbis-replay-04
59
+    const HTTP_UPGRADE_REQUIRED = 426; // RFC2817
60
+    const HTTP_PRECONDITION_REQUIRED = 428; // RFC6585
61
+    const HTTP_TOO_MANY_REQUESTS = 429; // RFC6585
62
+    const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC6585
63 63
     const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451;
64 64
     const HTTP_INTERNAL_SERVER_ERROR = 500;
65 65
     const HTTP_NOT_IMPLEMENTED = 501;
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
     const HTTP_SERVICE_UNAVAILABLE = 503;
68 68
     const HTTP_GATEWAY_TIMEOUT = 504;
69 69
     const HTTP_VERSION_NOT_SUPPORTED = 505;
70
-    const HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL = 506;                        // RFC2295
71
-    const HTTP_INSUFFICIENT_STORAGE = 507;                                        // RFC4918
72
-    const HTTP_LOOP_DETECTED = 508;                                               // RFC5842
73
-    const HTTP_NOT_EXTENDED = 510;                                                // RFC2774
74
-    const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511;                             // RFC6585
70
+    const HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL = 506; // RFC2295
71
+    const HTTP_INSUFFICIENT_STORAGE = 507; // RFC4918
72
+    const HTTP_LOOP_DETECTED = 508; // RFC5842
73
+    const HTTP_NOT_EXTENDED = 510; // RFC2774
74
+    const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC6585
75 75
 
76 76
     protected const __ = [
77 77
         self::HTTP_CONTINUE                             => 'continue',
Please login to merge, or discard this patch.
Providers/CoreServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $sourcePath => $viewPath,
87 87
         ], 'views');
88 88
 
89
-        $this->loadViewsFrom(array_merge(array_map(function ($path) {
89
+        $this->loadViewsFrom(array_merge(array_map(function($path) {
90 90
             return $path.'/modules/core';
91 91
         }, Config::get('view.paths')), [$sourcePath]), 'core');
92 92
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
     public function registerObservers()
138 138
     {
139
-        Event::/* @scrutinizer ignore-call */ listen(RepositoryEventBase::class, function (
139
+        Event::/* @scrutinizer ignore-call */ listen(RepositoryEventBase::class, function(
140 140
             RepositoryEventBase $repositoryEntityCreated
141 141
         ) {
142 142
             $model = $repositoryEntityCreated->getModel();
Please login to merge, or discard this patch.
Http/Middleware/Authenticate.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
     public function handle($request, Closure $next, $guard)
22 22
     {
23
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
23
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
24 24
             /** @var GuardContract $auth */
25 25
             $auth = auth($guard);
26 26
 
Please login to merge, or discard this patch.
Http/Middleware/Check.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
     public function handle($request, Closure $next, $guard)
22 22
     {
23
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
23
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
24 24
             /** @var GuardContract $auth */
25 25
             $auth = auth($guard);
26 26
 
Please login to merge, or discard this patch.
Http/Middleware/RefreshToken.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
     public function handle($request, Closure $next, $guard)
22 22
     {
23
-        app()->singleton('tymon.jwt.auth', function () use ($guard) {
23
+        app()->singleton('tymon.jwt.auth', function() use ($guard) {
24 24
             /** @var GuardContract $auth */
25 25
             $auth = auth($guard);
26 26
 
Please login to merge, or discard this patch.