Skip to content

Commit 5d04411

Browse files
committed
AC-670: Create phpcs static check for LayoutTest
1 parent cc12906 commit 5d04411

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Magento2/Tests/Legacy/LayoutUnitTest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ public function getErrorList($testFile = '')
1616
{
1717
if ($testFile === 'LayoutUnitTest.1.xml') {
1818
return [
19+
23 => 1,
20+
146 => 1,
21+
149 => 1,
22+
];
23+
}
24+
if ($testFile === 'LayoutUnitTest.2.xml') {
25+
return [
26+
12 => 1,
27+
29 => 1,
28+
];
29+
}
30+
if ($testFile === 'LayoutUnitTest.3.xml') {
31+
return [
32+
16 => 1,
33+
19 => 1,
1934
];
2035
}
2136
return [];

0 commit comments

Comments
 (0)