-
Notifications
You must be signed in to change notification settings - Fork 2
Allow installation of psalm 6, Drop PHP 8.0 support #4
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
Conversation
…uppresses which are not relevant for the test case. Add some unused supresses for the plugin itself. Update deps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this change! I had one minor request, once it gets updated I will merge this in and cut a new release.
src/AllowInheritance.php
Outdated
@@ -4,6 +4,7 @@ | |||
|
|||
use Attribute; | |||
|
|||
/** @psalm-suppress UnusedClass */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually believe this should be annotated as @api
. This communicates the class is part of the public facing API used by installers of this lib.
Edit: And, of course, getting the build to go green :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, didnt know this annotation exist.
Regarding failing build: would drop PHP 8.0 then :)
@cspray could you again have a look on this patch? |
@DanielBadura Sorry for the delay. I will review this today. Thanks! |
Thank you very much for your contribution! I'll cut a new major release soon to enable using Psalm 6. |
Thanks! I don't think you would need a new major version for this since the API for the user did not change. But the choice is yours :D |
I removed the stub logic alltogether since it was not used, added some supresses to satify pslam as it seems this is the way to go here, otherwise i would have created a baseline for them.