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

AttributeTestClass::testMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
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