From be678dd07b48fe7f45143c7887926b9f9f5d9dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Mon, 9 Dec 2019 14:37:40 +0100 Subject: [PATCH] =?UTF-8?q?Met=20=C3=A0=20jour=20de=20ramsey/uuid=20vers?= =?UTF-8?q?=20la=20version=203.x.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Et ajout de ramsey/uuid-doctrine. --- composer.json | 3 ++- src/Entity/UploadedFile.php | 2 +- src/Service/FileManager.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f1a29da4..2d365337 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,8 @@ "knplabs/knp-gaufrette-bundle": "~0.1", "pagerfanta/pagerfanta": "^1.0", "psr/log": "^1.0", - "ramsey/uuid": "~2.8", + "ramsey/uuid": "^3.0", + "ramsey/uuid-doctrine": "*", "sensio/framework-extra-bundle": "^3.0.2", "symfony/assetic-bundle": "^2.3", "symfony/intl": "^3.3", diff --git a/src/Entity/UploadedFile.php b/src/Entity/UploadedFile.php index 26e90765..1012b779 100644 --- a/src/Entity/UploadedFile.php +++ b/src/Entity/UploadedFile.php @@ -27,7 +27,7 @@ use Gaufrette\StreamMode; use InvalidArgumentException; use Irstea\FileUploadBundle\Model\UploadedFileInterface; use Irstea\FileUploadBundle\Utils\MimeTypeIcon; -use Rhumsaa\Uuid\Uuid; +use Ramsey\Uuid\Uuid; /** * @ORM\Entity diff --git a/src/Service/FileManager.php b/src/Service/FileManager.php index 24ba6691..c4a0f386 100644 --- a/src/Service/FileManager.php +++ b/src/Service/FileManager.php @@ -34,7 +34,7 @@ use Irstea\FileUploadBundle\Model\UploadedFileInterface; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use Psr\Log\NullLogger; -use Rhumsaa\Uuid\Uuid; +use Ramsey\Uuid\Uuid; use Symfony\Bridge\Doctrine\RegistryInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; -- GitLab