Skip to content
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

Upgrade to Rector 2.0 with PHPStan 2 and PHPParser 5 #4450

Conversation

samsonasik
Copy link
Contributor

@samsonasik samsonasik commented Nov 21, 2024

Rector is upgrading to PHPStan 2 and PHPParser 5 at PR:

this PR upgrade for compatiblity syntax.

Fixes: #4247

@samsonasik
Copy link
Contributor Author

Unit test green 🎉 https://github.com/sabbelasichon/typo3-rector/actions/runs/11950281307/job/33311437868?pr=4450

Next todo is fix phpstan notice

@sabbelasichon
Copy link
Owner

@samsonasik Thank you very much. This is amazing.

@samsonasik
Copy link
Contributor Author

Ready when Rector 2.0 released, rector/rector can be updated to:

- "rector/rector": "dev-main as 1.2.10",
+ "rector/rector": "~2.0.0",

@samsonasik
Copy link
Contributor Author

/cc @simonschaufi

@simonschaufi
Copy link
Collaborator

Wow, you are amazing! 🤗 😍

@samsonasik
Copy link
Contributor Author

Bumped to Rector 2.0 🎉

@kevin-appelt
Copy link

Would be great to see this released to be able to update phpstan and rector :)

@simonschaufi simonschaufi changed the title Prepare to Rector next 2.0 with PHPStan 2 and PHPParser 5 Prepare to Rector 2.0 with PHPStan 2 and PHPParser 5 Dec 13, 2024
@simonschaufi simonschaufi force-pushed the prepare-to-rector-2-phpstan-2-php-parser-5 branch from b5041fd to a273b04 Compare December 13, 2024 23:12
@simonschaufi simonschaufi changed the title Prepare to Rector 2.0 with PHPStan 2 and PHPParser 5 Upgrade to Rector 2.0 with PHPStan 2 and PHPParser 5 Dec 13, 2024
@simonschaufi simonschaufi merged commit 8d7beed into sabbelasichon:main Dec 13, 2024
31 checks passed
@samsonasik samsonasik deleted the prepare-to-rector-2-phpstan-2-php-parser-5 branch December 14, 2024 05:12
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.

Allow nikic/php-parser v5 (TYPO3 13 compatibility)
4 participants