Completed
Push — master ( 6bb318...e93d89 )
by Julián
03:28 queued 01:12
created
src/Option/OptionFactory.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
     {
315 315
         switch ($option) {
316 316
             case CURLOPT_HTTP_VERSION:
317
-                $optionClass->setCallback(function ($value) {
317
+                $optionClass->setCallback(function($value) {
318 318
                     $value = number_format((float) $value, 1, '.', '');
319 319
 
320 320
                     if (!preg_match('/^1.(0|1)$/', $value)) {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
                 break;
327 327
 
328 328
             case CURLOPT_COOKIE:
329
-                $optionClass->setCallback(function ($value) {
329
+                $optionClass->setCallback(function($value) {
330 330
                     if (is_array($value)) {
331 331
                         $value = http_build_query($value, '', '; ');
332 332
                     }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Transport/AbstractTransport.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         $this->options = array_filter(
109 109
             $this->options,
110
-            function ($transportOption) use ($option) {
110
+            function($transportOption) use ($option) {
111 111
                 /** @var \Jgut\Spiral\Option $transportOption */
112 112
                 return !($transportOption->getOption() === $option);
113 113
             }
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
tests/Spiral/ClientTest.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 <!doctype html>
86 86
 <html>
87 87
 </html>
88
-RESP;
88
+resp;
89 89
         $transferInfo = [
90 90
             'header_size' => 452,
91 91
             'http_code' => 200,
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
tests/Spiral/Option/OptionCallbackTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $option = new OptionCallback(CURLOPT_HTTPAUTH);
39 39
 
40
-        $option->setCallback(function ($value) {
40
+        $option->setCallback(function($value) {
41 41
             return $value . ' aaa';
42 42
         });
43 43
         $option->setValue('bbb');
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Transport/Curl.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Exception/OptionException.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Option.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Option/Option.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.
src/Option/OptionBool.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
8
+     */
9 9
 
10 10
 namespace Jgut\Spiral\Transport;
11 11
 
Please login to merge, or discard this patch.