Failed Conditions
Push — metadata ( c6c11e...d7114b )
by Michael
02:19
created

ClassWithAnnotationWithVarType   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 22
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Doctrine\Tests\Annotations\Fixtures;
4
5
use Doctrine\Tests\Annotations\Fixtures\AnnotationWithVarType;
6
use Doctrine\Tests\Annotations\Fixtures\AnnotationTargetAll;
7
use Doctrine\Tests\Annotations\Fixtures\AnnotationTargetAnnotation;
8
9
class ClassWithAnnotationWithVarType
10
{
11
    /**
12
     * @AnnotationWithVarType(string = "String Value")
13
     */
14
    public $foo;
15
16
    /**
17
     * @AnnotationWithVarType(annotation = @AnnotationTargetAll)
18
     */
19
    public function bar(){}
20
21
22
    /**
23
     * @AnnotationWithVarType(string = 123)
24
     */
25
    public $invalidProperty;
26
27
    /**
28
     * @AnnotationWithVarType(annotation = @AnnotationTargetAnnotation)
29
     */
30
    public function invalidMethod(){}
31
}
32