| Total Complexity | 4 | 
| Total Lines | 41 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 13 | final class BlogService | ||
| 14 | { | ||
| 15 | private const POSTS_PER_PAGE = 10; | ||
| 16 | private PostRepository $postRepository; | ||
| 17 | |||
| 18 | public function __construct(PostRepository $postRepository) | ||
| 21 | } | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @psalm-return PaginatorInterface<array-key, Post> | ||
| 25 | */ | ||
| 26 | public function getPosts(int $page): PaginatorInterface | ||
| 34 | } | ||
| 35 | |||
| 36 | /** | ||
| 37 | * @param int $id | ||
| 38 | * | ||
| 39 | * @throws NotFoundException | ||
| 40 | * | ||
| 41 | * @return Post | ||
| 42 | */ | ||
| 43 | public function getPost(int $id): Post | ||
| 56 | 
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