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

Non-public API cleanup in AbstractSchemaManager #5456

Merged
merged 5 commits into from
Jun 21, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Jun 20, 2022

  1. To reduce the API surface, we can inline some AbstractSchemaManager::_getPortable*List() methods: they are invoked only from the corresponding list*() methods and aren't overridden by any bundled implementations. Removing the rest of such methods requires additional changes and is out of scope.
  2. All _getPortable*Definition() methods should not have an implementation since their logic is platform-specific.
  3. The filterAssetNames() method is now only used by AbstractSchemaManager so it can be made private.

@morozov morozov added this to the 4.0.0 milestone Jun 20, 2022
@morozov morozov marked this pull request as ready for review June 20, 2022 16:10
@morozov morozov merged commit 843010b into doctrine:4.0.x Jun 21, 2022
@morozov morozov deleted the schema-manager-cleanup branch June 21, 2022 19:09
@@ -780,10 +780,7 @@ protected function _getPortableTableDefinition(array $table): string
*
* @abstract
Copy link
Member

Choose a reason for hiding this comment

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

this @abstract should be removed now that it is natively abstract

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 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.

None yet

3 participants