| Total Complexity | 2 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | #[OA\Info(version: '2.0', title: 'Yii demo API')] | ||
| 15 | final class ApiInfo implements MiddlewareInterface | ||
| 16 | { | ||
| 17 | private DataResponseFactoryInterface $responseFactory; | ||
| 18 | |||
| 19 | public function __construct(DataResponseFactoryInterface $responseFactory) | ||
| 20 |     { | ||
| 21 | $this->responseFactory = $responseFactory; | ||
| 22 | } | ||
| 23 | |||
| 24 | #[OA\Get( | ||
| 49 | } | ||
| 50 | } | ||
| 51 | 
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