php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

PHP8 Not compatible ?

Open theCrazylegs opened this issue 3 years ago • 6 comments

Everything is in the title

ErrorException: Method ReflectionParameter::getClass() is deprecated in C:\Users\xxxxx\.vscode\extensions\felixfbecker.php-intellisense-2.3.14\vendor\phpdocumentor\reflection-docblock\src\DocBlock\StandardTagFactory.php:241 Stack trace: #0 C:\Users\xxxxx\.vscode\extensions\felixfbecker.php-intellisense-2.3.14\vendor\phpdocumentor\reflection-docblock\src\DocBlock\StandardTagFactory.php(241): {closure}(8192, 'Method Reflecti...', 'C:\\Users\\xxxxx\\...', 241) #1 C:\Users\xxxxx\.vscode\extensions\felixfbecker.php-intellisense-2.3.14\vendor\phpdocumentor\reflection-docblock\src\DocBlock\StandardTagFactory.php(198): phpDocumentor\Reflection\DocBlock\StandardTagFactory->getArgumentsForParametersFromWiring(Array, Array) #2 C:\Users\xxxxx\.vscode\extensions\felixfbecker.php-intellisense-2.3.14\vendor\phpdocumentor\reflection-docblock\src\DocBlock\StandardTagFactory.php(122): phpDocumentor\Reflection\DocBlock\StandardTagFactory->createTag('ClientCapabilit...', 'param', Object(phpDocumentor\Refl...

theCrazylegs avatar Apr 04 '21 10:04 theCrazylegs

I'd guess that's because this project hasn't been updated since 2018, but PHP 8.0 was launched only on November 26, 2020. Therefore, it ought not to be able to parse any recent PHP version...

GwynethLlewelyn avatar Apr 08 '21 22:04 GwynethLlewelyn

I'd guess that's because this project hasn't been updated since 2018, but PHP 8.0 was launched only on November 26, 2020. Therefore, it ought not to be able to parse any recent PHP version...

So, does any forked repos that supported already?

rk0cc avatar May 03 '21 12:05 rk0cc

So, does any forked repos that supported already?

Excellent question, I wish I knew I had an answer. But I guess that everybody is moving to Intelephense anyway. It's freemium software, but a lifetime license costs only €12, so there is probably not much of an incentive to keep developing something from scratch and keep it up-to-date...

GwynethLlewelyn avatar Aug 19 '21 22:08 GwynethLlewelyn

It's unfortunate this software hasn't been updated to support PHP 8.0

Ben-CA avatar Feb 08 '22 22:02 Ben-CA

Alas, you're right, and the probability of it ever getting updated again is tiny.

GwynethLlewelyn avatar Feb 18 '22 00:02 GwynethLlewelyn

I just found zobo's forked repos maybe worked up to PHP 8.1 (in GitHub action, officially said 'work in progress') when this comment posted and changed the minimum PHP version to 7.4.

It's also provides it's own Code extension ~~but required install from .vsix file manually~~ and published already.

rk0cc avatar Jun 02 '22 13:06 rk0cc