1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Update INF to PHP_INT_MAX as recommended by Stof

This commit is contained in:
Romain Neutron 2013-09-12 13:19:27 +02:00
parent b86b8a597e
commit 9b7fc0bae7

View file

@ -188,7 +188,7 @@ EOT
if (null === $width) {
// In case the width is not detected, we're probably running the command
// outside of a real terminal, use space without a limit
$width = INF;
$width = PHP_INT_MAX;
}
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
$width--;