-
Notifications
You must be signed in to change notification settings - Fork 660
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
Support for PHPUnit 11 #10792
Comments
Hey @niconoe-, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug. |
Accordig to #10788 (comment), this is fixed in master and won't be backported to Psalm 5. |
Oh, snap, I searched for already opened issues for that, but as it was closed, I missed it. Sorry for the duplicate. Thanks a lot for your answer 🙂 |
@janopae I assume phpunit in version 11 requires new major release of PSALM (6). Any roadmap already for this? Phpunit 10 bugfix support ends Feburary 2025. |
I'd like to know as well. It can easily take years to get Psalm 6 released. If there is no roadmap for Psalm 6, I think this should be addressed in Psalm 5 as well. |
Hi all!
PHPUnit 11 has been released some weeks ago but unfortunatley, Psalm, in its latest version does not support it.
composer.json:
On
composer update
(orcomposer install
):That means Psalm should require nikic/php-parser:^5.0 too, in order to support PHPUnit 11. As this is a new major version, there are some BCBreaks about upgrading (see https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-5.0.md)
Is there any plan to upgrade? I think can help in participate in any related PR, but I don't think I'll be able to handle this solo.
Do you think this could be a BCBreak on Psalm too so that a version 6 would be required?
Thanks a lot 🙂
The text was updated successfully, but these errors were encountered: