Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class ResponseSpec extends ObjectBehavior |
||
15 | { |
||
16 | function let(Unit $unit) |
||
17 | { |
||
18 | $unit->getKey()->willReturn(new Key([])); |
||
19 | $unit->getProfile()->willReturn(new Profile(new Name('test'), new Version('1.0.0'))); |
||
20 | $unit->getData()->willReturn(new Data('test')); |
||
21 | $this->beConstructedThrough('createValidResponse', [$unit]); |
||
22 | } |
||
23 | |||
24 | function it_is_initializable() |
||
25 | { |
||
26 | $this->shouldHaveType(Response::class); |
||
27 | } |
||
28 | |||
29 | function it_should_have_profile() |
||
30 | { |
||
31 | $this->getProfileName()->shouldBeString(); |
||
32 | } |
||
33 | |||
34 | function it_should_have_version_number() |
||
37 | } |
||
38 | |||
39 | function it_should_have_status() |
||
42 | } |
||
43 | |||
44 | function it_should_have_body() |
||
49 |
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