test suite #228
Annotations
2 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run infection tests:
src/EventSubscriber/FormProfileSubscriber.php#L129
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$form = $event->getForm();
$request = $this->requestStack->getMainRequest();
$result = new AntiSpamFormResult($form, $request, $this->profile);
- $this->eventDispatcher->dispatch(new FormProcessedEvent($result), AntiSpamEvents::FORM_PROCESSED);
+
AntiSpam::setLastResult($result);
if ($result->hasAntiSpamErrors()) {
$this->logger?->info(sprintf('Form submission from IP %s at %s violated anti-spam rules', $request?->getClientIp() ?? 'unknown', $request?->getRequestUri() ?? 'unknown'));
|
Loading