Closed jrfnl closed 2 years ago
As of Composer 2.3.3, the change in the second commit (test bootstrap) isn't strictly necessary anymore. Still doesn't do any harm either in case someone is running the tests locally and still has Composer 2.3.0 - 2.3.2 installed.
Refs:
Proposed Changes
Composer 2.3 drops support for PHP < 7.2, so for PHP 5.4 to 7.1,
v2
will install Composer 2.2, for PHP 7.2 and up,v2
will install Composer 2.3. These extra builds make sure the Composer 2.2 LTS version will continue to be 100% supported for PHP 7.2-8.x.Refs:
Test bootstrap: tweak the version determination regex
Apparently, Composer 2.3.0 dropped the word
version
from the--version
output ;-)Output on Composer 2.2 and lower:
Composer 2.3 output: