Skip to content

NEXT-39991 - Fix registration url and create correct proof #103

NEXT-39991 - Fix registration url and create correct proof

NEXT-39991 - Fix registration url and create correct proof #103

Triggered via pull request December 13, 2024 10:20
Status Success
Total duration 1m 8s
Artifacts

infection.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
unit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit: src/Registration/RegistrationService.php#L69
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $this->eventDispatcher?->dispatch(new BeforeRegistrationStartsEvent($request, $shop)); $this->shopRepository->createShop($shop); } else { - $shop->setShopUrl($queries['shop-url']); + $this->eventDispatcher?->dispatch(new BeforeRegistrationStartsEvent($request, $shop)); $this->shopRepository->updateShop($shop); }
unit: src/Registration/RegistrationService.php#L161
Escaped Mutant for Mutator "PublicVisibility": @@ @@ $normalizedPath = rtrim($normalizedPath, '/'); return sprintf('%s://%s%s%s', $protocol, $host, $port ? ':' . $port : null, $normalizedPath); } - public function fixShopUrlInDatabase(ShopInterface $shop): void + protected function fixShopUrlInDatabase(ShopInterface $shop): void { $sanitizedShopUrl = $this->sanitizeShopUrl($shop->getShopUrl()); if ($shop->getShopUrl() !== $sanitizedShopUrl) {