1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the doyo/code-coverage project. |
||
5 | * |
||
6 | * (c) Anthonius Munthi <https://itstoni.com> |
||
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 Doyo\Behat\Coverage\Event\CoverageEvent; |
||
0 ignored issues
–
show
|
|||
17 | use SebastianBergmann\CodeCoverage\Driver\Driver; |
||
18 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
||
19 | |||
20 | /** |
||
21 | * A dumb driver to prevent error. |
||
22 | * |
||
23 | * @codeCoverageIgnore |
||
24 | */ |
||
25 | class BaseDummy5 implements Driver, EventSubscriberInterface |
||
26 | { |
||
27 | public static function getSubscribedEvents() |
||
28 | { |
||
29 | return [ |
||
30 | CoverageEvent::STOP => ['stop', -1], |
||
31 | ]; |
||
32 | } |
||
33 | |||
34 | public function start($determineUnusedAndDead = true) |
||
35 | { |
||
36 | } |
||
37 | |||
38 | public function stop() |
||
39 | { |
||
40 | return []; |
||
41 | } |
||
42 | } |
||
43 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths