Explorar el Código

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

Kevin Boyd hace 13 años
padre
commit
09be4ed936
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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':