Skip to content

Commit b8cdc6b

Browse files
author
Joan He
committed
Merge remote-tracking branch 'origin/MAGETWO-35060-cpd' into MAGETWO-28383-restore-whitelist
2 parents 1336ef4 + 83bda8a commit b8cdc6b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function testCopyPaste()
204204
$copyPasteDetector->setBlackList($blackList);
205205

206206
$this->assertTrue(
207-
$copyPasteDetector->run(self::getWhitelist(['php'])),
207+
$copyPasteDetector->run([BP]),
208208
"PHP Copy/Paste Detector has found error(s): See detailed report in {$reportFile}"
209209
);
210210
}

dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
app/code/Magento
2+
lib/internal/Magento
13
Magento/Adminhtml
24
Magento/Authorizenet/Model
35
Magento/Backend

0 commit comments

Comments
 (0)