composer global packages inspection
Hi!
I installed some composer(codeception) packages globally (~/.composer/vendor). The codeception tests work ok but PhpStorm underlines some code where meets namespaces/classes from global composer packages. How can I setup PhpStorm to make it "see" global composer packages?
Thank you!
Please sign in to leave a comment.
underlines = 'Undefined namespace' warning
Hi there,
You can add any external library/package at "Settings/Preferences | Languages & Frameworks | PHP --> Include path"
Have you installed it this way: https://www.youtube.com/watch?v=1yl9K-25qA0 ?
Can you share a code part/screenshot of an issue?
Andriy Bazanov, yes but I need to do it for each single package subdirectory, is not? Is there an universal way to make "known" all globally installed composer packages?
Dmitry Tronin, no, I installed it via console:
Andriy Bazanov, my mistake: just added one path ~/.composer/vendor and all ok, thnx
anyway I think it will better to determine global packages automatically
thank you!