-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi,
I have the following constellation:
- PHPStan is installed globally (
composer global require ...) - My project is of course "local" and I use PHPStan there.
My problem is as follows:
- I run PHPStan after setup, and results are as expected.
- Then I run
composer installlocally in the project. - When I run PHPStan again, the scan fails.
This is because the extension installer re-generates the GeneratedConfig on composer install, and because there are no extensions installed locally, the config is now empty. This leads to some code not being correctly interpreted because the extensions are ignored.
Is there anything I need to do, or do you have other advice? Thanks! :-)
giosh94mhz
Metadata
Metadata
Assignees
Labels
No labels