Skip to content

Commit 19069b1

Browse files
committed
debug
1 parent 352418d commit 19069b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MappedRequestAttributesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static function mapRequestContentProvider(): iterable
5656
"comment": "Hello everyone!"
5757
}
5858
JSON,
59-
'filter.status=approved,filter.quantity=4',
59+
'comment=Hello everyone!',
6060
200
6161
];
6262

src/Symfony/Component/HttpKernel/EventListener/ValidationFailedExceptionListener.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function __construct(private readonly SerializerInterface $serializer)
3030
public function onKernelException(ExceptionEvent $event): void
3131
{
3232
$throwable = $event->getThrowable();
33+
var_dump(get_class($throwable));
3334
if (!$throwable instanceof ValidationFailedException) {
3435
return;
3536
}
@@ -43,7 +44,7 @@ public function onKernelException(ExceptionEvent $event): void
4344
public static function getSubscribedEvents(): array
4445
{
4546
return [
46-
KernelEvents::EXCEPTION => [['onKernelException', -64]],
47+
KernelEvents::EXCEPTION => ['onKernelException', -32],
4748
];
4849
}
4950
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy