Skip to content

Commit

Permalink
Support for Doctrine 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik Foldes committed Nov 7, 2024
1 parent 4de6e72 commit 23d631d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
}
}
},
Expand Down

0 comments on commit 23d631d

Please sign in to comment.