Re: #20080 [NEW]: PHPDoc: class files not correctly recognized

From: Date: Tue, 12 Nov 2002 19:56:59 +0000
Subject: Re: #20080 [NEW]: PHPDoc: class files not correctly recognized
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10729@lists.php.net to get a copy of this message
Your problem is that you are using an outdated tool. Use phpDocumentor http://www.phpdoc.org Greg <herrmann@interdv.de> wrote in message news:bug-20080@bugs.php.net... > From: herrmann@interdv.de > Operating system: Linux > PHP version: 4.2.3 > PHP Bug Type: PEAR related > Bug description: PHPDoc: class files not correctly recognized > > 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 bug report at http://bugs.php.net/?id=20080&edit=1 > -- > Try a CVS snapshot: http://bugs.php.net/fix.php?id=20080&r=trysnapshot > Fixed in CVS: http://bugs.php.net/fix.php?id=20080&r=fixedcvs > Fixed in release: http://bugs.php.net/fix.php?id=20080&r=alreadyfixed > Need backtrace: http://bugs.php.net/fix.php?id=20080&r=needtrace > Try newer version: http://bugs.php.net/fix.php?id=20080&r=oldversion > Not developer issue: > http://bugs.php.net/fix.php?id=20080&r=support > Expected behavior: http://bugs.php.net/fix.php?id=20080&r=notwrong > Not enough info: http://bugs.php.net/fix.php?id=20080&r=notenoughinfo > Submitted twice: http://bugs.php.net/fix.php?id=20080&r=submittedtwice > register_globals: > http://bugs.php.net/fix.php?id=20080&r=globals > PHP 3 support discontinued: > http://bugs.php.net/fix.php?id=20080&r=php3 > Daylight Savings: �÷3=õq=' > §ÝO±http://bugs.php.net/fix.php?id=20080&r=dst > IIS Stability: > http://bugs.php.net/fix.php?id=20080&r=isapi >

« previous php.pear.dev (#10729) next »