| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Post extends AbstractPost { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Find one. |
||
| 23 | * |
||
| 24 | * @param \WP_Post|int $post The post object or id. |
||
| 25 | * @return Entity|null |
||
| 26 | 2 | */ |
|
| 27 | 2 | public function find_one( $post ) : ?Entity { |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Find by author id. |
||
| 39 | * |
||
| 40 | * @param integer $author_id Author id. |
||
| 41 | * @param integer $quantity Quantity. |
||
| 42 | * @return Collection |
||
| 43 | 1 | */ |
|
| 44 | 1 | public function find_by_author_id( int $author_id, int $quantity ) : Collection { |
|
| 61 |
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