Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class FailureSpec extends ObjectBehavior |
||
13 | { |
||
14 | function let() |
||
15 | { |
||
16 | $this->beConstructedWith('foobar'); |
||
17 | } |
||
18 | |||
19 | function it_is_initializable() |
||
20 | { |
||
21 | $this->shouldHaveType(Failure::CLASS); |
||
22 | } |
||
23 | |||
24 | function it_is_a_status() |
||
25 | { |
||
26 | $this->shouldHaveType(StatusInterface::CLASS); |
||
27 | } |
||
28 | |||
29 | function it_has_a_description() |
||
30 | { |
||
31 | $this->getDescription()->shouldReturn('foobar'); |
||
32 | } |
||
33 | |||
34 | function it_is_a_failure() |
||
37 | } |
||
38 | } |
||
39 |
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