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
symfony/console version mismatch between Magento2.4.7 and MFTF 4.7.2 Standalone produces the following error when I run bin/mftf run:test AdminLoginFailedTest -r -vvv:
PHP Fatal error: Declaration of Symfony\Component\Console\Input\ArrayInput::hasParameterOption(array|string $values, bool $onlyParams = false): bool must be compatible with Symfony\Component\Console\Input\InputInterface::hasParameterOption($values, bool $onlyParams = false) in /var/www/html/magento2test/vendor/symfony/console/Input/ArrayInput.php on line 50
QUICKFIX
Remove "require-dev": {"brainmaestro/composer-git-hooks": "^2.8.5" } dependency from composer.json and run composer update
The text was updated successfully, but these errors were encountered:
Hi @Nurgiel. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Nurgiel
changed the title
symfony/console dependency mismatch in MFTF v4.7.2 and Magento v.2.4.7
symfony/console dependency mismatch in MFTF v4.7.2 Standalone and Magento v.2.4.7
Apr 23, 2024
Preconditions
Latest MFTF version from master branch (https://github.com/magento/magento2-functional-testing-framework/tree/master) doesn't work with Magento 2.4.7, because M2.4.7 uses:
and latest MFTF is locked to symfony/console ^5.0 due to brainmaestro/composer-git-hooks dependency:
symfony/console version mismatch between Magento2.4.7 and MFTF 4.7.2 Standalone produces the following error when I run
bin/mftf run:test AdminLoginFailedTest -r -vvv
:QUICKFIX
Remove "require-dev": {"brainmaestro/composer-git-hooks": "^2.8.5" } dependency from composer.json and run composer update
The text was updated successfully, but these errors were encountered: