| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class PostRepository extends Select\Repository |
||
| 13 | { |
||
| 14 | private ORMInterface $orm; |
||
| 15 | |||
| 16 | public function __construct(Select $select, ORMInterface $orm) |
||
| 20 | } |
||
| 21 | |||
| 22 | public function findAll(array $scope = [], array $orderBy = []): EntityReader |
||
| 23 | { |
||
| 24 | return new EntityReader( |
||
| 25 | $this |
||
| 26 | ->select() |
||
| 27 | ->where($scope) |
||
| 28 | ->orderBy($orderBy) |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function save(Post $user): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
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