Skip to content

feat: Resolve enums and classes with PSR-4 - #377

Merged
provokateurin merged 2 commits into
mainfrom
carl/psr4-enums
Aug 25, 2026
Merged

feat: Resolve enums and classes with PSR-4#377
provokateurin merged 2 commits into
mainfrom
carl/psr4-enums

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

Replace the manual parsing of every files by a class loader using PSR-4. This class loader is then used by an enum loader.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Comment thread generate-spec.php
Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>

@provokateurin provokateurin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Just one thing I'm not sure about.

Comment thread src/EnumResolver.php Outdated
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@provokateurin
provokateurin merged commit ad2777c into main Aug 25, 2026
30 checks passed
@provokateurin
provokateurin deleted the carl/psr4-enums branch August 25, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants