| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 30 | class WithSomeMethodsClass |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * |
||
| 34 | */ |
||
| 35 | private function privateMethod() : void |
||
| 36 | { |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * |
||
| 41 | */ |
||
| 42 | protected function protectedMethod() : void |
||
| 43 | { |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * |
||
| 48 | */ |
||
| 49 | public function publicMethod() : void |
||
| 50 | { |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | * |
||
| 56 | * @param string $name |
||
| 57 | * @param array $arguments |
||
| 58 | * |
||
| 59 | * @return |
||
| 60 | */ |
||
| 61 | public function _call(string $name, array $arguments = []) |
||
| 68 | } |
||
| 69 | } |
||
| 70 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.