Request: add support for @property-{read,write}
flaviovs opened this issue · comments
Flávio Veloso Soares commented
It seems a trivial change to the bundled phpctags. Around line 24725 of the phar file (untested):
if (preg_match(
- "/@property[ \t]+([a-zA-Z0-9_\\\\]+)[ \t]+\\$?([a-zA-Z0-9_]+)/",
+ "/@property(?:-write|-read)?[ \t]+([a-zA-Z0-9_\\\\]+)[ \t]+\\$?([a-zA-Z0-9_]+)/",
$line_str,
$matches
))
jim commented
ok
Flávio Veloso Soares commented
Thanks @xcwen