We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assume we have the following class hierarchy:
class A { public function m(): void {} } class B extends A {} class C extends A {}
When A::m() is removed, BCC reports Method A#m() was removed 3 times, once for the base class and once more for every descendant.
A::m()
Method A#m() was removed
The text was updated successfully, but these errors were encountered:
https://github.com/vimeo/psalm/pull/7276/files resulted in 867 entries in changelog.
Sorry, something went wrong.
Yes, the duplication is annoying, but kinda necessary when inheritance involves third-party dependencies.
IMO it is not that problematic, compared to not having this reported at all 🤔
The problem is, BCC does not report the issue on the descendant class, it just repeats the same message:
[BC] Method A#m() was removed [BC] Method A#m() was removed [BC] Method A#m() was removed
At the very least I would expect something like this:
[BC] Method A#m() was removed [BC] Method B#m() (inherited from A) was removed [BC] Method C#m() (inherited from A) was removed
Makes sense - that is certainly something we can improve on!
No branches or pull requests
Assume we have the following class hierarchy:
When
A::m()
is removed, BCC reportsMethod A#m() was removed
3 times, once for the base class and once more for every descendant.The text was updated successfully, but these errors were encountered: