-
Notifications
You must be signed in to change notification settings - Fork 185
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
Sublime Text 4 - PHP : phpactor does not recognize standards PHP functions and classes #2584
Comments
Try changing your config to this per commit f4223d6
|
Thank you @MarketHubb for your help. Unfortunately, this configuration has not solved the issue :/. Maybe, i should install some extra plugins/lib ? |
Thank you @MarketHubb ! Unfortunately, i have followed your method but it does not solve my issue :/ I still get the standard functions and classes like I will send my issue on the discord channel. Thank you again. |
Hello,
Happy new year !!!
First, thank you for this amazing plugin which has turned my Sublime Text into a real and impressive IDE !
Bug description
I have an issue on a Symfony 7 project, about standard functions like
implode()
orarray_column()
and standard classes like\RuntimeException
or\DateTimeImmutable
: they are marked as "not found".This error is triggered if I use
\DateTimeImmutable
or if I add theuse
statementuse DateTimeImmutable;
.Configuration & settings
I am using the latest version of Sublime Text 4 (Build 4189) and the latest version of Phpactor:
I have installed the LSP plugin for Sublime Text with the following settings:
And here is the .phpactor.json configuration file:
Troubleshooting: phpactor
Version
Server Test Run
Server Configuration
Active view
Project / Workspace
[ "/home/dev/www/sf7" ]
LSP configuration
Log Panel
Log console
Test Phpactor in command line
When, i run Phpactor in command line on a PHP file with the "Not found" errors, no one is displayed:
This is the expected behavior.
Partial conclusion
As Phpactor runs as expected in command line, it leads to think the issue should be in the configuration/settings files.
I am aware for any advice or solution.
Thank you.
Best regards.
Sam.
The text was updated successfully, but these errors were encountered: