diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 773c130..6106c13 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,6 +25,8 @@ jobs: drupal-version: "^9" - php-version: "8.0" drupal-version: "^9" + - php-version: "8.0" + drupal-version: "10.0.x-dev" env: extensions: zip, gd key: cache-v1 diff --git a/dist/index.js b/dist/index.js index 88b57ad..016c208 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2269,7 +2269,7 @@ async function doScript() { ['require', '--dev', `drupal/core-dev:${drupalVersion}`], ]; if (utils.getMajorVersionFromConstraint(drupalVersion) > 8) { - commands.push(['require', '--dev', 'phpspec/prophecy-phpunit:^2']); + commands.push(['require', '--dev', '--with-all-dependencies', 'phpspec/prophecy-phpunit:^2']); } if (extraDependencies) { commands.push(['require', extraDependencies]); diff --git a/src/index.js b/src/index.js index f7879a5..4f16217 100644 --- a/src/index.js +++ b/src/index.js @@ -32,7 +32,7 @@ async function doScript() { ['require', '--dev', `drupal/core-dev:${drupalVersion}`], ]; if (utils.getMajorVersionFromConstraint(drupalVersion) > 8) { - commands.push(['require', '--dev', 'phpspec/prophecy-phpunit:^2', '--with-all-dependencies']); + commands.push(['require', '--dev', '--with-all-dependencies', 'phpspec/prophecy-phpunit:^2']); } if (extraDependencies) { commands.push(['require', extraDependencies]);