I understand that you use library php-parser for checking and can't do much until library will be updated. Maybe add option to disable this check, because phpstan can check php syntax himself.
I deleted line
let e=this._config.documents.getInvalidFile();if(e){se(this._config.connection,bo,`Not checking project because of invalid PHP file: ${e}`);return}
from ~/.vscode/extensions/sanderronde.phpstan-vscode-3.0.3/out/server.js, everything seems ok
Сan be checked with this example
I understand that you use library php-parser for checking and can't do much until library will be updated. Maybe add option to disable this check, because phpstan can check php syntax himself. I deleted line
let e=this._config.documents.getInvalidFile();if(e){se(this._config.connection,bo,`Not checking project because of invalid PHP file: ${e}`);return}
from ~/.vscode/extensions/sanderronde.phpstan-vscode-3.0.3/out/server.js, everything seems ok