Showing content from https://github.com/phan/phan/issues/660 below:
Work on backlog of tasks for "@method" annotation support from #640 · Issue #660 · phan/phan · GitHub
Related to #467
I think there may be more work on the following:
- suppressing issues in magic methods - Do @Suppress annotations work as intended? (E.g. returns an undeclared class) (
@phan-suppress-next-line
, etc)
- Allowing a magic method to be both static/instance (uncommon)
- Deciding what to do if there's a real method of the same name in a subclass or implementing class.
(Warn that the annotation is misused? It might make sense if the method is non-public)
- Enforcing that non-abstract classes implementing interfaces or extending abstract classes with magic methods have __call defined for instance magic methods, __callStatic defined for static magic methods.
- New warning type for real methods in parent/subclass conflicting with magic methods, magic methods in subclasses incompatible with magic method in parent interface/abstract class.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4