| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ShardAddedEventSpec extends ObjectBehavior |
||
| 16 | { |
||
| 17 | function let(InitialItem $shard) |
||
| 18 | { |
||
| 19 | $shard->getUuid()->willReturn(new Uuid('test')); |
||
| 20 | $shard->getKey()->willReturn(new Key(['test'])); |
||
| 21 | $shard->getAcceptableSource()->willReturn(new Source(new Name('test'), new Version('1.0'))); |
||
| 22 | $this->beConstructedWith($shard); |
||
| 23 | } |
||
| 24 | |||
| 25 | function it_is_initializable() |
||
| 26 | { |
||
| 27 | $this->shouldHaveType(ShardAddedEvent::class); |
||
| 28 | $this->shouldImplement(Event::class); |
||
| 29 | } |
||
| 30 | |||
| 31 | function it_should_have_name() |
||
| 34 | } |
||
| 35 | |||
| 36 | function it_should_have_payload() |
||
| 45 |
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