Procházet zdrojové kódy

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

Kevin Boyd před 13 roky
rodič
revize
09be4ed936
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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':