File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,11 @@ use Symfony\Component\Console\Helper\ProgressBar;
159
159
$ application ->setDefaultCommand ('analyse ' );
160
160
ProgressBar::setFormatDefinition ('file_download ' , ' [%bar%] %percent:3s%% %fileSize% ' );
161
161
162
+ $ composerAutoloaderProjectPaths = array_map (function (string $ s ): string {
163
+ return str_replace (DIRECTORY_SEPARATOR , '/ ' , $ s );
164
+ }, $ composerAutoloaderProjectPaths );
162
165
$ reversedComposerAutoloaderProjectPaths = array_values (array_unique (array_reverse ($ composerAutoloaderProjectPaths )));
166
+
163
167
$ application ->add (new AnalyseCommand ($ reversedComposerAutoloaderProjectPaths , $ analysisStartTime ));
164
168
$ application ->add (new WorkerCommand ($ reversedComposerAutoloaderProjectPaths ));
165
169
$ application ->add (new ClearResultCacheCommand ($ reversedComposerAutoloaderProjectPaths ));
You can’t perform that action at this time.
0 commit comments