Skip to content

Commit d55add4

Browse files
minor symfony#53469 [ErrorHandler] remove not needed PHP version check (xabbuh)
This PR was merged into the 6.3 branch. Discussion ---------- [ErrorHandler] remove not needed PHP version check | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- a1e969e remove not needed PHP version check
2 parents 9bd2814 + a1e969e commit d55add4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Symfony/Component/ErrorHandler/Tests/ErrorRenderer/HtmlErrorRendererTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ public static function getRenderData(): iterable
5757

5858
public function testRendersStackWithoutBinaryStrings()
5959
{
60-
if (\PHP_VERSION_ID >= 70400) {
61-
// make sure method arguments are available in stack traces (see https://www.php.net/manual/en/ini.core.php)
62-
ini_set('zend.exception_ignore_args', false);
63-
}
60+
// make sure method arguments are available in stack traces (see https://www.php.net/manual/en/ini.core.php)
61+
ini_set('zend.exception_ignore_args', false);
6462

6563
$binaryData = file_get_contents(__DIR__.'/../Fixtures/pixel.png');
6664
$exception = $this->getRuntimeException($binaryData);

0 commit comments

Comments
 (0)