Failed Conditions
Pull Request — experimental/3.1 (#2619)
by
unknown
40:55
created
src/Eccube/Service/Composer/ParseOutputCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $rowArray = explode(PHP_EOL, str_replace('\r\n', PHP_EOL, $this->output));
91 91
         $installedLogs = array_filter(
92 92
             array_map(
93
-                function ($line) {
93
+                function($line) {
94 94
                     $matches = array();
95 95
                     preg_match('/^  - Installing (.*?) \((.*?)\) .*/', $line, $matches);
96 96
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     private function parseInfo()
113 113
     {
114 114
         $rowArray = explode(PHP_EOL, str_replace('\r\n', PHP_EOL, $this->output));
115
-        $infoLogs = array_filter(array_map(function ($line) {
115
+        $infoLogs = array_filter(array_map(function($line) {
116 116
             $matches = array();
117 117
             preg_match('/^(name|descrip.|keywords|versions|type|license|source|dist|names)\s*:\s*(.*)$/', $line, $matches);
118 118
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     private function parseConfig()
136 136
     {
137 137
         $rowArray = explode(PHP_EOL, str_replace('\r\n', PHP_EOL, $this->output));
138
-        $rowArray = array_filter($rowArray, function ($line) {
138
+        $rowArray = array_filter($rowArray, function($line) {
139 139
             return !preg_match('/^<warning>.*/', $line);
140 140
         });
141 141
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     private function parseList()
151 151
     {
152 152
         $rowArray = explode(PHP_EOL, str_replace('\r\n', PHP_EOL, $this->output));
153
-        $rawConfig = array_map(function ($line) {
153
+        $rawConfig = array_map(function($line) {
154 154
             $matches = array();
155 155
             preg_match('/^\[(.*?)\]\s?(.*)$/', $line, $matches);
156 156
 
Please login to merge, or discard this patch.