Skip to content

Commit 4929b1a

Browse files
committed
AC-670: Create phpcs static check for LayoutTest
1 parent 98cf893 commit 4929b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/Legacy/LayoutSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function process(File $phpcsFile, $stackPtr)
247247
private function testObsoleteReferences(SimpleXMLElement $layout, File $phpcsFile): void
248248
{
249249
foreach ($layout as $handle) {
250-
if (!isset($this->_obsoleteReferences[$handle->getName()])) {
250+
if (!isset($this->obsoleteReferences[$handle->getName()])) {
251251
continue;
252252
}
253253
foreach ($handle->xpath('reference') as $reference) {

0 commit comments

Comments
 (0)