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