| Conditions | 4 |
| Paths | 4 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function invoke(): bool |
||
| 28 | { |
||
| 29 | try { |
||
| 30 | return $this->chain->invoke(); |
||
| 31 | } catch (\Throwable $e) { |
||
| 32 | foreach ($this->exception_names as $exception_name) { |
||
| 33 | /** @psalm-suppress DocblockTypeContradiction */ |
||
| 34 | if (is_a($e, $exception_name)) { |
||
| 35 | Log::debug( |
||
| 36 | $e->getMessage(), |
||
| 37 | [ |
||
| 38 | 'trace' => $e->getTrace() |
||
| 39 | ] |
||
| 40 | ); |
||
| 41 | return false; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | throw $e; |
||
| 45 | } |
||
| 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