Skip to content

Support PHP 8.1 enum #406

Open
Open
@vincentchalamon

Description

@vincentchalamon

Description
Currently, the Schema Generator only supports enums through myclabs/php-enum. Since 8.1, PHP natively supports enum. The Schema Generator should use it instead of myclabs/php-enum.

To do so, we should bump PHP version to 8.1, as it's already done in api-platform/core.

Example

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions