Skip to content

Commit

Permalink
Support for 2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik Foldes committed Nov 6, 2024
1 parent 2f3ef03 commit d316786
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ 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:

- run `composer require sspat/doctrine-nullable-embeddables:v2.18.0 doctrine/orm:2.18.0`
- run `composer require sspat/doctrine-nullable-embeddables:v2.17.5 doctrine/orm:2.17.5`
- run `composer require sspat/doctrine-nullable-embeddables:v2.17.4 doctrine/orm:2.17.4`
- run `composer require sspat/doctrine-nullable-embeddables:v2.17.3 doctrine/orm:2.17.3`
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.17.5"
"doctrine/orm": "2.18.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.17.5/patch/nullable_embeddables.patch"
"Allow nullable embeddables": "https://raw.githubusercontent.com/sspat/doctrine-nullable-embeddables/v2.18.0/patch/nullable_embeddables.patch"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions patch/nullable_embeddables.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php b/b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
diff --git a/a/src/Mapping/ReflectionEmbeddedProperty.php b/b/src/Mapping/ReflectionEmbeddedProperty.php
index db4c1f8..c830e7d 100644
--- a/a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
+++ b/b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
--- a/a/src/Mapping/ReflectionEmbeddedProperty.php
+++ b/b/src/Mapping/ReflectionEmbeddedProperty.php
@@ -49,13 +49,16 @@ class ReflectionEmbeddedProperty extends ReflectionProperty
#[ReturnTypeWillChange]
public function getValue($object = null)
Expand Down

0 comments on commit d316786

Please sign in to comment.