Passed
Pull Request — master (#264)
by Christian
02:03
created
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/Issue/IssueService.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $this->log->debug('add comment result='.var_export($ret, true));
228 228
         $comment = $this->json_mapper->map(
229
-           json_decode($ret), new Comment()
229
+            json_decode($ret), new Comment()
230 230
         );
231 231
 
232 232
         return $comment;
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
         $data = json_encode(json_decode($ret)->transitions);
399 399
 
400 400
         $transitions = $this->json_mapper->mapArray(
401
-           json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
401
+            json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
402 402
         );
403 403
 
404 404
         return $transitions;
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $this->log->debug("getTimeTracking res=$ret\n");
516 516
 
517 517
         $issue = $this->json_mapper->map(
518
-             json_decode($ret), new Issue()
518
+                json_decode($ret), new Issue()
519 519
         );
520 520
 
521 521
         return $issue->fields->timeTracking;
@@ -616,7 +616,7 @@  discard block
 block discarded – undo
616 616
         $ret = $this->exec($url, $data, $type);
617 617
 
618 618
         $ret_worklog = $this->json_mapper->map(
619
-           json_decode($ret), new Worklog()
619
+            json_decode($ret), new Worklog()
620 620
         );
621 621
 
622 622
         return $ret_worklog;
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
         $ret = $this->exec('priority', null);
664 664
 
665 665
         $priorities = $this->json_mapper->mapArray(
666
-             json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
666
+                json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
667 667
         );
668 668
 
669 669
         return $priorities;
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
         $this->log->info('Result='.$ret);
688 688
 
689 689
         $prio = $this->json_mapper->map(
690
-             json_decode($ret), new Priority()
690
+                json_decode($ret), new Priority()
691 691
         );
692 692
 
693 693
         return $prio;
Please login to merge, or discard this patch.