Skip to content

Commit

Permalink
test: Remove dead code (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Oct 8, 2023
1 parent 398f62a commit f699be6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Console/Command/DiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ static function (CommandTester $commandTester): string {
return DisplayNormalizer::removeTrailingSpaces($commandTester->getDisplay(true));
},
null,
PHP_VERSION_ID >= 70400 ? 1 : 2, // related to https://bugs.php.net/bug.php?id=69279
1,
])();

yield (static fn (): array => [
Expand Down Expand Up @@ -594,7 +594,7 @@ static function (CommandTester $commandTester): string {
return DisplayNormalizer::removeTrailingSpaces($commandTester->getDisplay(true));
},
null,
PHP_VERSION_ID >= 70400 ? 1 : 2, // related to https://bugs.php.net/bug.php?id=69279
1,
])();

yield (static fn (): array => [
Expand Down

0 comments on commit f699be6

Please sign in to comment.