-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enums instead constants #10038
Comments
@derrabus perhaps we could leverage https://github.com/rectorphp/rector and make rules that would update the code automatically? Edit: ah, I see this is a thing - https://github.com/rectorphp/rector-doctrine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you plan to replace constants with native enums in v3.0?
For instance in mappings
orm/lib/Doctrine/ORM/Mapping/ManyToOne.php
Lines 27 to 30 in 5fe78f7
The text was updated successfully, but these errors were encountered: