Closed SebSept closed 2 years ago
Indeed, it doesn't look like a good practice... https://github.com/composer/composer/issues/5163#issuecomment-207347350
I wonder if using the --ignore-platform-reqs
option for dev dependencies only is problematic? They will never be used in production environment but on the other hand, not sure if mentioning that developers have to use the PHP 7.3 in the documentation will be enough for DX...
I think using plateform requirement is a good think to ensure annonced compatibility.
but ready the doc again, I'm not sure it's a good thing. If no ones has the knowledge, we should close this issue.. @friends-of-presta/fop-console-contributors
Yup it doesn't seem to be a solution for this use case.
if it's finally a good thing, you can reopen or comment this.
define target php version using composer platform config. https://getcomposer.org/doc/06-config.md#platform can be useful when using a more recent php version while developing this fop_console.
Not a good idea ?