Completed
Push — master ( 653267...7d11aa )
by KwangSeob
03:10
created
src/Issue/IssueService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                     $ret, new \ArrayObject(), '\JiraRestApi\Issue\Attachment'
161 161
                 );
162 162
 
163
-                foreach($tmpArr as $t) {
163
+                foreach ($tmpArr as $t) {
164 164
                     array_push($attachArr, $t);
165 165
                 }
166 166
             } elseif (is_object($ret)) {
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
         $metas = json_decode($ret, true);
787 787
 
788 788
         // extract only custom field(startWith customefield_XXXXX)
789
-        $cfs = array_filter($metas['fields'], function ($key) {
789
+        $cfs = array_filter($metas['fields'], function($key) {
790 790
             $pos = strpos($key, 'customfield');
791 791
 
792 792
             return $pos !== false;
Please login to merge, or discard this patch.
src/JiraClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -509,7 +509,7 @@
 block discarded – undo
509 509
      */
510 510
     public function download($url, $outDir, $file)
511 511
     {
512
-        $file = fopen($outDir .DIRECTORY_SEPARATOR.$file, 'w');
512
+        $file = fopen($outDir.DIRECTORY_SEPARATOR.$file, 'w');
513 513
 
514 514
         $ch = curl_init();
515 515
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
Please login to merge, or discard this patch.
src/Attachment/AttachmentService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         }
42 42
 
43 43
         // download contents
44
-        if (! file_exists($outDir)) {
44
+        if (!file_exists($outDir)) {
45 45
             mkdir($outDir);
46 46
         }
47 47
 
Please login to merge, or discard this patch.