Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Chekote\NounStore\Key; |
||
36 | public function nouns() |
||
37 | { |
||
38 | return [ |
||
39 | ["Customer", ['Customer' ]], |
||
40 | ["Customer's Car", ['Customer', 'Car' ]], |
||
41 | ["8th Customer's Car", ['8th Customer', 'Car' ]], |
||
42 | ["Customer's 2nd Car", ['Customer', '2nd Car' ]], |
||
43 | ["7th Customer's 4th Car", ['7th Customer', '4th Car' ]], |
||
44 | ["7th Customer's 4th Car's Wheel", ['7th Customer', '4th Car', 'Wheel']], |
||
45 | ]; |
||
48 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.