-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Syntax errors caused by namespace resolution #78
Comments
@JakeBooher Can you open a pull request, that adds multiple tests for this specific scenario? So we can work on a solution after? |
I've added a test case here: #79 The following is the error you will receive:
|
It seems like this is related to the usage of
In my case |
Serializable Closure Version
1.3.2
PHP Version
8.2
Description
It seems that when there is a
switch
statement that contains a class reference the namespace resolution that happens during serialization causes the colon to be removed at the end of thecase
line, steps to reproduce contains a CLI command to replicate this behavior.Steps To Reproduce
The text was updated successfully, but these errors were encountered: