Skip to content

Update PHPStan to 2.3 - #193

Draft
ilicfilip wants to merge 1 commit into
developfrom
filip/phpstan-2.3
Draft

ilicfilip wants to merge 1 commit into
developfrom
filip/phpstan-2.3

Conversation

@ilicfilip

Copy link
Copy Markdown
Contributor

Updates PHPStan to 2.3.0, the release with the big performance work (PHPStan 2.3: a leap in performance).

What changes

  • composer.lock: phpstan/phpstan to 2.3.0.
  • inc/progress-planner/comment-moderation.php: PHPStan 2.3 knows get_comments() with count => true returns an int, so the @phpstan-ignore-line on that comparison no longer suppresses anything and is reported as unmatched; removed.

Checked

  • PHPStan 2.3 on this repository's own config reports 0 errors, the same as before the update.
  • PHPStan was run with a cold cache before and after the update.
  • The changed file passes php -l and PHPCS.

🤖 Generated with Claude Code

PHPStan 2.3 knows get_comments() with count => true returns an int, so the @phpstan-ignore-line on that comparison no longer suppresses anything and is reported as unmatched; removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Filip Ilic <ilic.filip@gmail.com>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Composer package changes
Dev Packages Operation Base Target
phpstan/phpstan Upgraded 2.1.23 2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant