1
0
Fork 0

Fixed missing close tags

pull/2573/head
Eymen Gunay 2014-01-09 21:11:08 +01:00
parent 42c496752a
commit ad51db7b57
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ EOT
$remoteFilename = $baseUrl . (preg_match('{^[0-9a-f]{40}$}', $updateVersion) ? '/composer.phar' : "/download/{$updateVersion}/composer.phar"); $remoteFilename = $baseUrl . (preg_match('{^[0-9a-f]{40}$}', $updateVersion) ? '/composer.phar' : "/download/{$updateVersion}/composer.phar");
$remoteFilesystem->copy(self::HOMEPAGE, $remoteFilename, $tempFilename); $remoteFilesystem->copy(self::HOMEPAGE, $remoteFilename, $tempFilename);
if (!file_exists($tempFilename)) { if (!file_exists($tempFilename)) {
$output->writeln('<error>The download of the new composer version failed for an unexpected reason'); $output->writeln('<error>The download of the new composer version failed for an unexpected reason</error>');
return 1; return 1;
} }
@ -119,7 +119,7 @@ EOT
$fs = new Filesystem; $fs = new Filesystem;
foreach ($files as $file) { foreach ($files as $file) {
$output->writeln('<info>Removing: '.$file); $output->writeln('<info>Removing: '.$file.'</info>');
$fs->remove($file); $fs->remove($file);
} }
} }