Skip to content

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

5 participants