Total Complexity | 1 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | #[ClassAnnotation(field: 'value')] |
||
22 | class AnnotatedClass |
||
23 | { |
||
24 | /** @ConstantAnnotation(field="value") */ |
||
25 | #[ConstantAnnotation(field: 'value')] |
||
26 | public const CONSTANT = 23; |
||
27 | |||
28 | /** @PropertyAnnotation(field="value") */ |
||
29 | #[PropertyAnnotation(field: 'value')] |
||
30 | public $property; |
||
31 | |||
32 | /** @MethodAnnotation(field="value") */ |
||
33 | #[MethodAnnotation(field: 'value')] |
||
41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.