Completed
Push — master ( 6c9abf...89bda5 )
by arto
08:24
created
Bazzline/Component/Curl/ResponseBehaviour/ResponseBehaviourInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-08
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-08
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
ThrowRuntimeExceptionIfStatusCodeIsAboveTheLimitBehaviour.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-09
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-09
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/HeadLine/HeadLineInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-08
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-08
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/Builder.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-08
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-08
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/BuilderFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-09
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-09
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/Dispatcher.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-09
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-09
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
Bazzline/Component/Curl/ResponseBehaviour/ConvertJsonToArrayBehaviour.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-09
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-09
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/Option/OptionInterface.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author stev leibelt <[email protected]>
4
- * @since 2015-12-08
5
- */
3
+     * @author stev leibelt <[email protected]>
4
+     * @since 2015-12-08
5
+     */
6 6
 namespace Net\Bazzline\Component\Curl\ResponseBehaviour;
7 7
 
8 8
 use Exception;
Please login to merge, or discard this patch.
source/Net/Bazzline/Component/Curl/Request.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: stev leibelt <[email protected]>
4
- * @since: 2015-12-09
5
- */
3
+     * @author: stev leibelt <[email protected]>
4
+     * @since: 2015-12-09
5
+     */
6 6
 
7 7
 namespace Net\Bazzline\Component\Curl;
8 8
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         $isDataProvided         = (!is_null($data));
219 219
         $options                = $merge($this->options, $this->defaultOptions);
220 220
 
221
-        $headerLines[]  = 'X-HTTP-Method-Override: ' . $method; //@see: http://tr.php.net/curl_setopt#109634
221
+        $headerLines[] = 'X-HTTP-Method-Override: ' . $method; //@see: http://tr.php.net/curl_setopt#109634
222 222
 
223 223
         $options[CURLOPT_CUSTOMREQUEST]     = $method; //@see: http://tr.php.net/curl_setopt#109634
224 224
         $options[CURLOPT_HEADER]            = 1;
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         $options[CURLOPT_RETURNTRANSFER]    = true;
228 228
 
229 229
         if ($isDataProvided) {
230
-            $dataIsNotFromTypeScalar   = (!is_scalar($data));
230
+            $dataIsNotFromTypeScalar = (!is_scalar($data));
231 231
 
232 232
             if ($dataIsNotFromTypeScalar) {
233 233
                 $data = http_build_query($data);
Please login to merge, or discard this patch.