Page MenuHomePhabricator

Do not check platform requirements with composer in a validate step (ci-src-setup)
Closed, DeclinedPublic

Description

In T183322: mwext-php70-phan-docker should've php-curl extension installed we changed a very basic container to include php-curl as a php extension, even if it isn't needed for any functionality done in this container. The reasoning was to work around, that composer, during the composer validate run made in the container, failed because of the missing dependency ext-curl in the container.

As this extension, and mostly all other platform requirements, are not needed in this container, this task is a starting point for a discussion how we can avoid adding these requirements to the container.

@Addshore suggested to run composer update with --ignore-platform-reqs in T183322.