| Conditions | 6 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 42 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function save(AstronomicalEntryInterface $entry): void |
||
| 26 | { |
||
| 27 | $em = $this->getEntityManager(); |
||
| 28 | |||
| 29 | $em->persist($entry); |
||
| 30 | } |
||
| 31 | |||
| 32 | #[Override] |
||
| 33 | public function delete(AstronomicalEntryInterface $entry): void |
||
| 34 | { |
||
| 35 | $em = $this->getEntityManager(); |
||
| 36 | |||
| 37 | $em->remove($entry); |
||
| 38 | $em->flush(); //TODO really neccessary? |
||
| 39 | } |
||
| 62 |
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