Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NativeEnumTypeConfig to generate native PHP enums #92

Merged
merged 28 commits into from
Feb 28, 2025

Conversation

spawnia
Copy link
Owner

@spawnia spawnia commented Aug 16, 2023

  • Added automated tests
  • Documented for all relevant versions
  • Updated the changelog

Changes

Add class Spawnia\Sailor\Type\NativeEnumTypeConfig to generate native PHP enums.

Breaking changes

No, the default is still to generate classes with constants.

@spawnia spawnia added the enhancement A feature or improvement label Aug 16, 2023
spawnia added 14 commits August 16, 2023 16:23
# Conflicts:
#	.github/workflows/validate.yml
#	CHANGELOG.md
#	Makefile
#	composer.json
#	examples/custom-types/sailor.php
#	phpstan.neon
#	src/Codegen/Generator.php
#	src/Operation.php
@spawnia spawnia marked this pull request as ready for review February 28, 2025 11:47
@spawnia spawnia merged commit 442f5d1 into master Feb 28, 2025
30 checks passed
@spawnia spawnia deleted the native-php-enums branch February 28, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant