Completed
Push — master ( 9a7b87...ad20a3 )
by Alessandro
03:07
created

AbnormalTerminatedParser::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace Paraunit\Parser\JSON;
5
6
use Paraunit\TestResult\Interfaces\TestResultHandlerInterface;
7
use Paraunit\TestResult\TestResultFactory;
8
9
/**
10
 * Class AbnormalTerminatedParser
11
 * @package Paraunit\Parser\JSON
12
 */
13
class AbnormalTerminatedParser extends GenericParser
14
{
15
    /**
16
     * AbnormalTerminatedParser constructor.
17
     * @param TestResultFactory $testResultFactory
18
     * @param TestResultHandlerInterface $testResultHandler
19
     */
20
    public function __construct(TestResultFactory $testResultFactory, TestResultHandlerInterface $testResultHandler)
21
    {
22
        parent::__construct($testResultFactory, $testResultHandler, LogFetcher::LOG_ENDING_STATUS);
23
    }
24
}
25