Hi Am 2025-03-14 01:22, schrieb Bob Weinand:
[…] class constants in uppercase […]
enum cases are a notable Exception. They also use PascalCase (both internal enums and the PER-CS coding style as published by PHP-FIG).
But that's also a good question for the RFC author: Is defining inner classes within an enum legal? The RFC says that inner enums are future scope, but what about “outer” enums? The specification in the “Usage” section is not entirely clear to me.
Best regards Tim Düsterhus