Skip to content

Conversation

@GeniJaho
Copy link
Collaborator

Currently, the rule produces invalid code when converting self::dispatch() into dispatch(new \self()). The error is "'\self' is an invalid class name".

I've modified it so the new code is dispatch(new self().

@GeniJaho GeniJaho merged commit f6d80de into main Oct 12, 2025
5 checks passed
@GeniJaho GeniJaho deleted the fix-dispatch-to-helper-with-self branch October 12, 2025 21:46
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