Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 19069b1

Browse filesBrowse files
committed
debug
1 parent 352418d commit 19069b1
Copy full SHA for 19069b1

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MappedRequestAttributesTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/EventListener/ValidationFailedExceptionListener.php
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.