You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dependence on "johnpbloch/wordpress-core": "dev-master" is now failing on PHP 5.6, which I understand is still supposed to be supported.
Describe how other contributors can replicate this bug
make your PHP 5.6
use composer 2.2 (so 5.6 is supported)
clone wp-cli-dev
composer install.
The error is:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires johnpbloch/wordpress-core dev-master -> satisfiable by johnpbloch/wordpress-core[dev-master].
- johnpbloch/wordpress-core dev-master requires php >=7.0.0 -> your php version (5.6.40) does not satisfy that requirement.
Describe what you would expect as the correct outcome
It should succed
Let us know what environment you are running this on
OS: Linux toddr-cl8.dev.cpanel.net 4.18.0-477.13.1.lve.1.el8.x86_64 #1 SMP Mon Jul 17 15:05:09 EDT 2023 x86_64
Shell: /usr/bin/zsh
PHP binary: /home/cli/bin/php
PHP version: 5.6.40
php.ini used: /opt/cpanel/ea-php56/root/etc/php.ini
MySQL binary: /usr/bin/mysql
MySQL version: mysql Ver 8.0.34 for Linux on x86_64 (MySQL Community Server - GPL)
SQL modes:
WP-CLI root dir: /home/cli/wp-cli-dev/wp-cli
WP-CLI vendor dir: /home/cli/wp-cli-dev/wp-cli/vendor
WP_CLI phar path:
WP-CLI packages dir:
WP-CLI cache dir: /home/cli/.wp-cli/cache
WP-CLI global config:
WP-CLI project config: /home/cli/wp-cli-dev/wp-cli.yml
WP-CLI version: 2.9.0-alpha
Provide a possible solution
I think this is the fix but I don't know enough about composer.json to be sure.
Bug Report
Describe the current, buggy behavior
The dependence on
"johnpbloch/wordpress-core": "dev-master"
is now failing on PHP 5.6, which I understand is still supposed to be supported.Describe how other contributors can replicate this bug
The error is:
Describe what you would expect as the correct outcome
It should succed
Let us know what environment you are running this on
Provide a possible solution
I think this is the fix but I don't know enough about composer.json to be sure.
The text was updated successfully, but these errors were encountered: