php / doc-base

Tools for the PHP documentation
Other
343 stars 85 forks source link

Add QA script to check for valid method names #41

Open Girgias opened 3 years ago

Girgias commented 3 years ago

This is based on scripts/qa/check-valid-function.php.

However, I've walked into a conundrum because it turns out all functions use the <methodsynopsis> tag instead of <funcsynopsis> meaning that for the prototype of every function there is a usage of <methodname> which is currently being flagged.

I'm not totally sure what's the best way to approach this is in the script (because changing half the docs to be semantically correct, although nice, is not practical). So if anyone has ideas.