Skip to content

Commit 9db2bd0

Browse files
committed
MAGETWO-94083: Impossible get information about static errors on PR
- create empty report file for the case when there no php and phtml files
1 parent 46c300e commit 9db2bd0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ private function getFullWhitelist()
256256
}
257257
}
258258

259+
/**
260+
* Test code quality using phpcs
261+
*/
259262
public function testCodeStyle()
260263
{
261264
$isFullScan = defined('TESTCODESTYLE_IS_FULL_SCAN') && TESTCODESTYLE_IS_FULL_SCAN === '1';
@@ -273,6 +276,9 @@ public function testCodeStyle()
273276
);
274277
}
275278

279+
/**
280+
* Test code quality using phpmd
281+
*/
276282
public function testCodeMess()
277283
{
278284
$reportFile = self::$reportDir . '/phpmd_report.txt';
@@ -301,6 +307,9 @@ public function testCodeMess()
301307
}
302308
}
303309

310+
/**
311+
* Test code quality using phpcpd
312+
*/
304313
public function testCopyPaste()
305314
{
306315
$reportFile = self::$reportDir . '/phpcpd_report.xml';

0 commit comments

Comments
 (0)