From 01a7b4343a2a125b9899837043d506d7bb6cb1ed Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sat, 30 Aug 2014 18:50:35 +0200 Subject: [PATCH] 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 --- maintenance/mwdoc-filter.php | 1 + 1 file changed, 1 insertion(+) 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 "*/") . '([^/]+)' -- 2.20.1