Skip to content

build: exclude incompatible PHPStan 2.2.6 - #87

Merged
ben-challis merged 1 commit into
mainfrom
codex/block-phpstan-2-2-6
Jul 27, 2026
Merged

build: exclude incompatible PHPStan 2.2.6#87
ben-challis merged 1 commit into
mainfrom
codex/block-phpstan-2-2-6

Conversation

@ben-challis

Copy link
Copy Markdown
Owner

What

  • Exclude PHPStan 2.2.6 from the development dependency constraint.
  • Refresh the Composer lock hash.

Why

Rector 2.5.7 cannot start with PHPStan 2.2.6 because PHPStan removed a private parser property that Rector reads. This exact exclusion keeps highest-dependency builds operational and permits later PHPStan releases.

Upstream issue: rectorphp/rector#9824
Upstream fix: rectorphp/rector-src#8208
Removal tracker: #86

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ben-challis
ben-challis merged commit 7a1b3bf into main Jul 27, 2026
16 checks passed
@ben-challis
ben-challis deleted the codex/block-phpstan-2-2-6 branch July 27, 2026 01:49
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