PhanText   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

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