Skip to content

Conversation

@schlessera
Copy link
Member

@schlessera schlessera commented Jul 14, 2022

Composer changed its output about the development branch to not only include the actual branch, but also some BC aliases in case the default branch was changed, i.e. from (dev-main) to (dev-main || dev-master || dev-trunk).

This PR makes the tests when installing a package flexible enough to deal with this change in output.

Fixes #152

@schlessera schlessera requested a review from a team as a code owner July 14, 2022 13:05
@wojsmol
Copy link
Contributor

wojsmol commented Jul 14, 2022

@schlessera For the test failures about Declaration of WP_CLI\ComposerIO::isVerbose we have issue here #152.

@schlessera
Copy link
Member Author

The test failures come from Composer v2.3, which includes breaking changes. As Composer v2.3 is not compatible with PHP 5.6 anymore anyway, we just lock into 2.2 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Declaration of WP_CLI\ComposerIO::isVerbose() and others not compatible with Composer\IO\NullIO::isVerbose(): bool

4 participants