-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel.stubphp is creating a PropertyNotSetInConstructor error #225
Comments
That's odd. It's a protected property so the responsibility of setting it lies in the parent Kernel class. Perhaps it might help adding the constructor which sets it into the stub? If that doesn't help then I think it's psalm bug. |
@VincentLanglet mind creating a reproducer in a separate repo? |
Can anyone help with provide steps to fix this issue? |
There is a reproducer here: vimeo/psalm#7075, so I assume it should be fixed in vimeo/psalm |
Ref #220 (comment)
The following code
is giving a
PropertyNotSetInConstructor
error.@enumag @seferov do you see a workaround ?
The text was updated successfully, but these errors were encountered: