GNOME Bugzilla – Bug 358976
Doxygen refers "defines" as "enum" in PHP code
Last modified: 2018-07-30 10:57:08 UTC
Considering this PHP input file : -- BEGIN INPUT FILE -- <?php define('foo', 'bar'); ?> --- END INPUT FILE --- Generating the documentation of this produces the following result: -- BEGIN SNIPPET -- Enumeration Type Documentation enum foo --- END SNIPPET --- Looks strange: foo is a constant, not an enumeration... $ doxygen --version 1.4.7 Debian GNU/Linux SID
This is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=540292 I can confirm this is still an issue in 1.7.2.
*** Bug 540292 has been marked as a duplicate of this bug. ***
In version 1.8.14 I see that: • define( 'CONSTNAME1', 0 ); is shown as • const CONSTNAME1 0 I think the problem has been solved in the mean time.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!