Issues

ZF-7344: Zend_Server_Reflection_Function_Abstract parameter description matching regex is broken

Issue Type: Bug Created: 2009-07-21T15:02:52.000+0000 Last Updated: 2010-01-25T12:12:39.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Stephen Leavitt (subzero2000) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Server_Reflection

Related issues: - ZF-6996

Attachments: - Zend_Server_Reflection_Function_Abstract.php.patch

Description

The regular expression that matches the description from the @param tags in the DocBlock section of a function or method is broken.

Comments

Posted by Stephen Leavitt (subzero2000) on 2009-07-21T15:12:43.000+0000

The regular expression that matches the description from the @param tags in the DocBlock section of a function or method is broken.

The regular expression has an extraneous caret (^) symbol in it that needs to be removed in order for the expression to work properly.

Attached is a patch that achieves this.

Posted by Satoru Yoshida (satoruyoshida) on 2009-07-21T18:15:15.000+0000

It may be duplicate of ZF-6996.

Posted by Stephen Leavitt (subzero2000) on 2009-07-21T20:39:51.000+0000

After having read ZF-6996, I would have to concur that this issue is in fact a duplicate.

Posted by Matthew Weier O'Phinney (matthew) on 2010-01-25T12:12:39.000+0000

Fixed in trunk and 1.10 release branch.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts