| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class RegexpSpec extends ObjectBehavior |
||
| 12 | { |
||
| 13 | function it_is_initializable() |
||
| 17 | } |
||
| 18 | |||
| 19 | function it_can_match() |
||
| 20 | { |
||
| 21 | $this->beConstructedWith('/test/'); |
||
| 22 | $this->isMatch('this test should match')->shouldReturn(true); |
||
| 23 | } |
||
| 24 | |||
| 25 | function it_can_fail_match() |
||
| 26 | { |
||
| 27 | $this->beConstructedWith('foo'); |
||
| 28 | $this->isMatch('bar')->shouldReturn(false); |
||
| 29 | } |
||
| 30 | |||
| 31 | function it_can_match_with_custom_delimiter() |
||
| 32 | { |
||
| 33 | $this->beConstructedWith('#delimiter#'); |
||
| 34 | $this->isMatch('a different delimiter')->shouldReturn(true); |
||
| 35 | } |
||
| 36 | |||
| 37 | function it_can_make_regexp() |
||
| 41 | } |
||
| 42 | |||
| 43 | function it_can_return_internal_regexp() |
||
| 44 | { |
||
| 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