Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:
curl https://fabbot.io/patch/symfony/symfony/47416/6524c9426c575eb80819b0ec79e900e947049e69/cs.diff | patch -p0
diff -ru src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php
--- src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php 2023-09-18 15:00:31.852959367 +0000
+++ src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php 2023-09-18 15:01:27.981261257 +0000
@@ -21,7 +21,6 @@
use Symfony\Component\HttpKernel\DataCollector\DumpDataCollector;
use Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
-use Symfony\Component\HttpKernel\Profiler\Profile;
use Symfony\Component\HttpKernel\Profiler\Profiler;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Twig\Environment;