GNOME Bugzilla – Bug 642021
"use PDO;" makes doxygen not recognize PHP classes
Last modified: 2011-02-17 21:13:28 UTC
Created attachment 180572 [details] Simple php file to reproduce the bug If "use PDO;" is the last use statement in a file (only if it's the last, moving it upwards before the others fixes the problem), doxygen won't recognize the class, and won't document it. Version: - Doxygen version 1.7.3 - Package/build: doxygen_1.7.3-3ubuntu2_amd64.deb - Download: http://packages.ubuntu.com/natty/amd64/doxygen/download OS: uname -mors: Linux 2.6.35-25-generic x86_64 GNU/Linux Ubuntu 10.10 (Maverick) - amd64 Expected: - Documentation containing class documentation Actural result: - Documentation is generated, but class is missing, also Reproduce: - Create a PHP file and enter "use PDO;" at the last use statement - Run doxygen - Try with and without "use PDO;" doxygentest.php: <?php namespace test; use PDO; /** * Simple class to test it */ class Database extends PDO { /** * Dummy method * * @returns string */ public function foo() { return 'bar'; } } doxygen.conf: INPUT = . FILE_PATTERNS = *.php SHOW_FILES = YES EXTRACT_ALL = YES command to generate: doxygen doxygen.conf
*** This bug has been marked as a duplicate of bug 641673 ***
Sorry it was not a duplicate, but the good news is that this should already be fixed in the latest subversion snapshot.
This is the one I wanted to refer to. *** This bug has been marked as a duplicate of bug 640463 ***