Re: Re: 1 file / 1 class == 2 headers
| From: | Greg Beaver | Date: | Sun, 31 Jul 2005 18:30:49 +0000 |
| Subject: | Re: Re: 1 file / 1 class == 2 headers | ||
| References: | 1 2 3 4 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2836@lists.php.net to get a copy of this message | ||
Paul Jones wrote:
I take it you mean two DocBlock headers? I think that's the PEAR standard; one for the file itself, and one for each class and function in the file. I think phpDocumentor throws errors if you don't have one for the file.It's just a warning that phpDocumentor has made an assumption that the file is the same as the package. This is always true for PEAR packages and can be ignored. phpDocumentor is a kitchen sink, it is also designed for documenting files where the developer has crammed in several functions from one project, and classes from another. phpDocumentor will make assumptions about which package constants, global vars, functions, and include statements belong in unless it is explicitly specified in a page-level docblock. If you have 50 files to add the headers to, either don't add them, or add one per day for 2 months :). Don't kill yourself over this one. Greg