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

UnknownResultParser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A logMatches() 0 5 1
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