Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 179 Bytes

NoEnumProperties.md

File metadata and controls

12 lines (9 loc) · 179 Bytes

NoEnumProperties

Emitted when there a property defined on an enum, as PHP does not allow user-defined properties on enums.

<?php

enum Status {
    public $prop;
}