File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
testsuite/Magento/Test/Php/_files/phpmd Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 18
18
$ testsBaseDir . '/../integration/framework/Magento/TestFramework/ ' ,
19
19
]
20
20
);
21
+ $ autoloadWrapper ->addPsr4 ('Magento \\MessDetector \\' , $ testsBaseDir . '/framework/Magento/MessDetector/src ' );
21
22
22
23
$ generatedCode = DirectoryList::getDefaultConfig ()[DirectoryList::GENERATED_CODE ][DirectoryList::PATH ];
23
24
$ autoloadWrapper ->addPsr4 ('Magento \\' , $ baseDir . '/ ' . $ generatedCode . '/Magento/ ' );
Original file line number Diff line number Diff line change 10
10
xsi : schemaLocation =" http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
11
11
xsi : noNamespaceSchemaLocation =" http://pmd.sf.net/ruleset_xml_schema.xsd" >
12
12
<description >Magento Code Check Rules</description >
13
+ <php-includepath >../../../../../../framework</php-includepath >
13
14
14
15
<!-- Code Size Rules -->
15
16
<rule ref =" rulesets/codesize.xml/CyclomaticComplexity" />
43
44
<rule ref =" rulesets/naming.xml/ShortMethodName" />
44
45
<rule ref =" rulesets/naming.xml/ConstantNamingConventions" />
45
46
<rule ref =" rulesets/naming.xml/BooleanGetMethodName" />
47
+
48
+ <!-- Magento Specific Rules -->
49
+ <rule ref =" Magento/MessDetector/resources/rulesets/design.xml/FinalImplementation" />
50
+
46
51
</ruleset >
You can’t perform that action at this time.
0 commit comments