瀏覽代碼

PECL-UUID does not define a version constant, so we should use phpversion() to fetch the required information

Kevin Boyd 13 年之前
父節點
當前提交
09be4ed936
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Repository/PlatformRepository.php

+ 1 - 1
src/Composer/Repository/PlatformRepository.php

@@ -90,7 +90,7 @@ class PlatformRepository extends ArrayRepository
                     break;
 
                 case 'uuid':
-                    $prettyVersion = UUID_VERSION;
+                    $prettyVersion = phpversion('uuid');
                     break;
 
                 case 'xsl':