| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ClassWithValidAnnotationTarget |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @AnnotationTargetPropertyMethod("Some data") |
||
| 17 | */ |
||
| 18 | public $foo; |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * @AnnotationTargetAll("Some data",name="Some name") |
||
| 23 | */ |
||
| 24 | public $name; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @AnnotationTargetPropertyMethod("Some data",name="Some name") |
||
| 28 | */ |
||
| 29 | public function someFunction() |
||
| 31 | |||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | /** |
||
| 36 | * @AnnotationTargetAll(@AnnotationTargetAnnotation) |
||
| 37 | */ |
||
| 38 | public $nested; |
||
| 39 | |||
| 41 |