Skip to content

Dumper: print enum case directly in toPhp()#457

Merged
dg merged 1 commit into
nette:masterfrom
vojtech-dobes:toPhp-enum
Apr 3, 2025
Merged

Dumper: print enum case directly in toPhp()#457
dg merged 1 commit into
nette:masterfrom
vojtech-dobes:toPhp-enum

Conversation

@vojtech-dobes
Copy link
Copy Markdown
Contributor

  • new feature
  • BC break? yes, I suppose

Reasoning: I was checking some test outputs and saw how enums get dumped, and was thinking if they were just simply inlined, the dump would be more readable.

@dg
Copy link
Copy Markdown
Member

dg commented Apr 3, 2025

Thanks

@dg dg merged commit 15a2702 into nette:master Apr 3, 2025
dg pushed a commit that referenced this pull request Apr 3, 2025
@vojtech-dobes vojtech-dobes deleted the toPhp-enum branch April 3, 2025 13:03
dg pushed a commit that referenced this pull request Jun 5, 2025
dg pushed a commit that referenced this pull request Jun 19, 2025
dg pushed a commit that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants