We currently document some of our PHP code but there is no incentive to do this correctly or at all.
We should add a command to the Makefile to do this.
Proof of concept:
See https://gerrit.wikimedia.org/r/#/c/126825/
Version: unspecified
Severity: enhancement