I have objects with many variables that I declare and explain in the comments. I comment very carefully for further processing using phpDoc, however I have no experience with actual documentation compilation.
I find it very annoying that with phpDoc notation, each variable is powered by four to six lines of code, even if the only attribute I want to set is a description:
var $variable = null;
I would like to use the following notation:
var $variable = null;
Is there an easy way to configure phpDoc to accept this, or can it cause me problems when I actually try to compile the documentation? I don’t need a setting right now (although it is, of course, appreciated), just an expression from someone who knows phpDoc whether this is possible without redoing large parts of my code.
source
share