diff --git a/core/tests/Drupal/Tests/ComposerIntegrationTest.php b/core/tests/Drupal/Tests/ComposerIntegrationTest.php index e9486b1..af6e280 100644 --- a/core/tests/Drupal/Tests/ComposerIntegrationTest.php +++ b/core/tests/Drupal/Tests/ComposerIntegrationTest.php @@ -181,13 +181,16 @@ public function testAllModulesReplaced() { /** * Tests package requirements for the minimum supported PHP version by Drupal. + * + * @todo This can be removed when DrupalCI supports dependency regression + * testing in https://www.drupal.org/node/2874198 */ public function testMinPHPVersion() { $lock = json_decode(file_get_contents($this->root . '/composer.lock'), TRUE); foreach ($lock['packages'] as $package) { if (isset($package['require']['php'])) { - $this->assertTrue(Semver::satisfies(static::MIN_PHP_VERSION, $package['require']['php'])); + $this->assertTrue(Semver::satisfies(static::MIN_PHP_VERSION, $package['require']['php']), $package['name'] . ' has a PHP dependency requirement of "' . $package['require']['php'] . '"'); } } }