PHP devs, as per PER Coding Style, we should use PascalCase for enum cases, and if you're still using SNAKE_CASE for some reason, RectorPHP has a rule to refactor enum cases. 💪
PER Coding Style
www.php-fig.org/per/coding-style/#9-enumerations
Rector Rule
getrector.com/rule-detail/enum-case-to-pascal-case-rector
Back