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:
parent
b86b8a597e
commit
9b7fc0bae7
1 changed files with 1 additions and 1 deletions
|
@ -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--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue