-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
Description
Upon updating the composer.json
with PHP 8 e.g.
"config": {
"platform": {
"php": "8.0"
}
},
Then running composer update
➜ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires mailgun/mailgun-php ^3.4 -> satisfiable by mailgun/mailgun-php[3.4.0].
- mailgun/mailgun-php 3.4.0 requires php-http/client-common ^2.2.1 -> found php-http/client-common[dev-master, 2.2.1, 2.3.0, 2.3.x-dev (alias of dev-master)] but the package is fixed to 1.10.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
- cspoo/swiftmailer-mailgun-bundle 1.2.0 requires mailgun/mailgun-php ^2.3 -> found mailgun/mailgun-php[v2.3.0, ..., 2.x-dev] but it conflicts with your root composer.json require (^3.4).
- craftcms/mailgun 1.4.3 requires cspoo/swiftmailer-mailgun-bundle ^1.0.0 -> satisfiable by cspoo/swiftmailer-mailgun-bundle[1.2.0].
- craftcms/mailgun is locked to version 1.4.3 and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
I believe because craftcms/mailgun is locked to version 1.4.3 and an update of this package was not requested.
This means that the other dependencies cannot be updated as craftcms/mailgun
requires specific packages at versions which do not support PHP 8?
Thanks
leigeber, niektenhoopen, boldenamsterdam, karensg and timmyomahony