diff --git a/composer.json b/composer.json index 0cb80503b..2df2d6891 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,12 @@ "leafo/scssphp": "~0.2", "maennchen/zipstream-php": "~0.3", "moontoast/math": "~1.1", - "ramsey/uuid": "~2.8", + "ramsey/uuid": "~3.0", "reprovinci/solr-php-client": "~1.0", "sendgrid/sendgrid": "~3.2", "zendframework/zendframework1": "~1.12" }, "require-dev": { - "ext-curl": "*", "ext-xdebug": "*", "fabpot/php-cs-fixer": "~1.10", "jokkedk/zfdebug": "~1.6", @@ -34,6 +33,7 @@ "phpunit/dbunit": "~1.4", "phpunit/phpcov": "~2.0", "phpunit/phpunit": "~4.8", + "ramsey/uuid-console": "~1.0", "satooshi/php-coveralls": "~0.6", "sensiolabs/security-checker": "~3.0", "symfony/console": "~2.7" diff --git a/core/controllers/components/UuidComponent.php b/core/controllers/components/UuidComponent.php index c45a52690..7098eaea7 100644 --- a/core/controllers/components/UuidComponent.php +++ b/core/controllers/components/UuidComponent.php @@ -28,7 +28,7 @@ class UuidComponent extends AppComponent */ public function generate() { - return str_replace('-', '', \Rhumsaa\Uuid\Uuid::uuid4()->toString()); + return str_replace('-', '', \Ramsey\Uuid\Uuid::uuid4()->toString()); } /**