| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | #[Override] |
||
| 23 | protected function triggerSpecific( |
||
| 24 | ShipWrapperInterface $wrapper, |
||
| 25 | FlightRouteInterface $flightRoute, |
||
| 26 | MessageCollectionInterface $messages |
||
| 27 | ): void { |
||
| 28 | |||
| 29 | $ship = $wrapper->get(); |
||
| 30 | |||
| 31 | if ($ship->isUnderRetrofit()) { |
||
| 32 | $message = $this->messageFactory->createMessage(null, $ship->getUser()->getId()); |
||
| 33 | $messages->add($message); |
||
| 34 | $this->cancelRetrofit->cancelRetrofit($ship); |
||
| 35 | $message->add(sprintf(_('Der Umbau der %s wurde abgebrochen'), $ship->getName())); |
||
| 36 | } |
||
| 38 | } |
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