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 Spec\Doyo\Bridge\CodeCoverage\Event; |
||
15 | |||
16 | use Doyo\Bridge\CodeCoverage\Console\ConsoleIO; |
||
17 | use Doyo\Bridge\CodeCoverage\Environment\RuntimeInterface; |
||
18 | use Doyo\Bridge\CodeCoverage\Event\CoverageEvent; |
||
19 | use Doyo\Bridge\CodeCoverage\ProcessorInterface; |
||
20 | use PhpSpec\ObjectBehavior; |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | class CoverageEventSpec extends ObjectBehavior |
||
23 | { |
||
24 | public function let( |
||
25 | ProcessorInterface $processor, |
||
26 | ConsoleIO $consoleIO, |
||
27 | RuntimeInterface $runtime |
||
28 | ) { |
||
29 | $this->beConstructedWith($processor, $consoleIO, $runtime); |
||
30 | } |
||
31 | |||
32 | public function it_is_initializable() |
||
33 | { |
||
34 | $this->shouldHaveType(CoverageEvent::class); |
||
35 | } |
||
36 | |||
37 | public function its_properties_should_be_mutable( |
||
38 | ProcessorInterface $processor, |
||
39 | RuntimeInterface $runtime, |
||
40 | ConsoleIO $consoleIO |
||
41 | ) { |
||
42 | $this->getProcessor()->shouldReturn($processor); |
||
43 | $this->getRuntime()->shouldReturn($runtime); |
||
44 | $this->getConsoleIO()->shouldReturn($consoleIO); |
||
45 | } |
||
46 | } |
||
47 |
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