| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class ExitLoopOnSpecificExceptionMiddleware implements LoopMiddlewareInterface |
||
| 20 | { |
||
| 21 | /** @param list<class-string<\Throwable>> $exception_names */ |
||
|
|
|||
| 22 | public function __construct( |
||
| 23 | private array $exception_names, |
||
| 24 | private LoopMiddlewareInterface $chain, |
||
| 25 | ) { |
||
| 26 | } |
||
| 27 | public function invoke(): bool |
||
| 45 | } |
||
| 46 | } |
||
| 48 |
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