Skip to content

Commit a2a2905

Browse files
committed
Issue bot - let all comments about PHPStan 2.0 through
1 parent 7cfc02e commit a2a2905

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

issue-bot/src/Console/EvaluateCommand.php

-4
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
158158

159159
$postComments = (bool) $input->getOption('post-comments');
160160
if ($postComments) {
161-
if (count($toPost) > 20) {
162-
$output->writeln('Too many comments to post, something is probably wrong.');
163-
return 1;
164-
}
165161
foreach ($toPost as ['issue' => $issue, 'hash' => $hash, 'users' => $users, 'diff' => $diff, 'details' => $details]) {
166162
$text = sprintf(
167163
"%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)