Completed
Push — master ( c5595b...6d9a21 )
by arto
60:46 queued 50:58
created
source/Builder/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
             $parameters,
92 92
             $data
93 93
         );
94
-        $response   = $this->applyBehaviours($behaviours, $response);
94
+        $response = $this->applyBehaviours($behaviours, $response);
95 95
         //end of business logic
96 96
 
97 97
         return $response;
Please login to merge, or discard this patch.
source/Request/RequestFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             $this->getDefaultHeaderLines()
27 27
         );
28 28
 
29
-        $defaultOptions     = $this->createDefaultOptions(
29
+        $defaultOptions = $this->createDefaultOptions(
30 30
             $this->getDefaultRawOptions(),
31 31
             $this->getDefaultOptions()
32 32
         );
Please login to merge, or discard this patch.
source/Option/Authentication/SetUsernameAndPassword.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
      */
36 36
     public function value()
37 37
     {
38
-        return $this->username . ':' . $this->password;
38
+        return $this->username.':'.$this->password;
39 39
     }
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.
ThrowRuntimeExceptionIfStatusCodeIsAboveTheLimitBehaviour.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
         if ($statusCodeIsToHigh) {
38 38
             throw new RuntimeException(
39
-                'limit of status code exceeded. dumping response: ' .
39
+                'limit of status code exceeded. dumping response: '.
40 40
                 implode(', ', $response->convertIntoAnArray())
41 41
             );
42 42
         }
Please login to merge, or discard this patch.
source/Response/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
         if ($valueIsNotAvailable) {
81 81
             throw new InvalidArgumentException(
82
-                'no headline available for prefix: "' . $prefix . '"'
82
+                'no headline available for prefix: "'.$prefix.'"'
83 83
             );
84 84
         }
85 85
 
Please login to merge, or discard this patch.
source/Request/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         $isDataProvided = (!is_null($data));
220 220
 
221 221
         if ($isDataProvided) {
222
-            $dataIsNotFromTypeScalar   = (!is_scalar($data));
222
+            $dataIsNotFromTypeScalar = (!is_scalar($data));
223 223
 
224 224
             if ($dataIsNotFromTypeScalar) {
225 225
                 $data = http_build_query($data);
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
             $isParameterStringValid = (strlen($parametersAsString) > 0);
250 250
 
251 251
             if ($isParameterStringValid) {
252
-                $urlWithParameters = $url . '?' . http_build_query($parameters);
252
+                $urlWithParameters = $url.'?'.http_build_query($parameters);
253 253
             } else {
254 254
                 $urlWithParameters = $url;
255 255
             }
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
         $merge                  = $this->merge;
275 275
         $headerLines            = $merge($this->headerLines, $this->defaultHeaderLines);
276 276
         $options                = $merge($this->options, $this->defaultOptions);
277
-        $headerLines[]          = 'X-HTTP-Method-Override: ' . $method; //@see: http://tr.php.net/curl_setopt#109634
277
+        $headerLines[]          = 'X-HTTP-Method-Override: '.$method; //@see: http://tr.php.net/curl_setopt#109634
278 278
         //end of dependencies
279 279
 
280 280
         //begin of business logic
Please login to merge, or discard this patch.
source/HeaderLine/AbstractHeaderLine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      */
10 10
     public function line()
11 11
     {
12
-        return $this->prefix() . ': ' . $this->suffix();
12
+        return $this->prefix().': '.$this->suffix();
13 13
     }
14 14
 
15 15
     /**
Please login to merge, or discard this patch.
source/Dispatcher/LoggingDispatcher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
      */
29 29
     protected function log($url, array $options)
30 30
     {
31
-        echo 'url: ' . $url . PHP_EOL;
32
-        echo 'options: ' . PHP_EOL;
33
-        echo var_export($options, true) . PHP_EOL;
31
+        echo 'url: '.$url.PHP_EOL;
32
+        echo 'options: '.PHP_EOL;
33
+        echo var_export($options, true).PHP_EOL;
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
source/HeaderLine/Custom.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 __construct($identifier, $value)
23 23
     {
24
-        $this->prefix   = 'X-' . $identifier;
24
+        $this->prefix   = 'X-'.$identifier;
25 25
         $this->suffix   = $value;
26 26
     }
27 27
 
Please login to merge, or discard this patch.