1
0
Fork 0

Update outdated build message, fixes #1305

pull/1297/merge
Jordi Boggiano 2012-11-10 21:37:18 +01:00
parent 7eb0cdddb0
commit 87e335aa1b
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Application extends BaseApplication
if (defined('COMPOSER_DEV_WARNING_TIME') && $this->getCommandName($input) !== 'self-update') { if (defined('COMPOSER_DEV_WARNING_TIME') && $this->getCommandName($input) !== 'self-update') {
if (time() > COMPOSER_DEV_WARNING_TIME) { if (time() > COMPOSER_DEV_WARNING_TIME) {
$output->writeln(sprintf('<warning>This dev build of composer is outdated, please run "%s self-update" to get the latest version.</warning>', $_SERVER['PHP_SELF'])); $output->writeln(sprintf('<warning>Warning: This development build of composer is over 30 days old. It is recommended to update it by running "%s self-update" to get the latest version.</warning>', $_SERVER['PHP_SELF']));
} }
} }