-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deprecations for "table per class" inheritance #10423
Add deprecations for "table per class" inheritance #10423
Conversation
3694139
to
a2736bb
Compare
e39c70f
to
d6a38b3
Compare
Note that we don't do deprecations in bugfix releases. The PR needs to target 2.15.x. Also, please document the deprecation in the upgrade log. |
d6a38b3
to
89b98bd
Compare
Rebased and added a note to the upgrading document |
<file name="lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php" /> | ||
<file name="lib/Doctrine/ORM/Tools/EntityGenerator.php" /> | ||
<file name="lib/Doctrine/ORM/Tools/Export/Driver/AbstractExporter.php" /> | ||
<file name="lib/Doctrine/ORM/Tools/SchemaTool.php" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remember to remove these after or during the merge up (and the one below as well)
Thanks @mpdude ! |
@@ -1,5 +1,15 @@ | |||
# Upgrade to 2.14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mpdude woops! Wrong section!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#10428 to fix this (already merged here)
This was a mistake in doctrine#10423.
This was a mistake in #10423.
This complements #10414.
I don't see how the
\Doctrine\ORM\Mapping\ClassMetadataInfo::INHERITANCE_TYPE_TABLE_PER_CLASS
constant could be deprecated by itself, but this covers all places where it might reasonably be passed in.