Hello All,
I recently created a CMS for the client which is meant to work out of the box. But I made a mistake by not commenting my code at the time of writing. Just wanted to know if there is a tool that will go through the files of CMS and add comment blocks automatically.
Let's suppose I have this code:
class foo{
function bar(array $array){
print_r ($array);
}
}
The tool should be able to comment it like (or somewhat similar):
class foo{
/**
* bar
*
* @access public
* @param array
* @return void
*/
function bar(array $array){
print_r ($array);
}
}
Edit:
The tool should only add phpdoc stubs, i will write explanatory comments myself.