Skip to content

Commit d6365b1

Browse files
committed
MQE-2229: Deprecation Error When Deprecated ActionGroup References Deprecated Element
Suppressed check for data entities
1 parent 253f352 commit d6365b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Magento/FunctionalTestingFramework/StaticCheck/DeprecatedEntityUsageCheck.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,11 @@ private function findReferenceErrorsInDataFiles($files)
350350
$entities = $domDocument->getElementsByTagName('entity');
351351
foreach ($entities as $entity) {
352352
/** @var DOMElement $entity */
353+
$deprecated = $entity->getAttribute('deprecated');
354+
// skip check if entity is deprecated
355+
if (!empty($deprecated)) {
356+
continue;
357+
}
353358
$entityName = $entity->getAttribute('name');
354359
$metadataType = $entity->getAttribute('type');
355360
$parentEntityName = $entity->getAttribute('extends');

0 commit comments

Comments
 (0)