Composer packages not being updated correctly

I have setup composer support for my PHP project and it use to work fine however sometime recently (not sure exactly when) the newly added/updated packages no are no longer indexed or something. All autocomplete namespace support for newly added packages doesn't work however the packages I had previously appear to still be searchable but if I open one of those files all the comments have been stripped and the code inside functions has also been stripped.

I have have run through all the config settings and they appear correct.

In the projects file list at the end there is an "External Libraries" area. Are the composer packages meant to appear in this area? If that is the case they aren't showing.

0
4 comments
Avatar
Permanently deleted user
0
Avatar
Permanently deleted user

I just worked out the cause of the issue. I have a vendor-dir set in my composer.json file. Is there some way to keep that line without it effecting the install/update process?

0

> Is there some way to keep that line without it effecting the install/update process?

No, otherwise there will be no point in keeping this line at all (as far as I can see).

To be honest, I don't quite get the issue - you've changed vendor-dir in your composer.json, but how exactly did it break everything?

0
Avatar
Permanently deleted user

It didn't break everything. I was unable to see anything related to those composer packages in PHPStorm though.

0

Please sign in to leave a comment.