diff --git a/composer.json b/composer.json index f1a29da46b151455ba278989afc8a93b9e2e6b56..2d3653371683f9315ac790bde682b8d7bae547b1 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 26e9076537ffaaa674d2826c473f91a59938e823..1012b779f6e50a660102c33823166652cfe90c8e 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 24ba6691d619f83a395767b9b7ae35a8e9212e75..c4a0f386056e52f538c026a2d97211abea456003 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;