Test Failed
Push — master ( d4bdbc...950b45 )
by Arne
02:36
created
src/Application.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
 
87 87
         public function runConfigChangeDetection(FileInfo $workDirectory, FileInfo $configFile) {
88
-            $index = new FileInfo( (string)$workDirectory . '/index.xml');
88
+            $index = new FileInfo((string)$workDirectory.'/index.xml');
89 89
             if (!$index->exists() || ($index->getMTime() >= $configFile->getMTime())) {
90 90
                 return;
91 91
             }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             if ($collector->hasParseErrors()) {
125 125
                 $this->logger->log('The following file(s) had errors during processing and were excluded:');
126 126
                 foreach($collector->getParseErrors() as $file => $message) {
127
-                    $this->logger->log(' - ' . $file . ' (' . $message . ')');
127
+                    $this->logger->log(' - '.$file.' ('.$message.')');
128 128
                 }
129 129
             }
130 130
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             if (count($vanished) > 0) {
136 136
                 $this->logger->log(sprintf("Removed %d vanished file(s) from project:", count($vanished)));
137 137
                 foreach($vanished as $file) {
138
-                    $this->logger->log(' - ' . $file);
138
+                    $this->logger->log(' - '.$file);
139 139
                 }
140 140
             }
141 141
             $changed = $project->save();
@@ -150,14 +150,14 @@  discard block
 block discarded – undo
150 150
                         if (is_array($missing)) {
151 151
                             $missing = join(', ', $missing);
152 152
                         }
153
-                        $this->logger->log(' - ' . $class . ' (missing ' . $missing . ')');
153
+                        $this->logger->log(' - '.$class.' (missing '.$missing.')');
154 154
                     }
155 155
                 }
156 156
 
157 157
                 if ($resolver->hasErrors()) {
158 158
                     $this->logger->log('The following unit(s) caused errors during inheritance resolution:');
159 159
                     foreach($resolver->getErrors() as $class => $error) {
160
-                        $this->logger->log(' - ' . $class . ': ' . implode(', ', $error));
160
+                        $this->logger->log(' - '.$class.': '.implode(', ', $error));
161 161
                     }
162 162
                 }
163 163
             }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
             $generator = $this->factory->getGenerator();
195 195
 
196 196
             foreach($config->getActiveBuilds() as $buildCfg) {
197
-                $generator->addEngine( $engineFactory->getInstanceFor($buildCfg) );
197
+                $generator->addEngine($engineFactory->getInstanceFor($buildCfg));
198 198
             }
199 199
 
200 200
             $this->logger->log('Loading enrichers');
@@ -217,14 +217,14 @@  discard block
 block discarded – undo
217 217
 
218 218
             $pconfig = $config->getProjectConfig();
219 219
 
220
-            if (!file_exists($pconfig->getWorkDirectory() . '/index.xml')) {
220
+            if (!file_exists($pconfig->getWorkDirectory().'/index.xml')) {
221 221
                 throw new ApplicationException(
222 222
                     'Workdirectory does not contain an index.xml file. Did you run the collector?',
223 223
                     ApplicationException::IndexMissing
224 224
                 );
225 225
             }
226 226
 
227
-            if (!file_exists($pconfig->getWorkDirectory() . '/source.xml')) {
227
+            if (!file_exists($pconfig->getWorkDirectory().'/source.xml')) {
228 228
                 throw new ApplicationException(
229 229
                     'Workdirectory does not contain an source.xml file. Did you run the collector?',
230 230
                     ApplicationException::SourceMissing
Please login to merge, or discard this patch.