Zend Framework

Zend_Reflection_Docblock_Tag_Param too restrictive with spaces when parsing tags

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.8.2
  • Fix Version/s: None
  • Component/s: Zend_Reflection
  • Labels:
    None

Description

Many libraries (such as PHPUnit) use a variable number of spaces between tag and argument to that tag, to make it look like the strings are in columns.

Zend_Reflection_Docblock_Tag_Param will throw a Zend_Reflection_Exception in these cases, because the regex used to check only allows one space.

Issue Links

Activity

Hide
Satoru Yoshida added a comment -

Set component and auto reassign

Show
Satoru Yoshida added a comment - Set component and auto reassign
Hide
Satoru Yoshida added a comment -

It seems to be duplicate of ZF-6726

Show
Satoru Yoshida added a comment - It seems to be duplicate of ZF-6726

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: