After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 358976 - Doxygen refers "defines" as "enum" in PHP code
Doxygen refers "defines" as "enum" in PHP code
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.7.2
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
: 540292 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-02 12:05 UTC by Romain Tartière
Modified: 2018-07-30 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Romain Tartière 2006-10-02 12:05:27 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
Comment 1 Matt Farina 2010-10-14 18:54:08 UTC
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.
Comment 2 Dimitri van Heesch 2010-11-02 20:09:14 UTC
*** Bug 540292 has been marked as a duplicate of this bug. ***
Comment 3 albert 2018-06-28 10:55:35 UTC
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.
Comment 4 André Klapper 2018-07-30 10:57:08 UTC
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!