From a1e969e786a718ac0c86918639461399f240006a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 9 Jan 2024 11:53:32 +0100 Subject: [PATCH] remove not needed PHP version check --- .../Tests/ErrorRenderer/HtmlErrorRendererTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/ErrorHandler/Tests/ErrorRenderer/HtmlErrorRendererTest.php b/src/Symfony/Component/ErrorHandler/Tests/ErrorRenderer/HtmlErrorRendererTest.php index 1ae12d5e74dc2..ea7fc81680c18 100644 --- a/src/Symfony/Component/ErrorHandler/Tests/ErrorRenderer/HtmlErrorRendererTest.php +++ b/src/Symfony/Component/ErrorHandler/Tests/ErrorRenderer/HtmlErrorRendererTest.php @@ -57,10 +57,8 @@ public static function getRenderData(): iterable public function testRendersStackWithoutBinaryStrings() { - if (\PHP_VERSION_ID >= 70400) { - // make sure method arguments are available in stack traces (see https://www.php.net/manual/en/ini.core.php) - ini_set('zend.exception_ignore_args', false); - } + // make sure method arguments are available in stack traces (see https://www.php.net/manual/en/ini.core.php) + ini_set('zend.exception_ignore_args', false); $binaryData = file_get_contents(__DIR__.'/../Fixtures/pixel.png'); $exception = $this->getRuntimeException($binaryData);