Skip to content

chore: PHPStan の require-dev 制約を 2.3 に揃える - #8

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/bc-321689ee-3f10-4b81-9309-e79fd606337c-b016
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/bc-321689ee-3f10-4b81-9309-e79fd606337c-b016

Conversation

@cursor

@cursor cursor Bot commented Oct 10, 2026

Copy link
Copy Markdown

概要

require-dev の PHPStan 制約を、現行の安定マイナーである 2.3 系に揃えます。

  • phpstan/phpstan: ^2.2 → ^2.3
  • 解決されるバージョンは 2.3.1
  • phpstan.neon(level 8)の変更は不要。2.3.0 の bleeding edge は使っていません

確認したこと

  • PHPStan 2.3.0 のリリースノートを確認し、このリポジトリの設定移行は不要
  • PHP 8.5.11 と PHP 7.4.33 の両方で次を実行し、すべて成功
    • composer validate --strict
    • composer install --prefer-dist --no-progress
    • php-cs-fixer fix --diff --dry-run
    • vendor/bin/phpstan analyse
    • vendor/bin/phpunit tests/

require、require.php、CI の PHP マトリクス、開発用 PHP イメージは変更していません。

Open in Web View Automation 

PHPStan 2.3 は既存の phpstan.neon(level 8)のまま解析でき、PHP 7.4 と 8.5 の両方で動作する。下限を現行の安定マイナーに合わせる。
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