Zend Framework

Zend_Reflection_Docblock_Tag has problems with @deprecated without whitespace at the end.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Reflection
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

There are several regular expressions like #^@(\w+)\s#. All of them assume that there is a whitespace after the tag, throwing an exception otherwise. It also seems that the abstraction of docblocks is not working properly when meeting unknown tags or when certain tags like @param are missing. I don't know how to handle missing tags if it is not possible to generate them into the "broken" classes and interfaces.

Issue Links

Activity

Hide
Rüdiger Krieg added a comment -

The priority of this issue was changed to "N/A - Not Applicable". I don't understand this priority
Does this mean the issue will not be solved?

Show
Rüdiger Krieg added a comment - The priority of this issue was changed to "N/A - Not Applicable". I don't understand this priority Does this mean the issue will not be solved?
Hide
Ralph Schindler added a comment -

(That was a bulk update to ensure that I can look at the issues, the change was described on the mailing list)

Changed to "Trivial" fix, "Nice To Have" in the "Next Mini Release"

Show
Ralph Schindler added a comment - (That was a bulk update to ensure that I can look at the issues, the change was described on the mailing list) Changed to "Trivial" fix, "Nice To Have" in the "Next Mini Release"
Hide
Satoru Yoshida added a comment -

Maybe I could work on it

Show
Satoru Yoshida added a comment - Maybe I could work on it
Hide
Carlton Gibson added a comment - - edited

I've fixed this as part of ZF-6726. (See the new test case for @emptyTag in _TagTest.php)

Show
Carlton Gibson added a comment - - edited I've fixed this as part of ZF-6726. (See the new test case for @emptyTag in _TagTest.php)
Hide
Carlton Gibson added a comment -

This should be fixed with revision 18072. (Please review.)

Show
Carlton Gibson added a comment - This should be fixed with revision 18072. (Please review.)
Hide
Carlton Gibson added a comment -

Fixed as part of ZF-6726

Show
Carlton Gibson added a comment - Fixed as part of ZF-6726

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: