| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Relax the ValidEnumNameSniff to allow omitting the "Enum" suffix when the enum is in a namespace containing "Enum" as a segment (e.g., `App\Model\Enum\Status` is now valid without the suffix). This avoids redundant naming like `App\Model\Enum\FooBarEnum`. Refs #425
| Back | FazBrowse Home | New Git URL |
Summary
This avoids redundant naming like:
Both are still valid:
Refs #425
Refs cakephp/cakephp#19329 (comment)