Conversation
| "repositories": [ | ||
| { | ||
| "type": "pear", | ||
| "url": "https://pear.php.net" | ||
| } | ||
| ], |
There was a problem hiding this comment.
let me get this straight, specifying this repository no longer works in composer v2?
There was a problem hiding this comment.
ok, I remember. It's been a long time. But I don't think this PR is really necessary, since it's specified in https://github.com/zf1s/phpunit/blob/master/.github/workflows/tests.yml#L52 to use composer v1, just offload the testing to github, why would you even want to run tests locally 😅
There was a problem hiding this comment.
@falkenhawk there have been too many issues to test it via github each time, new way works both in v1 and v2, so it's an improvement. It's about this issue:
composer/composer#8778
There was a problem hiding this comment.
yet it doesn't work on php 5.3, only the pear.php.net version is compatible
There was a problem hiding this comment.
it's a bit cumbersome, but locally installed composer can be switched to v1 and back to v2 with composer self-update --1, composer self-update --2
Fix for composer error:
"The PEAR repository has been removed from Composer 2.x"