main
Jordi Boggiano 13 years ago
parent 13183753e6
commit 01cb2c5dd7

@ -42,7 +42,7 @@ EOT
{ {
$ctx = StreamContextFactory::getContext(); $ctx = StreamContextFactory::getContext();
$latest = trim(file_get_contents('http://getcomposer.org/version'), false, $ctx); $latest = trim(file_get_contents('http://getcomposer.org/version', false, $ctx));
if (Composer::VERSION !== $latest) { if (Composer::VERSION !== $latest) {
$output->writeln(sprintf("Updating to version <info>%s</info>.", $latest)); $output->writeln(sprintf("Updating to version <info>%s</info>.", $latest));

Loading…
Cancel
Save