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

[GH-4503] Make OracleSchemaManager::dropAutoincrement() protected #4598

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

morozov
Copy link
Member

@morozov morozov commented Apr 10, 2021

Q A
Type improvement
BC Break no

See #4503.

@morozov morozov added this to the 4.0.0 milestone Apr 10, 2021
@morozov morozov linked an issue Apr 10, 2021 that may be closed by this pull request
@morozov morozov marked this pull request as ready for review April 10, 2021 04:34
@morozov morozov requested a review from greg0ire April 10, 2021 04:34
* @throws Exception
*/
public function dropAutoincrement(string $table): bool
protected function dropAutoincrement(string $table): bool
Copy link
Member

Choose a reason for hiding this comment

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

Should it also be made final or is it meant to be overridden ?

Copy link
Member Author

Choose a reason for hiding this comment

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

I’d leave it as is for now. Making it final is out of scope, and there’s no problem if someone has it overridden. The issue is about public methods that require runtime assertions.

@morozov morozov merged commit 6d84afd into doctrine:4.0.x Apr 10, 2021
@morozov morozov deleted the issues/4503 branch January 1, 2022 00:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 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.

Inconsistent SchemaManager API across platforms
2 participants