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

UnknownResultParser::logMatches()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace Paraunit\Parser\JSON;
5
6
/**
7
 * Class UnknownResultParser
8
 * @package Paraunit\Parser\JSON
9
 */
10
class UnknownResultParser extends GenericParser
11
{
12
    /**
13
     * @param \stdClass $log
14
     * @return bool
15
     */
16
    protected function logMatches(\stdClass $log): bool
17
    {
18
        // catch 'em all!
19
        return true;
20
    }
21
}
22