PHPMD\Rule\Design |
Name | Description |
---|---|
UnusedLocalVariable | This rule collects all local variables within a given function or method that are not used by any code in the analyzed source artifact. |
UnusedPrivateField | This rule collects all private fields in a class that aren't used in any method of the analyzed class. |