Passed
Push — develop ( b51090...e14bce )
by nguereza
02:11
created
src/Stream.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
                                 : (!empty($meta['seekable'])
137 137
                                     ? $meta['seekable']
138 138
                                     : false
139
-                                   );
139
+                                    );
140 140
 
141 141
         if (isset($options['writable']) && is_bool($options['writable'])) {
142 142
             $this->writable = $options['writable'];
Please login to merge, or discard this patch.
src/UploadedFile.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-    * Create uploaded file from global variable $_FILES
128
-    * @return array<mixed>
129
-    */
127
+     * Create uploaded file from global variable $_FILES
128
+     * @return array<mixed>
129
+     */
130 130
     public static function createFromGlobals(): array
131 131
     {
132 132
         return static::normalize($_FILES);
Please login to merge, or discard this patch.
src/Message.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,10 +198,10 @@
 block discarded – undo
198 198
 
199 199
         if ($size === null) {
200 200
             $that = $that->withHeader('Transfer-Encoding', 'chunked')
201
-                         ->withoutHeader('Content-Length');
201
+                            ->withoutHeader('Content-Length');
202 202
         } else {
203 203
             $that = $that->withHeader('Content-Length', (string) $size)
204
-                         ->withoutHeader('Transfer-Encoding');
204
+                            ->withoutHeader('Transfer-Encoding');
205 205
         }
206 206
 
207 207
         return $that;
Please login to merge, or discard this patch.
src/Uri.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
             }
509 509
             return (string) preg_replace_callback(
510 510
                 '/(?:[^a-zA-Z0-9\-._~!$&\'()*+,;=:@\/%]++|%(?![a-fA-F0-9]{2}))/',
511
-                function ($matches) {
511
+                function($matches) {
512 512
                     return rawurlencode($matches[0]);
513 513
                 },
514 514
                 $path
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
             }
539 539
             return (string) preg_replace_callback(
540 540
                 '/(?:[^a-zA-Z0-9\-._~!$&\'()*+,;=:@\/?%]++|%(?![a-fA-F0-9]{2}))/',
541
-                function ($matches) {
541
+                function($matches) {
542 542
                     return rawurlencode($matches[0]);
543 543
                 },
544 544
                 $query
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
         if ($fragment !== '') {
559 559
             return (string) preg_replace_callback(
560 560
                 '/(?:[^a-zA-Z0-9\-._~!$&\'()*+,;=:@\/?%]++|%(?![a-fA-F0-9]{2}))/',
561
-                function ($matches) {
561
+                function($matches) {
562 562
                     return rawurlencode($matches[0]);
563 563
                 },
564 564
                 $fragment
Please login to merge, or discard this patch.
src/Client/HttpClient.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,8 +270,8 @@
 block discarded – undo
270 270
      */
271 271
     public function contentType(string $contentType): self
272 272
     {
273
-       // If this is a multipart request and boundary was not defined,
274
-       // we define a boundary as this is required for multipart requests.
273
+        // If this is a multipart request and boundary was not defined,
274
+        // we define a boundary as this is required for multipart requests.
275 275
         if (stripos($contentType, 'multipart/') !== false) {
276 276
             if (stripos($contentType, 'boundary') === false) {
277 277
                 $contentType .= sprintf('; boundary="%s"', uniqid((string) time()));
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@
 block discarded – undo
518 518
     protected function send($ch): HttpResponse
519 519
     {
520 520
         $responseHeaders = [];
521
-        curl_setopt($ch, CURLOPT_HEADERFUNCTION, function ($curl, $header) use (&$responseHeaders) {
521
+        curl_setopt($ch, CURLOPT_HEADERFUNCTION, function($curl, $header) use (&$responseHeaders) {
522 522
             if (strpos($header, ':') !== false) {
523 523
                 list($name, $value) = explode(':', $header);
524 524
                 if (array_key_exists($name, $responseHeaders) === false) {
Please login to merge, or discard this patch.