This reverts commit c36d11d1bca0a85dde6ca4d52bd4aceeb54dbd8f.
Reverting #927
While #907 allows reinstallling deps with flex enabled, this has two issues:
composer 1 refuses to downgrade deps so it doesn't work there
composer 2 downgrades from eg 6.1 to 5.4 when reinstalling with flex
While the issue on c1 can be fixed, in both cases composer will have resolved deps with the latest version for nothing, creating a slower than needed experience.
This reverts commit c36d11d1bca0a85dde6ca4d52bd4aceeb54dbd8f.
Reverting #927
While #907 allows reinstallling deps with flex enabled, this has two issues:
While the issue on c1 can be fixed, in both cases composer will have resolved deps with the latest version for nothing, creating a slower than needed experience.