Issues (142)

Driver/Dummy.php (1 issue)

1
<?php
2
3
/*
4
 * This file is part of the doyo/code-coverage 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\Bridge\CodeCoverage\Driver;
15
16
use SebastianBergmann\CodeCoverage\Version;
0 ignored issues
show
The type SebastianBergmann\CodeCoverage\Version 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...
17
18
if (version_compare(Version::id(), '6.0', '<')) {
19
    /** @codeCoverageIgnoreStart */
20
    class BaseDummy extends \Doyo\Bridge\CodeCoverage\Driver\Compat\BaseDummy5
21
    {
22
    }
23
    // @codeCoverageIgnoreEnd
24
} else {
25
    /** @codeCoverageIgnoreStart */
26
    class BaseDummy extends \Doyo\Bridge\CodeCoverage\Driver\Compat\BaseDummy6
27
    {
28
    }
29
    // @codeCoverageIgnoreEnd
30
}
31
32
/**
33
 * A dumb driver to be used during testing.
34
 */
35
class Dummy extends BaseDummy
36
{
37
}
38