api-platform / api-platform/schema-generator
Support PHP 8.1 enum
Offen
enhancement
- Vorherrschende Sprache
- PHP
- Sterne
- 474
- Forks
- 107
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Description**
Currently, the Schema Generator only supports enums through [myclabs/php-enum](https://github.com/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](https://github.com/api-platform/core).
**Example**
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.