Skip to content

Commit 2f6a433

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-40822: [PHP7] Incompatible tests
fixed mess detector test
1 parent de97dff commit 2f6a433

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/CodeMessDetector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ public function __construct($rulesetFile, $reportFile)
4646
*/
4747
public function canRun()
4848
{
49-
/** TODO: Remove provided check after PHPMD will support PHP version 7 */
50-
$isPhpVersionSupported = PHP_VERSION_ID < 70000;
51-
return class_exists('PHPMD\TextUI\Command') && $isPhpVersionSupported;
49+
return class_exists('PHPMD\TextUI\Command');
5250
}
5351

5452
/**

0 commit comments

Comments
 (0)