From b0a45f357b789501595500030b8bf4da1d90c8ff Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Sat, 25 Sep 2021 07:38:36 -0400 Subject: [PATCH] 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]. --- composer.project.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.project.json b/composer.project.json index 53c088137..71daad99d 100644 --- a/composer.project.json +++ b/composer.project.json @@ -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": {