diff --git a/README.md b/README.md index 6eaf8f9..f63846a 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,10 @@ If you choose this path, you can install this package in the following steps: ``` Then depending on the version of doctrine/orm you want to use: +Doctrine 3: +- run `composer require sspat/doctrine-nullable-embeddables:v3.3.0 doctrine/orm:3.3.0` + +Doctrine 2: - run `composer require sspat/doctrine-nullable-embeddables:v2.20.0 doctrine/orm:2.20.0` - run `composer require sspat/doctrine-nullable-embeddables:v2.19.8 doctrine/orm:2.19.8` - run `composer require sspat/doctrine-nullable-embeddables:v2.19.7 doctrine/orm:2.19.7` diff --git a/composer.json b/composer.json index e70bdb5..5a3cf91 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": "^7.4|^8.0", "cweagans/composer-patches": "^1.6|^1.7", - "doctrine/orm": "2.20.0" + "doctrine/orm": "3.3.0" }, "require-dev": { "phpunit/phpunit": "^9.5" @@ -31,7 +31,7 @@ "extra": { "patches": { "doctrine/orm": { - "Allow nullable embeddables": "https://raw.githubusercontent.com/sspat/doctrine-nullable-embeddables/v2.20.0/patch/nullable_embeddables.patch" + "Allow nullable embeddables": "https://raw.githubusercontent.com/sspat/doctrine-nullable-embeddables/v3.3.0/patch/nullable_embeddables.patch" } } },