| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class NotFoundMiddleware extends Plugin implements MiddlewareInterface |
||
| 23 | { |
||
| 24 | use ResponseTrait; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Checks if the resource was found. |
||
| 28 | */ |
||
| 29 | public function beforeNotFound() |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Call me. |
||
| 43 | * |
||
| 44 | * @param Micro $api |
||
| 45 | * |
||
| 46 | * @return bool |
||
| 47 | */ |
||
| 48 | public function call(Micro $api) |
||
| 53 |
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