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

Deprecate the NotSupported exception #11470

Merged
merged 1 commit into from
May 22, 2024

Conversation

derrabus
Copy link
Member

Another thing we should've removed in 3.0. 🙈

All usages have been removed in the process of removing functionality relates to deprecated DBAL 2 and Persistence 2 features. We may chose to un-deprecate the class in the future, should we need it. But right now, we don't raise that exception anywhere, so we might as well remove it.

@derrabus derrabus added this to the 3.2.0 milestone May 22, 2024
@derrabus derrabus requested a review from greg0ire May 22, 2024 19:47
@greg0ire
Copy link
Member

greg0ire commented May 22, 2024

We might want to look into setting Psalm's findUnusedCode to true + using @api on our public APIs at some point 🤔

@derrabus derrabus merged commit ce09c96 into doctrine:3.2.x May 22, 2024
62 checks passed
@derrabus derrabus deleted the deprecate/not-supported branch May 22, 2024 19:53
derrabus added a commit that referenced this pull request May 22, 2024
* 3.2.x:
  Deprecate the NotSupported exception (#11470)
@derrabus derrabus mentioned this pull request May 22, 2024
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