BaseDummy6   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 2
c 0
b 0
f 0
dl 0
loc 9
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A stop() 0 3 1
A start() 0 2 1
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\Compat;
15
16
use SebastianBergmann\CodeCoverage\Driver\Driver;
0 ignored issues
show
Bug introduced by
The type SebastianBergmann\CodeCoverage\Driver\Driver 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
/**
19
 * Class BaseDummy6.
20
 *
21
 * @codeCoverageIgnore
22
 */
23
class BaseDummy6 implements Driver
24
{
25
    public function start(bool $determineUnusedAndDead = true): void
26
    {
27
    }
28
29
    public function stop(): array
30
    {
31
        return [];
32
    }
33
}
34