I've switched to PHP 5.3 and the namespaces. It seems like the @package tag is redundant and useless now.
Is it still required by phpDoc, or can I ignore this tag now ?
Thanks
I've switched to PHP 5.3 and the namespaces. It seems like the @package tag is redundant and useless now.
Is it still required by phpDoc, or can I ignore this tag now ?
Thanks
It is not required.
Latest doc now states that @package
should be avoided if you use namespace and you don't need a different structure for documentation:
If, across the board, both logical and functional subdivisions are equal is it NOT RECOMMENDED to use the @package tag, to prevent maintenance overhead.
http://phpdoc.org/docs/latest/references/phpdoc/tags/package.html
@package is not related to namespaces but to organizing the resulting documentation.
Packages are used to help you logically group related elements. phpDoc manual
EDIT:
Is there any replacement for PHPDocumentor that supports PHP 5.3?