Skip to content

Commit 1c89cde

Browse files
committed
MAGETWO-61364: [GitHub] Dependency check in the static tests fails for non core modules #7421
1 parent bd1aa51 commit 1c89cde

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/static/framework/Magento/TestFramework/Dependency

1 file changed

+1
-1
lines changed

dev/tests/static/framework/Magento/TestFramework/Dependency/DiRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ private function getPattern()
4040
{
4141
if ($this->pattern === null) {
4242
$this->pattern = '~\b(?<class>(?<module>('
43-
. implode('_|', Files::init()->getNamespaces())
43+
. implode('[_\\\\]|', Files::init()->getNamespaces())
4444
. '[_\\\\])[a-zA-Z0-9]+)[a-zA-Z0-9_\\\\]*)\b~';
4545
}
4646

0 commit comments

Comments
 (0)