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

CodeLens does not work if method parameters contain PHP8 features #107

Open
BladeMF opened this issue Jun 5, 2024 · 0 comments
Open

CodeLens does not work if method parameters contain PHP8 features #107

BladeMF opened this issue Jun 5, 2024 · 0 comments

Comments

@BladeMF
Copy link
Contributor

BladeMF commented Jun 5, 2024

Repro

Create a test method that has argument type hint in the form of array|(ArrayAccess&Countable&Traversable) $parentVisibleToRoles,

Outcome

There is no "Run test" link over the method name.

Expected outcome

A "Run test" link

Logs / output / settings

It appears that the php-parser library does not support PHP 8 features.

Environment Values
Extension version 4.16.1
Operating system Windows 11 23H2
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

1 participant