Skip to content
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

PHP8 Not compatible ? #809

Open
theCrazylegs opened this issue Apr 4, 2021 · 6 comments
Open

PHP8 Not compatible ? #809

theCrazylegs opened this issue Apr 4, 2021 · 6 comments

Comments

@theCrazylegs
Copy link

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...

@GwynethLlewelyn
Copy link

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...

@rk0cc
Copy link

rk0cc commented May 3, 2021

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?

@GwynethLlewelyn
Copy link

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...

@Ben-CA
Copy link

Ben-CA commented Feb 8, 2022

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

@GwynethLlewelyn
Copy link

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

@rk0cc
Copy link

rk0cc commented Jun 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants