Total Complexity | 12 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | trait ValidatesPostTypeTrait |
||
11 | { |
||
12 | /** |
||
13 | * @throws InvalidArgumentException |
||
14 | */ |
||
15 | protected function assertPostType(WP_Post $post, string $postType): self |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @throws InvalidArgumentException |
||
28 | */ |
||
29 | protected function assertPostTypeOnQuery(WP_Query $query, string $postType): self |
||
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