From a4496150aede575c34b4d0444328516c3e1a7a27 Mon Sep 17 00:00:00 2001 From: Christian Kolb Date: Fri, 23 Aug 2024 11:43:42 +0200 Subject: [PATCH] Improve description in upgrade --- UPGRADE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index cab7910..a69c7e8 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -4,7 +4,7 @@ ### Renamed package -Update compose to require `digitalcraftsman/cqs-routing` instead of `digitalcraftsman/cqrs`. +Replace `digitalcraftsman/cqrs` with `digitalcraftsman/cqs-routing` in `composer.json`. Then rename the `cqrs.php` to `cqs-routing.php` and rename `CQRSConfig $cqrsConfig` to `CQSRoutingConfig $cqsRoutingConfig` in the configuration. @@ -32,6 +32,8 @@ return static function (CqsRoutingConfig $cqsRoutingConfig) { Rename all imports from `DigitalCraftsman\CQRS` to `DigitalCraftsman\CQSRouting`. +It should be possible to use a simple search / replace for that. It's best to do this, before exchanging the packages in the `composer.json`. + ## From 0.12.* to 0.13.0 ### Upgrade to at least Symfony 6.4