Passed
Push — master ( 7b52e4...d40832 )
by Jakub
01:50
created

SkippedTest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 2
c 2
b 0
f 1
dl 0
loc 4
rs 10
ccs 3
cts 3
cp 1
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MyTester;
6
7
/**
8
 * Skipped test info
9
 *
10
 * @author Jakub Konečný
11
 */
12
final class SkippedTest
13
{
14
    use \Nette\SmartObject;
15
16
    public string $name;
17
    public string $reason;
18
19 1
    public function __construct(string $name, string $reason)
20
    {
21 1
        $this->name = $name;
22 1
        $this->reason = $reason;
23 1
    }
24
}
25