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

Add section on enumerations. #7

Merged
merged 6 commits into from
Jul 17, 2022
Merged

Add section on enumerations. #7

merged 6 commits into from
Jul 17, 2022

Conversation

Crell
Copy link
Collaborator

@Crell Crell commented Apr 25, 2022

It occurs to me that there is no mention of constant capitalization anywhere else, but IMO constants in enums really should use CamelCase for consistency. (Frankly they should elsewhere, and I do use them that way elsewhere.) I don't know if we want to also mention constants more broadly.

@KorvinSzanto KorvinSzanto mentioned this pull request Apr 29, 2022
25 tasks
@samdark samdark added enhancement New feature or request core labels May 24, 2022
Co-authored-by: Aleksei Gagarin <roxblnfk@ya.ru>
Copy link
Contributor

@KorvinSzanto KorvinSzanto left a comment

Choose a reason for hiding this comment

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

@samdark
Copy link
Member

samdark commented Jul 17, 2022

Changed CamelCase → PascalCase and resolved conflicts.

@KorvinSzanto KorvinSzanto merged commit 546f82c into php-fig:master Jul 17, 2022
@Crell Crell deleted the enums branch July 18, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants