File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
dev/tests/static/testsuite/Magento/Test/Integrity Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,17 @@ public function testCoversAnnotation()
531
531
{
532
532
$ files = \Magento \Framework \App \Utility \Files::init ();
533
533
$ errors = [];
534
- foreach ($ files ->getFiles ([BP . '/dev/tests/{integration,unit} ' ], '* ' ) as $ file ) {
534
+ $ fileList = $ files ->getFiles (
535
+ [
536
+ BP . '/dev/tests/{integration,unit} ' ,
537
+ BP . '/app/code/*/*/Test/Unit ' ,
538
+ BP . '/lib/internal/*/*/*/Test/Unit ' ,
539
+ BP . '/dev/tools/Magento/Tools/*/Test/Unit ' ,
540
+ BP . '/setup/src/Magento/Setup/Test/Unit ' ,
541
+ ],
542
+ '*.php '
543
+ );
544
+ foreach ($ fileList as $ file ) {
535
545
$ code = file_get_contents ($ file );
536
546
if (preg_match ('/@covers(DefaultClass)?\s+([\w \\\\]+)(::([\w \\\\]+))?/ ' , $ code , $ matches )) {
537
547
if ($ this ->isNonexistentEntityCovered ($ matches )) {
You can’t perform that action at this time.
0 commit comments