Skip to content

Commit 00279ba

Browse files
author
Oleksii Korshenko
committed
MAGETWO-65199: [GitHub][PR] [PSR-2 Compliance] Fix #8612: Hundreds of PHPCS-based static tests violations in mainline #8685
- fixed code style issue
1 parent 3710ecb commit 00279ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private function getFullWhitelist()
198198
return Files::init()->readLists(__DIR__ . '/_files/whitelist/common.txt');
199199
}
200200

201-
public function testNoViolationsDetectedByPhpCodeSniffer()
201+
public function testCodeStyle()
202202
{
203203
$reportFile = self::$reportDir . '/phpcs_report.txt';
204204
$codeSniffer = new CodeSniffer('Magento', $reportFile, new Wrapper());
@@ -209,7 +209,7 @@ public function testNoViolationsDetectedByPhpCodeSniffer()
209209
);
210210
}
211211

212-
public function testNoViolationsDetectedByPhpMessDetector()
212+
public function testCodeMess()
213213
{
214214
$reportFile = self::$reportDir . '/phpmd_report.txt';
215215
$codeMessDetector = new CodeMessDetector(realpath(__DIR__ . '/_files/phpmd/ruleset.xml'), $reportFile);
@@ -237,7 +237,7 @@ public function testNoViolationsDetectedByPhpMessDetector()
237237
}
238238
}
239239

240-
public function testNoViolationsDetectedByPhpCopyPasteDetector()
240+
public function testCopyPaste()
241241
{
242242
$reportFile = self::$reportDir . '/phpcpd_report.xml';
243243
$copyPasteDetector = new CopyPasteDetector($reportFile);

0 commit comments

Comments
 (0)