phpinsights
phpinsights copied to clipboard
Enum issues
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
Library version | 2.6.1 |
Looks like if I have enum like:
enum Language: string
{
use GetValues;
case EN = 'en';
case FI = 'fi';
}
PhpInsights is complaining:
• [Style] Unused uses:
src/Enum/Language.php:22: Type GetValues is not used in this file.
• [Style] Use spacing:
src/Enum/Language.php:22: Expected 0 lines between same types of use statement, found 10.
And both of those are clearly false positives - right?