소스 검색

Update INF to PHP_INT_MAX as recommended by Stof

Romain Neutron 11 년 전
부모
커밋
9b7fc0bae7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Command/ShowCommand.php

+ 1 - 1
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--;