genius257 / vscode-viewfile-intellisense

ViewFile intellisense for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=genius257.vscode-viewfile-intellisense
MIT License
0 stars 0 forks source link

using php 8.1 crashes the PHP language server #6

Open genius257 opened 1 year ago

genius257 commented 1 year ago

Deprecation of Serializable interface in 8.1 results in the server crashing on startup. Something upgrades the Deprecation message to an exception, resulting in the crash. Production build should disable PHP error_reporting when running the server. If development is not possible with PHP error_reporting on E_ALL, an attempt of fixing the cause should be attempted before decreasing the PHP error_reporting verbosity level.

genius257 commented 1 year ago

more information about the PHP deprecation itself: https://php.watch/versions/8.1/serializable-deprecated