@@ -37,16 +37,7 @@ protected function fetchWithPrestissimo($version, $destination) {
37
37
array_walk ($ this ->filenames , function ($ filename ) use ($ version , $ destination , &$ requests ) {
38
38
$ url = $ this ->getUri ($ filename , $ version );
39
39
$ this ->fs ->ensureDirectoryExists ($ destination . '/ ' . dirname ($ filename ));
40
- if ($ this ->progress ) {
41
- $ this ->io ->writeError (" - <info> $ filename</info> (<comment> $ url</comment>): " , FALSE );
42
- $ requests [] = new CopyRequest ($ url , $ destination . '/ ' . $ filename , false , $ this ->io , $ this ->config );
43
- // Used to put a new line because the remote file system does not put
44
- // one.
45
- $ this ->io ->writeError ('' );
46
- }
47
- else {
48
- $ requests [] = new CopyRequest ($ url , $ destination . '/ ' . $ filename , false , $ this ->io , $ this ->config );
49
- }
40
+ $ requests [] = new CopyRequest ($ url , $ destination . '/ ' . $ filename , false , $ this ->io , $ this ->config );
50
41
});
51
42
52
43
$ successCnt = $ failureCnt = 0 ;
@@ -62,7 +53,7 @@ protected function fetchWithPrestissimo($version, $destination) {
62
53
$ failureCnt += $ result ['failureCnt ' ];
63
54
if ($ this ->progress ) {
64
55
foreach ($ result ['urls ' ] as $ url ) {
65
- $ this ->io ->writeError (" <comment> $ successCnt/ $ totalCnt</comment>: \t$ url " , true , \ Composer \ IO \IOInterface:: VERBOSE );
56
+ $ this ->io ->writeError (" <comment> $ successCnt/ $ totalCnt</comment>: \t$ url " , true );
66
57
}
67
58
}
68
59
} while ($ multi ->remain ());
0 commit comments