View Issue Details

IDProjectCategoryView StatusLast Update
0021936mantisbtcode cleanuppublic2016-11-21 07:33
Reportercproensa Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0021936: Properly document global variables in code
Description

Document global variables declarations, with a proper PHPDoc block

As @dregad comments:
https://github.com/mantisbt/mantisbt/pull/952#issuecomment-261923659

<pre>
Well it's currently not consistent... Examples

Plain comment https://github.com/mantisbt/mantisbt/blob/master/core/html_api.php#L84
Regular comment with @global tag https://github.com/mantisbt/mantisbt/blob/master/core/database_api.php#L43
Proper PHPDoc block https://github.com/mantisbt/mantisbt/blob/master/core/email_api.php#L83
and sometimes there's no comment at all.

</pre>

TagsNo tags attached.

Activities

There are no notes attached to this issue.