Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator] Remove internal from methods on non-internal interfaces #50539

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

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jun 2, 2023

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

A method cannot be @internal on a public interface, as a userland class implementing the interface must define it. As such, we must follow the BC promise for them.

@fabpot
Copy link
Member

fabpot commented Jun 2, 2023

Thank you @wouterj.

@fabpot fabpot merged commit 6c9f21b into symfony:5.4 Jun 2, 2023
@wouterj wouterj deleted the internal-interface-methods branch June 2, 2023 15:16
This was referenced Jun 26, 2023
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.

5 participants