From 9b7fc0bae78850994d4faca12df594110db94cb3 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 12 Sep 2013 13:19:27 +0200 Subject: [PATCH] Update INF to PHP_INT_MAX as recommended by Stof --- src/Composer/Command/ShowCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index c0b515401..92f883226 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -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--;