Output::getFailing()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
namespace exussum12\CoverageChecker\tests;
3
4
use PHPUnit\Framework\TestCase;
5
6
class Output extends TestCase
7
{
8
    protected function getAllValid()
9
    {
10
        return [];
11
    }
12
13
    protected function getFailing()
14
    {
15
        return [
16
            'file1.php' => [
17
                10 => ['Line 10 has an error'],
18
            ],
19
            'file2.php' => [
20
                15 => ['Line 15 has another error'],
21
            ],
22
        ];
23
    }
24
}
25