Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
34 | public function findBySlug(string $slug): FamilyLogModel |
||
35 | { |
||
36 | $result = $this->createQueryBuilder('fl') |
||
37 | ->where('fl.slug = :slug') |
||
38 | ->setParameter('slug', $slug) |
||
39 | ->getQuery() |
||
40 | ->getOneOrNullResult() |
||
41 | ; |
||
42 | |||
43 | return new FamilyLogModel( |
||
44 | $result->name(), |
||
45 | $result->parent(), |
||
46 | $result->children(), |
||
47 | $result->path(), |
||
48 | $result->slug() |
||
49 | ); |
||
72 |
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