Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | class PhpMdTextResultsParser extends AbstractTextResultsParser |
||
11 | { |
||
12 | private const LINE = '2'; |
||
13 | private const MESSAGE = '4'; |
||
14 | private const FILE = '1'; |
||
15 | private const REGEX = '/(.*):(\d+)(\s+)(.*)/'; |
||
16 | |||
17 | /** @var FqcnRemover */ |
||
18 | private $fqcnRemover; |
||
19 | |||
20 | public function __construct(FqcnRemover $fqcnRemover) |
||
21 | { |
||
22 | parent::__construct(self::REGEX, self::FILE, self::LINE, self::MESSAGE, self::MESSAGE); |
||
23 | $this->fqcnRemover = $fqcnRemover; |
||
24 | } |
||
25 | |||
26 | |||
27 | public function getIdentifier(): Identifier |
||
30 | } |
||
31 | |||
32 | public function showTypeGuessingWarning(): bool |
||
35 | } |
||
36 | |||
37 | protected function getType(string $rawType): string |
||
40 | } |
||
41 | |||
43 |