-
-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get ready for PHPStan 2.0 #8815
Comments
Sounds good 👍 We'll give this a priority by the end of the year and do upgrade of both PHPStan 2 and php-parser 5 at once. |
We're now in the release candidate period phpstan/phpstan#11816 |
rector phpstan's extensions seems need to have compatible to phpstan 2 first:
|
@TomasVotruba Today is 11.11. Do you plan to make Rector PHPStan 2 compatible this week? |
First step: symplify/phpstan-extensions#12 |
@szepeviktor Depends how many only-in-Rector BC breaks we'll have to deal with. We use lot of internal code, so it might be a challange. @samsonasik Could you look into it? |
@TomasVotruba sure, phpstan 2 require php-parser 5 so it will need revisit my old PR: to be reincorporated ;) |
I think best way to start is to enable bleeding edge and maybe install |
Exactly, as the upgrading guide says! |
sure, see rectorphp/rector-src#6415 |
I created this PR for |
Another PR for |
I am trying to install phpstan 2 and php-parser 5 the php-parser is patched, and currently got error on phpstan service:
|
Remove lexer params seems handle it rectorphp/rector-src@f7e9549 will continue updating there at: |
Another PR for |
Feature Request
Hi, I just started working on PHPStan 2.0 which will come with PHP-Parser 5. These are early days of the development, but you can already require
phpstan/phpstan:^2.0
(with minimum-stability dev) and start working on making Rector compatible.There will be more backward compatibility breaks coming in the next few months as I work towards to release, but you can already start getting rector-src ready for Rector 2.0 which will require PHPStan 2.0.
Please keep this issue open so we can discuss the next major PHPStan version. I'd also appreciate any feedback from your side. Thanks. 🤞
The text was updated successfully, but these errors were encountered: