- Mentioned Here
- T231636: Butcher the list of phan suppressions in MW core
T168994: Add sniff to check if all returns of a function are void or non-void returns
T222935: HttpRequestFactory get method always return null (was: All local file description pages pointing to Commons do not display description locally from 1.34.0-wmf.4)
codesniffer is looking the other way round, so having a return with a value and not @return it would be an issue.
T168994 can improve the situation are also covered by changes to this task.
The phan config contains some disabled issue.
A issue to the return it is only PhanTypeMismatchReturn but that is only for types and I have not tested, if it can find the actual void vs. the type from @return