-
Notifications
You must be signed in to change notification settings - Fork 41
FelixFBecker keeps initializing #159
Comments
Same on OpenSUSE Leap 15.3 & PHP 7.4.6, Atom 1.52.0 x64. I've found out that maximum PHP version supported is 7.3.9. |
When using older PHP version it works indeed. I couldn't find anywhere details about the supported php versions, they should mention it. |
You shouldn't have closed it :) it's PHP 8 released already :) |
Ah yes :) |
I haven't tested with PHP8, but for PHP7.4 the quickest/easiest solution for this problem is to ensure php.ini for the CLI is set to NOT output errors for use of deprecated functions. In other words, users with this problem probably have error_reporting set to E_ALL in php.ini. Changing it to : I believe a permanent fix is being sought here in the upstream code: https://github.com/felixfbecker/php-advanced-json-rpc/issues. It's probably a trivial change, but beyond my abilities. |
This fix worked for me, ditched PHP 8 to go back to PHP 7.4. I am hopeful about a fix and this language server being updated for 8, but nothing for 2 years from Felix. |
I've been able to reliably reproduce this.
The following error can be seen on the JavaScript console within Atom:
I've worked around this by disabling the "Diagnostics" feature within |
Tried using php8.0, I can confirm this workaround don't work. |
Description
FelixFBecker keeps initializing. I uninstalled and reinstalled php-ide but problem still occurs. FelixFBecker just keeps initializing infinite.
Reproduces how often:
This only occurs in my Symfony projects.
Versions
MacOs version:
v11.1
Atom version:
Atom: 1.53.0
Electron: 6.1.12
Chrome: 76.0.3809.146
Node: 12.4.0
PHP Version:
v7.4.13
ide-php version:
v0.7.18
The text was updated successfully, but these errors were encountered: