File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
testsuite/Magento/Test/Php/_files/phpmd Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
6
6
xsi : noNamespaceSchemaLocation =" http://pmd.sf.net/ruleset_xml_schema.xsd" >
7
7
<rule name =" FinalImplementation"
8
- class =" Magento\MessDetector \Rule\Design\FinalImplementation"
8
+ class =" Magento\CodeMessDetector \Rule\Design\FinalImplementation"
9
9
message = " The {0} {1} declared as final." >
10
10
<description >
11
11
<![CDATA[
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \MessDetector \Rule \Design ;
7
+ namespace Magento \CodeMessDetector \Rule \Design ;
8
8
9
9
use PHPMD \AbstractNode ;
10
10
use PHPMD \AbstractRule ;
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
+ $ autoloadWrapper ->addPsr4 ('Magento \\CodeMessDetector \\' , $ testsBaseDir . '/framework/Magento/CodeMessDetector /src ' );
22
22
23
23
$ generatedCode = DirectoryList::getDefaultConfig ()[DirectoryList::GENERATED_CODE ][DirectoryList::PATH ];
24
24
$ autoloadWrapper ->addPsr4 ('Magento \\' , $ baseDir . '/ ' . $ generatedCode . '/Magento/ ' );
Original file line number Diff line number Diff line change 46
46
<rule ref =" rulesets/naming.xml/BooleanGetMethodName" />
47
47
48
48
<!-- Magento Specific Rules -->
49
- <rule ref =" Magento/MessDetector /resources/rulesets/design.xml/FinalImplementation" />
49
+ <rule ref =" Magento/CodeMessDetector /resources/rulesets/design.xml/FinalImplementation" />
50
50
51
51
</ruleset >
You can’t perform that action at this time.
0 commit comments