Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class StaticPublisherState implements TestState |
||
15 | { |
||
16 | public function setUp(SapphireTest $test) |
||
17 | { |
||
18 | Injector::inst()->registerService(new QueuedJobsTest_Handler(), QueuedJobHandler::class); |
||
19 | Injector::inst()->registerService(new QueuedJobsTestService(), QueuedJobService::class); |
||
20 | Config::modify()->set(QueuedJobService::class, 'use_shutdown_function', false); |
||
21 | } |
||
22 | |||
23 | public function tearDown(SapphireTest $test) |
||
24 | { |
||
25 | } |
||
26 | |||
27 | public function setUpOnce($class) |
||
28 | { |
||
29 | } |
||
30 | |||
31 | public function tearDownOnce($class) |
||
33 | } |
||
34 | } |
||
35 |
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