We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253f352 commit d6365b1Copy full SHA for d6365b1
src/Magento/FunctionalTestingFramework/StaticCheck/DeprecatedEntityUsageCheck.php
@@ -350,6 +350,11 @@ private function findReferenceErrorsInDataFiles($files)
350
$entities = $domDocument->getElementsByTagName('entity');
351
foreach ($entities as $entity) {
352
/** @var DOMElement $entity */
353
+ $deprecated = $entity->getAttribute('deprecated');
354
+ // skip check if entity is deprecated
355
+ if (!empty($deprecated)) {
356
+ continue;
357
+ }
358
$entityName = $entity->getAttribute('name');
359
$metadataType = $entity->getAttribute('type');
360
$parentEntityName = $entity->getAttribute('extends');
0 commit comments