| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ExampleNameSpec extends ObjectBehavior |
||
| 13 | { |
||
| 14 | function let() |
||
| 15 | { |
||
| 16 | $this->beConstructedWith('foo', 'bar'); |
||
| 17 | } |
||
| 18 | |||
| 19 | function it_is_initializable() |
||
| 20 | { |
||
| 21 | $this->shouldHaveType(ExampleName::CLASS); |
||
| 22 | } |
||
| 23 | |||
| 24 | function it_is_a_name() |
||
| 25 | { |
||
| 26 | $this->shouldHaveType(NameInterface::CLASS); |
||
| 27 | } |
||
| 28 | |||
| 29 | function it_contains_a_short_name() |
||
| 30 | { |
||
| 31 | $this->getShortName()->shouldReturn('foo'); |
||
| 32 | } |
||
| 33 | |||
| 34 | function it_contains_a_namespace() |
||
| 35 | { |
||
| 36 | $this->getNamespaceName()->shouldReturn('bar'); |
||
| 37 | } |
||
| 38 | |||
| 39 | function it_contains_a_complete_name() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
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