From 766be95911bf501f267eb728a1e7f1b9adb1d84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Faul=C3=AD=20Bonell?= Date: Wed, 17 Mar 2021 09:25:58 +0100 Subject: [PATCH 1/3] Fix deprecated Doctrine/common 2.9 and removed on 3 --- Doctrine/SyncIndexWithObjectChangeListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doctrine/SyncIndexWithObjectChangeListener.php b/Doctrine/SyncIndexWithObjectChangeListener.php index 5751d9f..5af42d6 100644 --- a/Doctrine/SyncIndexWithObjectChangeListener.php +++ b/Doctrine/SyncIndexWithObjectChangeListener.php @@ -1,7 +1,7 @@ Date: Thu, 18 Mar 2021 10:25:43 +0100 Subject: [PATCH 2/3] Deprecated Doctrine\Common\Persistence --- Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php b/Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php index 1f818ca..37048bc 100644 --- a/Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php +++ b/Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php @@ -10,7 +10,7 @@ use Interop\Queue\Context; use Interop\Queue\Message; use Interop\Queue\Processor; -use Doctrine\Common\Persistence\ManagerRegistry; +use Doctrine\Persistence\ManagerRegistry; final class SyncIndexWithObjectChangeProcessor implements Processor, CommandSubscriberInterface, QueueSubscriberInterface { From be1f558bcd0502245053fbef0fa88f9ca6e8991c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Faul=C3=AD?= Date: Fri, 26 Mar 2021 11:38:31 +0100 Subject: [PATCH 3/3] Update composer.json Added minimum doctrine/common dependency to "^3.0.3" --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b98af11..a095acc 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,8 @@ "php": "^7.1", "symfony/framework-bundle": "^4.0|^5.0", "friendsofsymfony/elastica-bundle": "^5.0|^6.0", - "enqueue/enqueue-bundle": "^0.10" + "enqueue/enqueue-bundle": "^0.10", + "doctrine/common": "^3.0.3" }, "autoload": { "psr-4": { "Enqueue\\ElasticaBundle\\": "" }