From: Timo Tijhof Date: Sat, 30 Aug 2014 16:50:35 +0000 (+0200) Subject: doxygen: Fix leading space in class member descriptions X-Git-Tag: 1.31.0-rc.0~13875^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=01a7b4343a2a125b9899837043d506d7bb6cb1ed;p=lhc%2Fweb%2Fwiklou.git doxygen: Fix leading space in class member descriptions Using ResourceLoader.php as example: $ php maintenance/mwdoc-filter.php includes/resourceloader/ResourceLoader.php == Before == Filtered code: /** Associative mapping ... */ protected array $moduleInfos = array(); /** $config */ private Config $config; Note descriptions containing a leading slash which was matched after the type hint in the original code. == After == Filtered code: /** Associative mapping ... */ protected array $moduleInfos = array(); /** $config */ private Config $config; Change-Id: Idcdd487ad0f4fbabdd5665abfbb8492f5bac655a --- diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index 268ccdbcb5..8650689160 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -21,6 +21,7 @@ $regexp = '#' . '\s+' // Type hint . '([^\s]+)' + . '\s+' // Any text or line(s) between type hint and '/' closing the comment // (includes the star of "*/") . '([^/]+)'