| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class FluentIndexExtensionTest extends SapphireTest |
||
| 15 | { |
||
| 16 | protected static $fixture_file = '../fixtures/FluentTest.yml'; |
||
| 17 | |||
| 18 | public function testOnBeforeInit() |
||
| 19 | { |
||
| 20 | $extension = new FluentIndexExtension(); |
||
| 21 | |||
| 22 | $extension->onBeforeInit(); |
||
| 23 | |||
| 24 | // Add 2 for default values for the extensions |
||
| 25 | $this->assertCount((Locale::get()->count() + 2), SiteState::getStates()); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testOnBeforeSearch() |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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