Passed
Pull Request — master (#185)
by
unknown
04:42
created
src/Issue/IssueService.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 
224 224
         $this->log->addDebug('add comment result='.var_export($ret, true));
225 225
         $comment = $this->json_mapper->map(
226
-           json_decode($ret), new Comment()
226
+            json_decode($ret), new Comment()
227 227
         );
228 228
 
229 229
         return $comment;
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
         $data = json_encode(json_decode($ret)->transitions);
368 368
 
369 369
         $transitions = $this->json_mapper->mapArray(
370
-           json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
370
+            json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
371 371
         );
372 372
 
373 373
         return $transitions;
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
         $this->log->addDebug("getTimeTracking res=$ret\n");
485 485
 
486 486
         $issue = $this->json_mapper->map(
487
-             json_decode($ret), new Issue()
487
+                json_decode($ret), new Issue()
488 488
         );
489 489
 
490 490
         return $issue->fields->timeTracking;
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
         $ret = $this->exec($url, $data, $type);
586 586
 
587 587
         $ret_worklog = $this->json_mapper->map(
588
-           json_decode($ret), new Worklog()
588
+            json_decode($ret), new Worklog()
589 589
         );
590 590
 
591 591
         return $ret_worklog;
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
         $ret = $this->exec('priority', null);
633 633
 
634 634
         $priorities = $this->json_mapper->mapArray(
635
-             json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
635
+                json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
636 636
         );
637 637
 
638 638
         return $priorities;
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
         $this->log->addInfo('Result='.$ret);
657 657
 
658 658
         $prio = $this->json_mapper->map(
659
-             json_decode($ret), new Priority()
659
+                json_decode($ret), new Priority()
660 660
         );
661 661
 
662 662
         return $prio;
Please login to merge, or discard this patch.
src/Field/FieldService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $ret = $this->exec($this->uri, null);
21 21
 
22 22
         $fields = $this->json_mapper->mapArray(
23
-             json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field'
23
+                json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field'
24 24
         );
25 25
 
26 26
         // temp array
Please login to merge, or discard this patch.
src/JiraClient.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -210,12 +210,12 @@
 block discarded – undo
210 210
 
211 211
         // Add proxy settings to the curl.
212 212
         if ($this->getConfiguration()->getProxyServer()) {
213
-          curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer());
214
-          curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort());
213
+            curl_setopt($ch, CURLOPT_PROXY, $this->getConfiguration()->getProxyServer());
214
+            curl_setopt($ch, CURLOPT_PROXYPORT, $this->getConfiguration()->getProxyPort());
215 215
 
216
-          $username = $this->getConfiguration()->getProxyUser();
217
-          $password = $this->getConfiguration()->getProxyPassword();
218
-          curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password");
216
+            $username = $this->getConfiguration()->getProxyUser();
217
+            $password = $this->getConfiguration()->getProxyPassword();
218
+            curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username:$password");
219 219
         }
220 220
 
221 221
         $this->log->addDebug('Curl exec='.$url);
Please login to merge, or discard this patch.
src/Configuration/AbstractConfiguration.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     public function getProxyServer()
236 236
     {
237
-      return $this->proxyServer;
237
+        return $this->proxyServer;
238 238
     }
239 239
 
240 240
     /**
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      */
243 243
     public function getProxyPort()
244 244
     {
245
-      return $this->proxyPort;
245
+        return $this->proxyPort;
246 246
     }
247 247
 
248 248
     /**
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      */
251 251
     public function getProxyUser()
252 252
     {
253
-      return $this->proxyUser;
253
+        return $this->proxyUser;
254 254
     }
255 255
 
256 256
     /**
@@ -258,6 +258,6 @@  discard block
 block discarded – undo
258 258
      */
259 259
     public function getProxyPassword()
260 260
     {
261
-      return $this->proxyPassword;
261
+        return $this->proxyPassword;
262 262
     }
263 263
 }
Please login to merge, or discard this patch.