Skip to content

v0.8.0 - enums handled

Compare
Choose a tag to compare
@krzysztofrewak krzysztofrewak released this 16 Dec 11:14
· 46 commits to main since this release
9d8bda5

Codestyle will understand PHP 8.1 enums in right way.

Before:

enum HTTPMethods: string {
    case GET = "get":
    case POST = "post":
}

After:

enum HTTPMethods: string {
    case GET = "get";
    case POST = "post";
}