My problem, as posted at the top, is not solved and cannot be as things stand. I downloaded the 2.3.1 release to check, and the composer.json for the magento-backend module in there is the same as the one I listed. How can any module which won't run on a PHP version after 7.2.0 work with PHP 7.2.16?
Can you hand edit that composer.json just to get by?
Best,
My composer is the default one in the new magento 2.3.1 release.
My PHP version is 7.2.16
Try run:
composer require phpunit/phpunit 6.2.4 --no-update --ignore-platform-reqs
composer update --lock
If you want to see any trouble with composer this could be helpful also, run.
composer diagnose
And test again.
Do you mean the composer.json in the root Magento folder, or the one in the backend-module folder?
@Anonymous wrote:Best,
My composer is the default one in the new magento 2.3.1 release.
My PHP version is 7.2.16
Try run:
composer require phpunit/phpunit 6.2.4 --no-update --ignore-platform-reqs
composer update --lock
If you want to see any trouble with composer this could be helpful also, run.
composer diagnose
And test again.
Best,
In the root folder do not touch any other files it will break your Magento.
It is not necessary to change any composer.json file except the one in the root folder.
Best regards