mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +01:00
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;
|
||
|
}
|
||
|
```
|