Skip to content

Download PHPStan Pro from its 2.2.x branch - #6927

Merged
ondrejmirtes merged 1 commit into
phpstan:2.3.xfrom
ondrejmirtes:pro-branch-2.2.x
Nov 3, 2026
Merged

ondrejmirtes merged 1 commit into
phpstan:2.3.xfrom
ondrejmirtes:pro-branch-2.2.x

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

--pro now asks the download API for the PHAR published from phpstan/phpstan-fixer's new 2.2.x branch instead of 2.1.x. A PHAR downloaded from 2.1.x is replaced at the next start, because its branch differs.

Merge this after phpstan/phpstan-fixer#291 is merged and the 2.2.x PHAR is published. Until then, 2.2.x has the same code as 2.1.x.

PHPStan Pro 2.2.x applies the fixedErrorDiffs PHPStan sends, edits the
baseline and ignoreErrors, and drops the Ignore Line wizard that --fix
replaced. A downloaded 2.1.x PHAR is replaced right away because its
branch differs.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1a198-fa57-7583-9394-63372a7e2fa8
@ondrejmirtes
ondrejmirtes merged commit 526a382 into phpstan:2.3.x Nov 3, 2026
1034 of 1039 checks passed
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