Include symfony/finder in require-dev to fix version pinning issue when using composer-merge-plugin.

Resolves:

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

  Problem 1
    - drupal/core-dev[9.2.0-alpha1, ..., 9.2.x-dev] require symfony/finder ^4.4 -> found symfony/finder[v4.4.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.3.7 (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.
    - Root composer.json requires drupal/core-dev ~9.2.0 -> satisfiable by drupal/core-dev[9.2.0-alpha1, ..., 9.2.x-dev].
This commit is contained in:
Michael Stenta 2021-09-25 07:38:36 -04:00
parent bd33d0f139
commit b0a45f357b
1 changed files with 3 additions and 1 deletions

View File

@ -6,9 +6,11 @@
"require-dev": {
"brianium/paratest": "^4",
"drupal/core-dev": "~9.2.0",
"phpspec/prophecy-phpunit": "^2"
"phpspec/prophecy-phpunit": "^2",
"symfony/finder": "^4.0"
},
"_comments": {
"symfony/finder": "Required to pin v4, otherwise composer-merge-plugin causes problem: package is fixed to v5.3.7 (lock file version) by a partial update",
"phpspec/prophecy-phpunit": "Required to fix ProphecyTrait not found, until Drupal core drops support for PHPUnit 8. See https://www.drupal.org/node/3176567"
},
"conflict": {