chore: add Symfony Profiler integration for PHPFlasher

This commit is contained in:
Younes ENNAJI
2024-10-05 13:34:23 +01:00
parent b6afde2990
commit 43affdc543
77 changed files with 10814 additions and 9866 deletions
@@ -83,6 +83,10 @@ final class ConfigurationTest extends TestCase
],
'translate' => true,
'inject_assets' => true,
'excluded_paths' => [
'/^\/_profiler/',
'/^\/_fragment/',
],
'filter' => [],
'presets' => [
'created' => [
@@ -47,7 +47,7 @@ final class FlasherListenerTest extends TestCase
public function testGetSubscribedEvents(): void
{
$expectedEvents = [ResponseEvent::class => ['onKernelResponse', -256]];
$expectedEvents = [ResponseEvent::class => ['onKernelResponse', -20]];
$subscribedEvents = FlasherListener::getSubscribedEvents();
// Verify that the FlasherListener is subscribed to the correct event and priority.