intelephense-docs icon indicating copy to clipboard operation
intelephense-docs copied to clipboard

Using php package not in the vendor direcory

Open fabiosal opened this issue 5 years ago • 2 comments

Hi ,

in symfony framework the phpunit/phpunit package isn't placed under the vendor directory as usual but inside bin/.phpunit

I think that this is the reason why intelephense can't autocomplete and lint files that involve classes related to phpunit/phpunit package properly.

Is it possible to solve this issue?

Thank you

fabiosal avatar Dec 24 '19 18:12 fabiosal

I think you are probably using the phpunit phar package. Unfortunately, phar packages are not currently supported. If you are already using composer then you can get the full phpunit source code with

composer require --dev phpunit/phpunit

bmewburn avatar Dec 28 '19 00:12 bmewburn