Passed
Pull Request — master (#74)
by Dave
02:04
created

ResultsParserStubIdentifier::getDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DaveLiddament\StaticAnalysisResultsBaseliner\Tests\TestDoubles;
6
7
use DaveLiddament\StaticAnalysisResultsBaseliner\Domain\ResultsParser\Identifier;
8
9
class ResultsParserStubIdentifier implements Identifier
10
{
11
    public const CODE = 'results-parser-stub';
12
13
    public function getCode(): string
14
    {
15
        return self::CODE;
16
    }
17
18
    public function getDescription(): string
19
    {
20
        return 'description of '.self::CODE;
21
    }
22
23
    public function getToolCommand(): string
24
    {
25
        return 'tool';
26
    }
27
}
28