VersionOutputTest::testValid()   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 Exception;
5
use PHPUnit\Framework\TestCase;
6
7
/**
8
 * Ignored due to acceptance test needing to write values
9
 * @SuppressWarnings(PHPMD.Superglobals)
10
 */
11
class VersionOutputTest extends TestCase
12
{
13
14
    public function testValid()
15
    {
16
        $this->expectException(Exception::class);
17
        $GLOBALS['argv'] = [
18
            'diffFilter',
19
            '-v',
20
        ];
21
        require(__DIR__ . "/../src/Runners/generic.php");
22
    }
23
}
24