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

Refactor ORMException into an interface #9085

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Oct 4, 2021

Follow up of #8692


/**
* Should become an interface in 3.0
*/
class ORMException extends BaseORMException
interface ORMException extends Throwable
Copy link
Member

Choose a reason for hiding this comment

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

Extending Throwable can have ugly side-effects on PHP 7.3 and below. I'd suggest that we bump to 7.4 at least, so we don't have to deal with them.

https://3v4l.org/rmkAc

Copy link
Member Author

Choose a reason for hiding this comment

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

Fully agree, let's do that.

@derrabus derrabus merged commit e9cd90f into doctrine:3.0.x Oct 5, 2021
@derrabus derrabus added this to the 3.0.0 milestone Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants