Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | public function testClassNameSingleResponsibilityRule() |
||
18 | { |
||
19 | $output = $this |
||
20 | ->runPhpmd('Service/GeneralManager.php', 'cleancode.xml') |
||
21 | ->getOutput(); |
||
22 | |||
23 | $this->assertContains('Service/GeneralManager.php:8 Try to avoid general suffixes like Manager,Handler,Helper,Util,Utility,Information,Processor found Manager. It might violate of the single responsibility principle.', $output); |
||
24 | } |
||
25 | |||
38 |