Skip to content

Commit

Permalink
Issue bot - let all comments about list type through
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 16, 2024
1 parent 90da2bf commit 1d517de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions issue-bot/src/Console/EvaluateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$postComments = (bool) $input->getOption('post-comments');
if ($postComments) {
if (count($toPost) > 20) {
$output->writeln('Too many comments to post, something is probably wrong.');
return 1;
}
foreach ($toPost as ['issue' => $issue, 'hash' => $hash, 'users' => $users, 'diff' => $diff, 'details' => $details]) {
$text = sprintf(
"%s After [the latest push in %s](https://github.com/phpstan/phpstan-src/compare/%s...%s), PHPStan now reports different result with your [code snippet](https://phpstan.org/r/%s):\n\n```diff\n%s```",
Expand Down

0 comments on commit 1d517de

Please sign in to comment.