Skip to content

Deprecate extending schema classes#7100

Merged
morozov merged 2 commits intodoctrine:4.4.xfrom
morozov:deprecate-extending-schema
Aug 26, 2025
Merged

Deprecate extending schema classes#7100
morozov merged 2 commits intodoctrine:4.4.xfrom
morozov:deprecate-extending-schema

Conversation

@morozov
Copy link
Member

@morozov morozov commented Aug 23, 2025

Similar to the Column, ForeignKeyConstraint, Index and UniqueConstraint classes soft-marked as @final, I'm marking the rest of schema-related classes as @final as well. They are value objects and are not meant to be extended.

Making them final in 5.0.x will allow to rework their internal implementation w/o breaking BC.

@morozov morozov added this to the 4.4.0 milestone Aug 23, 2025
@morozov morozov requested a review from greg0ire August 23, 2025 15:04
@morozov morozov changed the title Deprecate extending schema Deprecate extending schema classes Aug 23, 2025
greg0ire
greg0ire previously approved these changes Aug 26, 2025
@morozov morozov force-pushed the deprecate-extending-schema branch from 4a34f72 to 3aa2450 Compare August 26, 2025 16:05
@morozov morozov merged commit e07f21d into doctrine:4.4.x Aug 26, 2025
90 checks passed
@morozov morozov deleted the deprecate-extending-schema branch August 26, 2025 16:18
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.

2 participants