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

Drop Type::getName() #5208

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Drop Type::getName() #5208

merged 1 commit into from
Jan 26, 2022

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Jan 25, 2022

Following #5107, this method serves little to no purpose. Let's avoid duplicating the name in the method and in the type registry.

@greg0ire greg0ire changed the base branch from 3.3.x to 4.0.x January 25, 2022 22:13
@greg0ire greg0ire force-pushed the drop-getName branch 3 times, most recently from f0a7298 to 20615e3 Compare January 25, 2022 22:28
@greg0ire greg0ire marked this pull request as ready for review January 25, 2022 22:39
@greg0ire greg0ire requested a review from morozov January 25, 2022 22:41
/**
* Gets the name of this type.
*
* @todo Needed?
Copy link
Member Author

Choose a reason for hiding this comment

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

No.

Copy link
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

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

Looks good overall, just a couple of nitpicks.

src/Types/ArrayType.php Show resolved Hide resolved
src/Types/DateImmutableType.php Outdated Show resolved Hide resolved
tests/Functional/Schema/MySQL/PointType.php Show resolved Hide resolved
@greg0ire greg0ire added the Types label Jan 26, 2022
@greg0ire greg0ire added this to the 4.0.0 milestone Jan 26, 2022
@greg0ire greg0ire merged commit 2932825 into doctrine:4.0.x Jan 26, 2022
@greg0ire greg0ire deleted the drop-getName branch January 26, 2022 07:31
@morozov morozov mentioned this pull request Jan 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants