Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt test for changed Composer output #151

Merged
merged 2 commits into from
Jul 14, 2022
Merged

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
3 participants