Last modified: 2012-08-12 10:11:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40492, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38492 - doxygen: workaround faulty @var
doxygen: workaround faulty @var
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-19 11:01 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-08-12 10:11 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-07-19 11:01:34 UTC
Doxygen has a bug (https://bugzilla.gnome.org/626105) which prevents it from finding the variable when using /** @var Type */ comments.

Example:

 /**
  * @var Title
  */
 protected $mTitle;

Doxygen will fail to see that $mTitle is a Title object.

A workaround is to use an input filter as described in http://stackoverflow.com/a/8472180/276152
Comment 1 Antoine "hashar" Musso (WMF) 2012-08-01 16:32:26 UTC
I have sent the hack with https://gerrit.wikimedia.org/r/17192
Comment 2 matanya 2012-08-12 10:11:41 UTC
patch merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links