Closed bytehead closed 2 years ago
Could possibly, I'll check.
Changed in 9d5d93f accordingly.
This will break compatibility with previous composer versions (and thus possibly also the Contao Manager - not sure though @aschempp).
@fritzmg You're right, Composer itself ships before 2.3.0 with symfony/process
in 2.8.x
.
I've added a fallback in deed078.
I think we should go with the setCommandline
check. The symfony/process
version in the Contao Manager is different from what the pre-build composer.phar
contains, since we only support PHP 7.1+ by default. Checking for setCommandline
should handle all use cases.
I don't get the correlation between the argument type hinting and setCommandline
? 🤔
I don't get the correlation between the argument type hinting and
setCommandline
? 🤔
The symfony/process
version that introduced support for the array argument also introduced that method.
We should merge this ASAP, because Contao can no longer be installed with Composer 2.3.
Fixes #87