| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function register(): void |
||
| 45 | { |
||
| 46 | $payload = $this->dispatcher->dispatch(BeforeSignalsRegister::class, ['signals' => $this->signals]); |
||
| 47 | pcntl_async_signals(true); |
||
| 48 | foreach ($payload['signals'] as $signalType => $signalHandler) { |
||
| 49 | pcntl_signal($signalType, [$this->worker, $this->$signalHandler]); |
||
| 50 | } |
||
| 51 | |||
| 52 | register_shutdown_function([$this, 'unregisterSignalHandlers']); |
||
| 53 | } |
||
| 55 |
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