Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
static
framework
tests
unit
testsuite
Magento
TestFramework
CodingStandard
Tool
CodeMessDetectorTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\TestFramework\CodingStandard\Tool
;
7
8
class
CodeMessDetectorTest
extends
\PHPUnit\Framework\TestCase
9
{
10
public
function
testCanRun
()
11
{
12
$messDetector = new \Magento\TestFramework\CodingStandard\Tool\CodeMessDetector(
13
'some/ruleset/file.xml'
,
14
'some/report/file.xml'
15
);
16
17
$this->assertEquals(
18
class_exists
(\PHPMD\TextUI\Command::class),
19
$messDetector->canRun()
20
);
21
}
22
}
Magento\TestFramework\CodingStandard\Tool\CodeMessDetectorTest
Definition:
CodeMessDetectorTest.php:8
Magento\TestFramework\CodingStandard\Tool
Definition:
BlacklistInterface.php:7
Magento\Framework\Code\Generator\class_exists
class_exists($className)
Definition:
DefinedClassesTest.php:15
Magento\TestFramework\CodingStandard\Tool\CodeMessDetectorTest\testCanRun
testCanRun()
Definition:
CodeMessDetectorTest.php:10