#20080 [Opn->WFx]: PHPDoc: class files not correctly recognized
| From: | jellybob@php.net | Date: | Sun, 27 Apr 2003 16:13:14 +0000 |
| Subject: | #20080 [Opn->WFx]: PHPDoc: class files not correctly recognized | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15603@lists.php.net to get a copy of this message | ||
ID: 20080
Updated by: jellybob@php.net
Reported By: herrmann at interdv dot de
-Status: Open
+Status: Wont fix
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.2.3
New Comment:
PHPDoc is no longer supported, please use PHPDocumentor instead (see
http://pear.php.net/package-info.php?package=PhpDocumentor
and
http://phpdocu.sourceforge.net/ for more details.)
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 04:51:39] herrmann at interdv dot de
If I start a class file with
<?php
/**
* short line
*
* long descr
*
* @author ...
*/
class MyClass
{
...
}
?>
PHPDoc does not recognize the file as class file and reports 2
warnings:
[module] <filename> collision
PHPDoc is confused: module files must not contain classes. Doc will
probably be broken, module gets ignored.
[class] collision
Warning: found a module comment in a class file. Module comment gets
ignored, doc might be broken.
If I insert an
require_once ...;
line between
<?php
and the doc comment, everything's fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20080&edit=1