Completed
Branch master (ce13db)
by Rolf
06:23
created
src/Guzzle/Service/Command/LocationVisitor/Response/HeaderVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         Response $response,
17 17
         Parameter $param,
18 18
         &$value,
19
-        $context =  null
19
+        $context = null
20 20
     ) {
21 21
         if ($param->getType() == 'object' && $param->getAdditionalProperties() instanceof Parameter) {
22 22
             $this->processPrefixedHeaders($response, $param, $value);
Please login to merge, or discard this patch.
Service/Command/LocationVisitor/Response/ResponseVisitorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,6 @@
 block discarded – undo
41 41
         Response $response,
42 42
         Parameter $param,
43 43
         &$value,
44
-        $context =  null
44
+        $context = null
45 45
     );
46 46
 }
Please login to merge, or discard this patch.
src/Guzzle/Service/Command/LocationVisitor/Response/BodyVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
         Response $response,
17 17
         Parameter $param,
18 18
         &$value,
19
-        $context =  null
19
+        $context = null
20 20
     ) {
21 21
         $value[$param->getName()] = $param->filter($response->getBody());
22 22
     }
Please login to merge, or discard this patch.
src/Guzzle/Service/Builder/ServiceBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
             return $this->clients[$name];
124 124
         }
125 125
 
126
-        $builder =& $this->builderConfig[$name];
126
+        $builder = & $this->builderConfig[$name];
127 127
 
128 128
         // Convert references to the actual client
129 129
         foreach ($builder['params'] as &$v) {
Please login to merge, or discard this patch.
src/Guzzle/Service/Resource/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $output .= "This data can be retrieved from the model object using the get() method of the model "
51 51
             . "(e.g. \$model->get(\$key)) or accessing the model like an associative array (e.g. \$model['key']).\n\n";
52 52
         $lines = array_slice(explode("\n", trim(print_r($this->toArray(), true))), 2, -1);
53
-        $output .=  implode("\n", $lines);
53
+        $output .= implode("\n", $lines);
54 54
 
55 55
         if ($this->structure) {
56 56
             $output .= "\n\nModel structure\n---------------\n\n";
Please login to merge, or discard this patch.
src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $batch = BatchBuilder::factory()
69 69
             ->createBatchesWith(new BatchSizeDivisor($perBatch))
70
-            ->transferWith(new BatchClosureTransfer(function (array $batch) use ($that, $callback, &$batches, $it) {
70
+            ->transferWith(new BatchClosureTransfer(function(array $batch) use ($that, $callback, &$batches, $it) {
71 71
                 $batches++;
72 72
                 $that->dispatch('iterator_batch.before_batch', array('iterator' => $it, 'batch' => $batch));
73 73
                 call_user_func_array($callback, array($it, $batch));
Please login to merge, or discard this patch.
src/Guzzle/Service/Description/ServiceDescription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         if (!empty($this->models)) {
87 87
             $result['models'] = array();
88 88
             foreach ($this->models as $id => $model) {
89
-                $result['models'][$id] = $model instanceof Parameter ? $model->toArray(): $model;
89
+                $result['models'][$id] = $model instanceof Parameter ? $model->toArray() : $model;
90 90
             }
91 91
         }
92 92
 
Please login to merge, or discard this patch.
src/Guzzle/Service/Description/ServiceDescriptionLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     protected function resolveExtension($name, array &$op, array &$operations)
44 44
     {
45 45
         $resolved = array();
46
-        $original = empty($op['parameters']) ? false: $op['parameters'];
46
+        $original = empty($op['parameters']) ? false : $op['parameters'];
47 47
         $hasClass = !empty($op['class']);
48 48
         foreach ((array) $op['extends'] as $extendedCommand) {
49 49
             if (empty($operations[$extendedCommand])) {
Please login to merge, or discard this patch.
src/Guzzle/Log/MessageFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
         return preg_replace_callback(
91 91
             '/{\s*([A-Za-z_\-\.0-9]+)\s*}/',
92
-            function (array $matches) use ($request, $response, $handle, &$cache) {
92
+            function(array $matches) use ($request, $response, $handle, &$cache) {
93 93
 
94 94
                 if (array_key_exists($matches[1], $cache)) {
95 95
                     return $cache[$matches[1]];
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                         $result = $handle ? $handle->getErrorNo() : '';
161 161
                         break;
162 162
                     case 'curl_stderr':
163
-                        $result =  $handle ? $handle->getStderr() : '';
163
+                        $result = $handle ? $handle->getStderr() : '';
164 164
                         break;
165 165
                     default:
166 166
                         if (strpos($matches[1], 'req_header_') === 0) {
Please login to merge, or discard this patch.