I wrote this to check if the class and functions docblocks are present. I used the PEAR check with some modifications (no requirements of tags, just the dockblock). I also allowed inline control structures, because on certain cases it be useful.
Check for the class dockblocks
Check for function dockblocks
Allow inline conditional structures, like if (true) return;
I wrote this to check if the class and functions docblocks are present. I used the PEAR check with some modifications (no requirements of tags, just the dockblock). I also allowed inline control structures, because on certain cases it be useful.