-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Rename XmlParser to XMLParser for consistency with XMLWriter/XMLReader #6451
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
Conversation
Hm, this is a tricky one. While I agree, today is GA day. Merging it into 8.0.1 is a BC-break with 8.0.0, and merging it into 8.0.0 is a BC-break with RC5, which is a problem because RC5 and GA should match. I'll deffer this decision to Sara :) |
Well it's technically not BC as Class names as case insensitive in PHP... so not sure if it really matters in the end. |
It does, unfortunately 😕 Sniffers and Static Analyzers, for example, they would complain that you are using/importing |
But |
It is good to look at precedents. In general, both conventions are in use (
Note also:
and:
|
Yes, I understand, it is true in terms of what is widely used in the current codebase. But if we speak about camel-case in general, all those accepted names turn to be not really correct. It does not mean we should fix them of course |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems worthwhile to fix, given how consistently the XML capitalization is used right now.
I think this is okay for 8.0.1 as class names are case-insensitive, so at worst this should affect some code style checking.
Merged as a55402d |
@sgolemon @carusogabriel as RMs for PHP 8