Skip to content

Commit e5c9879

Browse files
committed
MQE-810: Create a static test to validate references between modules
- Fixed Static Check
1 parent 334416c commit e5c9879

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Magento/FunctionalTestingFramework/StaticCheck/TestDependencyCheck.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ private function findErrorsInFileSet($files)
215215

216216
if (!empty($violatingReferences)) {
217217
// Build error output
218-
$errorOutput = "\nFile \"{$filePath->getRealPath()}\"\ncontains entity references that violate dependency constraints:\n\t\t";
218+
$errorOutput = "\nFile \"{$filePath->getRealPath()}\"";
219+
$errorOutput .= "\ncontains entity references that violate dependency constraints:\n\t\t";
219220
foreach ($violatingReferences as $entityName => $files) {
220221
$errorOutput .= "\n\t {$entityName} from module(s): " . implode(", ", $files);
221222
}

0 commit comments

Comments
 (0)