magento / magento2-functional-testing-framework

Magento2 Functional Testing Framework
Other
155 stars 133 forks source link

MFTF blocks Psalm installing by its dependency #828

Open angel-rsa opened 3 years ago

angel-rsa commented 3 years ago

I am trying to install Psalm on top of Magento 2.4.2 with MFTF and am facing dependency incompatibility (package nikic/php-parser)

Preconditions

  1. Magento 2 Open Source 2.4.2
  2. Psalm latest version (vimeo/psalm 4.7.0)

Steps to reproduce

  1. Install Magento 2 Open Source 2.4.2
  2. Install Psalm

Expected result

  1. Have Psalm installed in the project

Actual result

` Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content. `

MFTF requires nikic/php-parser nikic/php-parser ~4.4.0 but Psalm requires nikic/php-parser ^4.10.1

m2-assistant[bot] commented 3 years ago

Hi @angel-rsa. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


jilu1 commented 3 years ago

@angel-rsa Dependency problem is possible if you are using newer version of modules. Have you tried to go back to earlier version of Psalm?

ronangr1 commented 2 years ago

composer require --dev psalm/phar

poke @FredericMartinez

FredericMartinez commented 2 years ago

composer require --dev psalm/phar yes

FredericMartinez commented 2 years ago

This issue should be closed