| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | #[Override] |
||
| 28 | public function getWithoutDatabaseEntry(): array |
||
| 29 | { |
||
| 30 | return $this->getEntityManager() |
||
| 31 | ->createQuery( |
||
| 32 | sprintf( |
||
| 33 | 'SELECT p FROM %s p WHERE p.database_id NOT IN (SELECT d.id FROM %s d WHERE d.category_id = :categoryId)', |
||
| 34 | ColonyClass::class, |
||
| 35 | DatabaseEntry::class |
||
| 36 | ) |
||
| 37 | ) |
||
| 38 | ->setParameters([ |
||
| 39 | 'categoryId' => DatabaseCategoryTypeEnum::DATABASE_CATEGORY_COLONY_CLASS |
||
| 40 | ]) |
||
| 41 | ->getResult(); |
||
| 42 | } |
||
| 44 |
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