Skip to content

Commit 47a0536

Browse files
committed
AC-659: Create phpcs static check for ModuleXMLTest
1 parent 53e9d75 commit 47a0536

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9+
<module name="Magento_TestModule2" />
10+
</config>

Magento2/Tests/Legacy/ModuleXMLUnitTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public function getWarningList($testFile = '')
3232
9 => 2,
3333
];
3434
}
35+
if ($testFile === 'ModuleXMLUnitTest.3.xml') {
36+
return [];
37+
}
3538
return [];
3639
}
3740
}

0 commit comments

Comments
 (0)