Skip to content

Commit c409803

Browse files
committed
Require sebastian/diff in issue-bot instead of relying on PHPUnit to install it
PostGenerator compares the diff it builds with the diff in earlier bot comments to avoid posting the same comment again. sebastian/diff 9 removed UnifiedDiffOutputBuilder and switched to a different diff algorithm, so it would produce different diffs for the same errors and the bot would comment again on issues it already commented on. Pin the major version the bot has been posting with. Amp-Thread-ID: https://ampcode.com/threads/T-01a176c6-528a-7430-b296-e66930d153b4
1 parent 470fe6b commit c409803

2 files changed

Lines changed: 81 additions & 80 deletions

File tree

‎issue-bot/composer.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"react/child-process": "^0.6.7",
1414
"react/event-loop": "^1.6",
1515
"react/promise": "^3.3",
16+
"sebastian/diff": "^7.0",
1617
"symfony/console": "^8.1",
1718
"symfony/finder": "^8.1"
1819
},

‎issue-bot/composer.lock‎

Lines changed: 80 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)