Closed someniatko closed 2 years ago
This library only relies on composer's internal mechanism being available: if that doesn't work for "bin plugins" (honestly, just have a clean composer.json
+composer.lock
in a different directory instead), you should report it in the bin plugin or in composer itself.
This library no longer messes with the plugin system of composer (and glad it doesn't).
a clean
composer.json
+composer.lock
in a different directory
That's essentially what the bin plugin does.
This library lets the check pass if the CWD is set to that different directory (with the composer.json
containing psalm, infection and the infection plugin hack), however it doesn't if CWD is in the main project directory, with the main composer.json
not containing those tools.
I really suggest bringing it up there then: there's really not much code left here
Composer bin plugin seems to not be supported.
This prevents, for instance, running roave/infection-static-analysis-plugin when it's installed in a separate "bin" alongside with infection and psalm.