Open
Description
- PHPMD version: 2.15.0
- PHP Version: 8.1.23
- Installation type: composer
- Operating System / Distribution & Version: Ubuntu 22.04
Current Behavior
Any of
Enum::from();
Enum::tryFrom();
Enum::cases();
trigger message Avoid using static access to class
Expected Behavior
No message, because this methods by design: https://www.php.net/manual/en/class.backedenum.php
Steps To Reproduce:
Try to use any method of https://www.php.net/manual/en/class.backedenum.php.
Please fix this behavior