From 63ae76b25e5ad8b9f68f88345607ea5c29489bc4 Mon Sep 17 00:00:00 2001 From: yaazkal Date: Fri, 9 Mar 2018 12:26:31 -0500 Subject: [PATCH] Makes the core and dev requirements more semantic In composer, specifying ~8.5 will actually match 8.x.x greater than 8.5, if the intention is to match 8.5.x and prevent matching 8.6 when an update is available, the correct way of doing it is setting ~8.5.0 to match 8.5.x greater than 8.5.0 wich is the current 8 version. Same applies to the webflo/drupal-core-require-dev --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 483713e..4d63650 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "drupal-composer/drupal-scaffold": "^2.2", "drupal/admin_toolbar": "~1.0", "drupal/console": "~1.0", - "drupal/core": "~8.5", + "drupal/core": "~8.5.0", "drupal/commerce": "~2.0", "drupal/search_api": "~1.0", "drupal/swiftmailer": "~1.0", @@ -45,7 +45,7 @@ "webmozart/path-util": "^2.3" }, "require-dev": { - "webflo/drupal-core-require-dev": "~8.4" + "webflo/drupal-core-require-dev": "~8.5.0" }, "conflict": { "drupal/drupal": "*"