PhanText::getDescription()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace exussum12\CoverageChecker\Loaders;
3
4
use exussum12\CoverageChecker\FileChecker;
5
6
/**
7
 * Class PhanText
8
 * Used for parsing phan text output
9
 * @package exussum12\CoverageChecker
10
 */
11
class PhanText extends Generic implements FileChecker
12
{
13
    protected $lineMatch = '#(?:\./)?(?P<fileName>.*?):(?P<lineNumber>[0-9]+)(?P<message>.*)#';
14
15
    /*
16
     * @inheritdoc
17
     */
18
    public static function getDescription(): string
19
    {
20
        return 'Parse the default phan(static analysis) output';
21
    }
22
}
23