Total Complexity | 5 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class FullTextSearchTestState implements TestState |
||
13 | { |
||
14 | public function setUp(SapphireTest $test) |
||
16 | // noop |
||
17 | } |
||
18 | |||
19 | public function tearDown(SapphireTest $test) |
||
22 | } |
||
23 | |||
24 | public function setUpOnce($class) |
||
25 | { |
||
26 | Config::modify()->set(SearchUpdater::class, 'flush_on_shutdown', false); |
||
27 | |||
28 | if (class_exists(QueuedJobService::class)) { |
||
29 | Config::modify()->set(QueuedJobService::class, 'use_shutdown_function', false); |
||
30 | } |
||
31 | } |
||
32 | |||
33 | public function tearDownOnce($class) |
||
35 | // noop |
||
36 | } |
||
38 |
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