From dac843f7eb49fc89e3c329e496a7f1eba64dd51f Mon Sep 17 00:00:00 2001 From: Stephane Roussel Date: Mon, 3 Aug 2026 16:52:19 +0200 Subject: [PATCH 1/2] [UAT-replay-security-hardening] fix(deps): allow symfony 7 routing and csrf Assisted-by: Codex:gpt-5 --- composer.json | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index a184285..2e092fc 100644 --- a/composer.json +++ b/composer.json @@ -16,20 +16,19 @@ "php": "^8.1", "react/promise": "^2.2 || ^3.0", "twig/twig": "^3.27", - "symfony/http-foundation": "^5.4 || ^6.0", - "symfony/browser-kit": "^5.4 || ^6.0", - "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/serializer": "^5.4 || ^6.0", - "symfony/http-kernel": "^5.4 || ^6.0", - "symfony/stopwatch": "^5.4 || ^6.0", - "symfony/routing": "^5.4 || ^6.0", - "symfony/config": "^5.4 || ^6.0", - "symfony/dependency-injection": "^5.4 || ^6.0", - "symfony/security-csrf": "^5.4 || ^6.0", - "symfony/security-http": "^5.4 || ^6.0", - "symfony/twig-bundle": "^5.4 || ^6.0", - "symfony/mime": "^5.4 || ^6.0", - "sensio/framework-extra-bundle": "^5.5 || ^6.0", + "symfony/http-foundation": "^5.4 || ^6.0 || ^7.0", + "symfony/browser-kit": "^5.4 || ^6.0 || ^7.0", + "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0", + "symfony/serializer": "^5.4 || ^6.0 || ^7.0", + "symfony/http-kernel": "^5.4 || ^6.0 || ^7.0", + "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0", + "symfony/routing": "^5.4 || ^6.0 || ^7.0", + "symfony/config": "^5.4 || ^6.0 || ^7.0", + "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", + "symfony/security-csrf": "^5.4 || ^6.0 || ^7.0", + "symfony/security-http": "^5.4 || ^6.0 || ^7.0", + "symfony/twig-bundle": "^5.4 || ^6.0 || ^7.0", + "symfony/mime": "^5.4 || ^6.0 || ^7.0", "ext-dom": "*", "ext-json": "*", "ext-curl": "*" From 0c1cfbeb13dc9e2d20cf0c6099c573e0fcb3822f Mon Sep 17 00:00:00 2001 From: Stephane Roussel Date: Mon, 3 Aug 2026 17:01:28 +0200 Subject: [PATCH 2/2] [UAT-replay-security-hardening] fix(replay): remove framework-bundle controller inheritance Assisted-by: Codex:gpt-5 --- Controller/ReplayController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Controller/ReplayController.php b/Controller/ReplayController.php index 5f8da4e..b2c840d 100644 --- a/Controller/ReplayController.php +++ b/Controller/ReplayController.php @@ -5,7 +5,6 @@ use evaisse\SimpleHttpBundle\Service\Helper; use evaisse\SimpleHttpBundle\Service\ReplayRequestResolver; use evaisse\SimpleHttpBundle\Service\ReplayRequestSignature; -use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -18,7 +17,7 @@ * Class ReplayController * @package evaisse\SimpleHttpBundle\Controller */ -class ReplayController extends AbstractController +class ReplayController { public function __construct( protected Helper $serviceHelper,