Question

We run Magento 2.4 with php7.4, that should be supported. But we get the following error when we try to update a module using composer:

magento/magento2-functional-testing-framework 2.6.5 requires php ~7.1.0||~7.2.0||~7.3.0 -> your PHP version (7.4.7) does not satisfy that requirement.

Installation request for magento/magento2-functional-testing-framework (locked at 2.6.5, required as ~2.6.4) -> satisfiable by magento/magento2-functional-testing-framework[2.6.5]

How can we solve this?

Was it helpful?

Solution

Update to "~3.1.0". You can get list of available versions like this

composer show magento/magento2-functional-testing-framework 3.*.* --all | grep -m 1 versions

OTHER TIPS

if you look at magento 2.4 open source composer files, you will find

https://github.com/magento/magento2/blob/445b0f1a3d6a91b5da32d311077c2112ef0b1503/composer.json#L117

so try 3.0 version

there are few changes that you need to do in your composer.json Me helped: https://github.com/magento/magento2/issues/29350#issuecomment-751921479

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top