Skip to content

Commit 2c4d9b1

Browse files
committed
MC-39542: : Change LiveCodeTest php stability test
- Return error if not PHP supported versions are defined in composer.json
1 parent dfad73d commit 2c4d9b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ public function testStrictTypes()
414414
public function testPhpCompatibility()
415415
{
416416
$targetVersions = $this->getTargetPhpVersions();
417+
$this->assertNotEmpty($targetVersions, 'No supported versions information in composer.json');
417418
$reportFile = self::$reportDir . '/phpcompatibility_report.txt';
418419
$rulesetDir = __DIR__ . '/_files/PHPCompatibilityMagento';
419420

0 commit comments

Comments
 (0)