Completed
Push — master ( 47af09...0ff73f )
by Jakub
01:51
created

Test   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MyTester\Attributes;
6
7
use Attribute;
8
9
/**
10
 * Test attribute
11
 *
12
 * @author Jakub Konečný
13
 */
14
#[Attribute(Attribute::TARGET_METHOD)]
15
final class Test extends BaseAttribute
16
{
17
    public string $value;
18
19
    public function __construct(string $value)
20
    {
21
        $this->value = $value;
22
    }
23
}
24