Passed
Push — master ( 9e7fa6...c5d7ac )
by KwangSeob
03:35
created
src/Project/Project.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 
93 93
     public function jsonSerialize()
94 94
     {
95
-        return array_filter(get_object_vars($this), function ($var) {
95
+        return array_filter(get_object_vars($this), function($var) {
96 96
             return !is_null($var);
97 97
         });
98 98
     }
Please login to merge, or discard this patch.
src/Issue/IssueField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 
141 141
     public function jsonSerialize()
142 142
     {
143
-        $vars = array_filter(get_object_vars($this), function ($var) {
143
+        $vars = array_filter(get_object_vars($this), function($var) {
144 144
             return !is_null($var);
145 145
         });
146 146
 
Please login to merge, or discard this patch.
src/Issue/IssueService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -783,7 +783,7 @@
 block discarded – undo
783 783
         $metas = json_decode($ret, true);
784 784
 
785 785
         // extract only custom field(startWith customefield_XXXXX)
786
-        $cfs = array_filter($metas['fields'], function ($key) {
786
+        $cfs = array_filter($metas['fields'], function($key) {
787 787
             $pos = strpos($key, 'customfield');
788 788
 
789 789
             return $pos !== false;
Please login to merge, or discard this patch.
src/JiraRestApiServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function register()
29 29
     {
30
-        $this->app->bind(ConfigurationInterface::class, function () {
30
+        $this->app->bind(ConfigurationInterface::class, function() {
31 31
             return new DotEnvConfiguration(base_path());
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
src/Board/Board.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 
93 93
     public function jsonSerialize()
94 94
     {
95
-        return array_filter(get_object_vars($this), function ($var) {
95
+        return array_filter(get_object_vars($this), function($var) {
96 96
             return !is_null($var);
97 97
         });
98 98
     }
Please login to merge, or discard this patch.
src/Board/Location.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
     public function jsonSerialize()
81 81
     {
82
-        return array_filter(get_object_vars($this), function ($var) {
82
+        return array_filter(get_object_vars($this), function($var) {
83 83
             return !is_null($var);
84 84
         });
85 85
     }
Please login to merge, or discard this patch.
src/Dumper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public static function dd($x)
27 27
     {
28
-        array_map(function ($x) {
28
+        array_map(function($x) {
29 29
             (new self())->dump($x);
30 30
         }, func_get_args());
31 31
         die(1);
Please login to merge, or discard this patch.
src/Project/ProjectService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $ret = $this->exec("/user/assignable/search?project=$projectIdOrKey", null);
74 74
         $json = json_decode($ret);
75
-        $results = array_map(function ($elem) {
75
+        $results = array_map(function($elem) {
76 76
             return $this->json_mapper->map($elem, new Reporter());
77 77
         }, $json);
78 78
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         $ret = $this->exec($this->uri."/$projectIdOrKey/statuses", null);
92 92
         $json = json_decode($ret);
93
-        $results = array_map(function ($elem) {
93
+        $results = array_map(function($elem) {
94 94
             return $this->json_mapper->map($elem, new IssueType());
95 95
         }, $json);
96 96
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $ret = $this->exec($this->uri."/$projectIdOrKey/statuses", null);
112 112
         $json = json_decode($ret);
113
-        $results = array_map(function ($elem) {
113
+        $results = array_map(function($elem) {
114 114
             return $this->json_mapper->map($elem, new IssueType());
115 115
         }, $json);
116 116
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $this->log->info('Result='.$ret);
143 143
 
144 144
         $json = json_decode($ret);
145
-        $results = array_map(function ($elem) {
145
+        $results = array_map(function($elem) {
146 146
             return $this->json_mapper->map($elem, new ProjectType());
147 147
         }, $json);
148 148
 
Please login to merge, or discard this patch.
src/Request/RequestComment.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
     public function jsonSerialize()
43 43
     {
44
-        return array_filter(get_object_vars($this), function ($var) {
44
+        return array_filter(get_object_vars($this), function($var) {
45 45
             return $var !== null;
46 46
         });
47 47
     }
Please login to merge, or discard this patch.