Open boesing opened 1 year ago
This is of limited utility since with this feature any version of dependency can be installed anyway on the new php version where we do need platform ignore and we got no reason to do platform ignore on like php 8.1 which then would prevent packages for >8.2 installed on 8.1
Feature Request
Summary
Composer with v2.2 released support for ignoring upper bounds of platform requirements. To do so, adding the
+
suffix to the platform requirement will suffice.This is quite useful, since
--ignore-platform-req=php
will mostly ignore any dependency and thus, depending on the constraint ranges, will also allow older PHP versions which weren't supported previously. This must not be related to laminas components but since laminas does sometimes use transitive dependencies, these dependencies could have a more wider range of supported PHP versions which then might install dependencies in case of--prefer-lowest
which do definitely not support the latest PHP version we are actually trying to test.From composer documentation: