diff --git a/composer.json b/composer.json index afb962583..7388e84bb 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "doctrine/phpcr-bundle": "^2.0", "doctrine/phpcr-odm": "^1.5", "jackalope/jackalope-doctrine-dbal": "^1.3", - "jms/serializer-bundle": "^3.5", + "jms/serializer-bundle": "^2.4|^3.5", "phpunit/phpunit": "^9.6", "phpspec/prophecy-phpunit": "^2.2", "knplabs/knp-components": "^3.0|^4.0", @@ -57,5 +57,8 @@ "allow-plugins": { "ocramius/package-versions": true } + }, + "conflict": { + "jms/serializer": "<3.8" } }