-
Notifications
You must be signed in to change notification settings - Fork 661
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
RuntimeException: PHP Error: Undefined property: stdClass::$range #10353
Comments
Hey @jgmdev, can you reproduce the issue on https://psalm.dev ? |
Is there any chance you're running PHP with |
You are correct that is the case on my php opcache config. If not supported by psalm should this issue get closed? |
No, we should detect this configuration and warn about / correct it. |
Fixed in |
PHP Version: 8.2.12
Was testing the language server component of this project with Pragtical text editor + LSP plugin and sending the document changed event triggered the following error:
Fixed it locally with the following change, but not sure if it is the proper solution:
vendor/vimeo/psalm/src/Psalm/Internal/LanguageServer/Server/TextDocument.php
The text was updated successfully, but these errors were encountered: