Skip to content

Commit

Permalink
Update LiveCodeTest.php
Browse files Browse the repository at this point in the history
Excluded Setup directory
  • Loading branch information
sashas777 authored Apr 21, 2022
1 parent e354b5e commit 6a06918
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/integrity/testsuite/Magento/Test/Php/LiveCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ public function testCodeStyle()
$ignoreList[] = 'view';
$ignoreList[] = 'test-reports';
$ignoreList[] = 'Test';
$ignoreList[] = 'Setup';

if ($ignoreList) {
$ignoreListPattern = sprintf('#(%s)#i', implode('|', $ignoreList));
Expand Down Expand Up @@ -348,6 +349,8 @@ public function testCodeMess()
$ignoreList[] = 'clover.xml';
$ignoreList[] = 'test-reports';
$ignoreList[] = 'Test';
$ignoreList[] = 'Setup';

if ($ignoreList) {
$ignoreListPattern = sprintf('#(%s)#i', implode('|', $ignoreList));
$fileList = array_filter(
Expand Down Expand Up @@ -401,6 +404,7 @@ public function testCopyPaste()
$blackList[] = 'vendor';
$blackList[] = 'test-reports';
$blackList[] = 'Test';
$ignoreList[] = 'Setup';
$blackList[] = 'clover.xml';
$copyPasteDetector->setBlackList($blackList);

Expand Down Expand Up @@ -486,6 +490,7 @@ public function testPhpStan()
$blackList[] = 'vendor';
$blackList[] = 'test-reports';
$blackList[] = 'Test';
$ignoreList[] = 'Setup';
$blackList[] = 'clover.xml';
if ($blackList) {
$blackListPattern = sprintf('#(%s)#i', implode('|', $blackList));
Expand Down

0 comments on commit 6a06918

Please sign in to comment.