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

From: Date: Fri, 25 Oct 2002 09:51:39 +0000
Subject: #20080 [NEW]: PHPDoc: class files not correctly recognized
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10243@lists.php.net to get a copy of this message
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: 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 (#10243) next »