NEXT-39991 - Fix registration url and create correct proof #103
Annotations
3 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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);
}
|
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) {
|
This job succeeded
Loading