Because this is the only wp cli project that requires PHP 7.4 (even though the general supported version is 5.6) it makes testing locally on lower versions of PHP hard because of these errors:
Problem 1
- Root composer.json requires wp-cli/dist-archive-command dev-main -> satisfiable by wp-cli/dist-archive-command[dev-main].
- wp-cli/dist-archive-command dev-main requires php >=7.4 -> your php version (7.2.34) does not satisfy that requirement.
You can't just composer update --ignore-platform-reqs because then it installs newer versions of everything.
Does this project really need PHP 7.4? In the commit that raised the requirement it doesn't seem obvious why but Im not familiar otherwise.
I just manually remove the deps for now, but I think it would be nice if wp-cli-dev could just work on older versions of PHP if we are meant to support them.
Because this is the only wp cli project that requires PHP 7.4 (even though the general supported version is 5.6) it makes testing locally on lower versions of PHP hard because of these errors:
You can't just
composer update --ignore-platform-reqsbecause then it installs newer versions of everything.Does this project really need PHP 7.4? In the commit that raised the requirement it doesn't seem obvious why but Im not familiar otherwise.
I just manually remove the deps for now, but I think it would be nice if wp-cli-dev could just work on older versions of PHP if we are meant to support them.