Passed
Pull Request — master (#439)
by Kirill
06:35
created

AttributeTestClass   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 9
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testMethod() 0 3 1
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Vladislav Gorenkin (vladgor)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Spiral\Tests\Annotations\Fixtures;
13
14
use Spiral\Tests\Annotations\Fixtures\Annotation\PropertyAnnotation;
15
use Spiral\Tests\Annotations\Fixtures\Annotation\MethodAnnotation;
16
use Spiral\Tests\Annotations\Fixtures\Annotation\ClassAnnotation;
17
18
#[ClassAnnotation(value: 'abc')]
19
class AttributeTestClass
20
{
21
    #[PropertyAnnotation(id: '123')]
22
    public $name;
23
24
    #[MethodAnnotation(path: '/')]
25
    public function testMethod()
26
    {
27
    }
28
}
29