mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 18:48:03 +01:00
0f8ef45110
Fixes vimeo/psalm#6472
13 lines
179 B
Markdown
13 lines
179 B
Markdown
# NoEnumProperties
|
|
|
|
Emitted when there a property defined on an enum, as PHP
|
|
does not allow user-defined properties on enums.
|
|
|
|
```php
|
|
<?php
|
|
|
|
enum Status {
|
|
public $prop;
|
|
}
|
|
```
|