1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/src/Psalm/Issue/InvalidEnumCaseValue.php
Bruce Weirdan b4f024b1fe
Basic enum checks
* Duplicate cases
* Duplicate case values
* Invalid case values: value on a pure enum case, missing value on a
backed enum case, backing type / case type mismatch
* Literal expression evaluation for case values

Fixes vimeo/psalm#6426
Fixes vimeo/psalm#6427
2021-09-07 12:35:38 +03:00

10 lines
150 B
PHP

<?php
namespace Psalm\Issue;
class InvalidEnumCaseValue extends ClassIssue
{
public const ERROR_LEVEL = -1;
public const SHORTCODE = 278;
}