| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class PhpMdTextResultsParser extends AbstractTextResultsParser |
||
| 12 | { |
||
| 13 | private const LINE = '2'; |
||
| 14 | private const MESSAGE = '4'; |
||
| 15 | private const FILE = '1'; |
||
| 16 | private const REGEX = '/(.*):(\d+)(\s+)(.*)/'; |
||
| 17 | |||
| 18 | /** @var FqcnRemover */ |
||
| 19 | private $fqcnRemover; |
||
| 20 | |||
| 21 | public function __construct(FqcnRemover $fqcnRemover) |
||
| 22 | { |
||
| 23 | parent::__construct(self::REGEX, self::FILE, self::LINE, self::MESSAGE, self::MESSAGE); |
||
| 24 | $this->fqcnRemover = $fqcnRemover; |
||
| 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 | } |
||
| 42 |