Skip to content

fix: replace anonymous class CompilerPass with proper class (#37)#144

Merged
s2x merged 2 commits intomasterfrom
fix/37-compilerpass-anonymous-class
Apr 15, 2026
Merged

fix: replace anonymous class CompilerPass with proper class (#37)#144
s2x merged 2 commits intomasterfrom
fix/37-compilerpass-anonymous-class

Conversation

@s2x
Copy link
Copy Markdown
Collaborator

@s2x s2x commented Apr 15, 2026

Summary

  • Extract anonymous class from config/compilerpass.php to src/DependencyInjection/WorkermanCompilerPass.php
  • Register compiler pass using proper class instantiation instead of require

Closes #37

Piotr Hałas added 2 commits April 15, 2026 07:31
Extract anonymous class from config/compilerpass.php to
src/DependencyInjection/WorkermanCompilerPass.php

Closes #37
Cover:
- Service locator registration
- Priority-based sorting of response converter strategies
- Public visibility of handlers
- Reference map structure
@s2x s2x merged commit 7c8051c into master Apr 15, 2026
22 checks passed
@s2x s2x deleted the fix/37-compilerpass-anonymous-class branch April 15, 2026 06:16
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.

CompilerPass — Anonymous Class Makes Debugging Difficult

1 participant