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 640463 - PHP class ignored if last use statement has root namespace
PHP class ignored if last use statement has root namespace
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 642021 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-24 20:11 UTC by Peter Norden
Modified: 2011-03-28 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Norden 2011-01-24 20:11:10 UTC
When generating docs from namespaced PHP sources, no documentation is generated for class files where the last use statement contains a class which is not in a namespace itself.

Examples:
---
<?php

namespace Some\Where;

use DateTime;

class Foo { 

}
---

---
<?php

namespace Some\Where;

use Another\One;
use DateTime;

class Foo { 

}
---


The following snippets work as expected:

---
<?php

namespace Some\Where;

use DateTime;
use Another\One;

class Foo { 

}
---

---
<?php

namespace Some\Where;

use Another\One;

class Foo { 

}
---
Comment 1 Dimitri van Heesch 2011-02-06 16:09:04 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2011-02-17 21:13:28 UTC
*** Bug 642021 has been marked as a duplicate of this bug. ***
Comment 3 Dimitri van Heesch 2011-03-28 14:19:33 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.4. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.