Failed Conditions
Push — travis-php7.4 ( 6887c5 )
by Michael
13:05
created

ClassWithValidAnnotationTarget   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 27
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A someFunction() 0 2 1
1
<?php
2
3
namespace Doctrine\Tests\Annotations\Fixtures;
4
5
use Doctrine\Tests\Annotations\Fixtures\AnnotationTargetClass;
6
use Doctrine\Tests\Annotations\Fixtures\AnnotationTargetAll;
7
use Doctrine\Tests\Annotations\Fixtures\AnnotationTargetPropertyMethod;
8
9
/**
10
 * @AnnotationTargetClass("Some data")
11
 */
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()
30
    {
31
32
    }
33
34
35
    /**
36
     * @AnnotationTargetAll(@AnnotationTargetAnnotation)
37
     */
38
    public $nested;
39
40
}
41