This PR adds a compatiblity shim for ComposerIO\NullIO so that it works with Composer 2.3+ which added type declarations and thereby changed method signatures and broke BC.
This PR moves the ComposerIO class over from the wp-cli/wp-cli. This seems to have been a left-ver from when the original WP-CLI monorepo was split up.
The PR also removes the upper limit on the Composer version now, and was successfully tested with Composer 2.6+.
Props to @stefanfisk for a lot of the initial digging and work on the previous PR.
Fixes #172 Supersedes https://github.com/wp-cli/wp-cli/pull/5757/
This PR adds a compatiblity shim for
ComposerIO\NullIO
so that it works with Composer 2.3+ which added type declarations and thereby changed method signatures and broke BC.This PR moves the
ComposerIO
class over from thewp-cli/wp-cli
. This seems to have been a left-ver from when the original WP-CLI monorepo was split up.The PR also removes the upper limit on the Composer version now, and was successfully tested with Composer 2.6+.
Props to @stefanfisk for a lot of the initial digging and work on the previous PR.