-
Notifications
You must be signed in to change notification settings - Fork 194
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
Add generics notation to MenuInterface #331
Conversation
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 tried to run phpstan on codebase and it looks like there are much more points to fix.
What about to fix them all? At least with level 6
Well, this specifically is not about running PHPStan on this repo codebase, but when using That being said, if I have time, I will take a look at running PHPStan here and see if I get it running at level 6. |
I forgot to ask, in the meantime, can this be merged any maybe tagged (not super important), so it can be useful for other libs? |
Looks like you have to rebase this PR. Hope this can be merged soon, as it would help many projects that are using phpstan / psalm. |
No need to rebase, for now |
Travis is failing because of some generic phpunit error, that does not happen on the latest 2.x commit: https://travis-ci.org/github/KnpLabs/KnpMenu/builds/579731224 |
@garak Hi! What is the status of this PR? Is this something that is acceptable? |
Co-authored-by: Alexander M. Turek <me@derrabus.de>
Co-authored-by: Alexander M. Turek <me@derrabus.de>
Thanks for the merge @garak ! Can we have a |
Here you are: https://github.com/KnpLabs/KnpMenu/releases/tag/2.6.1 |
Thanks @garak ❤️ |
Solves errors by PHPStan similar to: