I'm new with phpDocumentor and so far so good, but I have a question that I didn't catch in the manual... The documentation of global variables.
How would I document this code (see below) if:
1) $someGlobalVar is not decalren in the same PHP file of the class (it is even possible that it's not declared anywhere).
2) $someGlobalVar is declared like this: $someGlobalVar = array(); (not using the superglobal array like in the phpDocumentor manual).
Do I have to declare de global with @global in the PHP file of the class (even if not declared there))?
Do I have to use @name?
//I want to document the use of global var in this method
public function getSomeProperty()