Skip to content

Commit 3a580e6

Browse files
committed
Temporarily allow posting more than 20 comments
1 parent 7160512 commit 3a580e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

issue-bot/src/Console/EvaluateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
167167

168168
$postComments = (bool) $input->getOption('post-comments');
169169
if ($postComments) {
170-
if (count($toPost) > 20) {
170+
/*if (count($toPost) > 20) {
171171
$output->writeln('Too many comments to post, something is probably wrong.');
172172
return self::EXIT_ERROR;
173-
}
173+
}*/
174174
foreach ($toPost as ['issue' => $issue, 'hash' => $hash, 'users' => $users, 'diff' => $diff, 'details' => $details]) {
175175
$text = sprintf(
176176
"%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```",

0 commit comments

Comments
 (0)