Fix profiler test failure with symfony 6.2
Fix profiler test failure with symfony 6.2

Fixes
```
1) Doctrine\Bundle\DoctrineBundle\Tests\ProfilerTest::testRender
Twig\Error\RuntimeError: Impossible to access an attribute ("statusText") on a boolean variable ("").

/home/runner/work/DoctrineBundle/DoctrineBundle/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/layout.html.twig:64
```

doctrine/DoctrineBundle