Skip to content
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

Deprecate obsolete and unnecessary properties from Table attribute (#11351) #11357

Conversation

DaDeather
Copy link
Contributor

The properties indexes and uniqueConstraints were used by the AnnotationDriver but were never implemented for the AttributeDriver. Since the AnnotationDriver doesn't exist anymore these can become deprecated and will then be removed afterwards.

Copy link
Member

@greg0ire greg0ire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a test that uses the VerifyDeprecations trait.

@DaDeather DaDeather force-pushed the 11351-add-deprecation-for-obsolete-indexes-and-unique-constraint-properties-of-table-attribute branch from 6224750 to dbb7999 Compare March 15, 2024 09:30
@DaDeather DaDeather force-pushed the 11351-add-deprecation-for-obsolete-indexes-and-unique-constraint-properties-of-table-attribute branch from dbb7999 to 6633f7b Compare March 15, 2024 09:55

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…octrine#11351)

The properties `indexes` and `uniqueConstraints` were used by the
`AnnotationDriver` but were never implemented for the `AttributeDriver`.
Since the `AnnotationDriver` doesn't exist anymore these can become
deprecated and will then be removed afterwards.
@DaDeather DaDeather force-pushed the 11351-add-deprecation-for-obsolete-indexes-and-unique-constraint-properties-of-table-attribute branch from 6633f7b to 7d1444e Compare March 15, 2024 11:23
@greg0ire greg0ire merged commit cb05f1a into doctrine:3.2.x Mar 16, 2024
64 checks passed
@greg0ire greg0ire added this to the 3.2.0 milestone Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants