Passed
Pull Request — develop (#6)
by ANTHONIUS
04:26
created

BaseBaseDummy

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
ccs 0
cts 0
cp 0
c 0
b 0
f 0
wmc 0
1
<?php
2
3
/*
4
 * This file is part of the doyo/behat-coverage-extension project.
5
 *
6
 * (c) Anthonius Munthi <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Doyo\Behat\Coverage\Bridge\CodeCoverage\Driver;
15
16
use SebastianBergmann\CodeCoverage\Version;
17
18 1
if (version_compare(Version::id(), '6.0', '<')) {
19
    class BaseDummy extends \Doyo\Behat\Coverage\Bridge\CodeCoverage\Driver\Dummy5
0 ignored issues
show
Bug introduced by
The type Doyo\Behat\Coverage\Brid...eCoverage\Driver\Dummy5 was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
20
    {
21
    }
22
} else {
23
    class BaseBaseDummy extends \Doyo\Behat\Coverage\Bridge\CodeCoverage\Driver\Compat\BaseDummy6
24
    {
25
    }
26
}
27
28
/**
29
 * A dumb driver to prevent error.
30
 */
31
class Dummy extends BaseBaseDummy
32
{
33
}
34