Skip to content

Commit f8a4502

Browse files
MAGETWO-92468: Blacklisting non-Magento code directories from copyright test
1 parent 5f0ccaf commit f8a4502

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/static/testsuite/Magento/Test/Legacy/_files/copyright

1 file changed

+2
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Legacy/_files/copyright/blacklist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
return [
77
'/\.(jpe?g|png|gif|ttf|swf|eot|woff|pdf|mp3|pdf|jar|jbf)$/',
88
'/pub\/opt\/magento\/var/',
9-
'/COPYING\.txt/'
9+
'/COPYING\.txt/',
10+
'/app\/code\/(?!Magento)[^\/]*/'
1011
];

0 commit comments

Comments
 (0)