Is there a way to tell Psalm or PHPStan to make sure that any updated methods also get updated DocBlocks?
This is a common challenge in software development teams. A DocBlock will get written during initial creation of a method. Then the method changes, and the DocBlock ends up being out of date and inaccurate.
If there’s an easy way to tell my CI pipeline (or even a git hook) that a DocBlock is in danger of being inaccurate, I would like to do that. If there’s not such a tool, I would like to build one as a small side project.