Currently the tags of following docblock are parsed as array('special' => "foo\nbar"). This diff changes the output to be array('special' => array('foo', 'bar')).
/** * @special foo * @special bar */
Differential D16431
Improve parsing of docblock specials joshuaspence on Aug 23 2016, 12:26 AM. Authored by Tags None Referenced Files
Subscribers
Details
Currently the tags of following docblock are parsed as array('special' => "foo\nbar"). This diff changes the output to be array('special' => array('foo', 'bar')). /** * @special foo * @special bar */ Ran unit tests.
Diff Detail
Event TimelineComment Actions One inline -- and what does this produce (is there a test for it)? @key value @key
Comment Actions Ah, that makes sense for the no-strings case. Agreed that true is probably the right value there. (I'm actually not really sure what I expect string + no string case to do.) Comment Actions Cool, those behaviors seem reasonable to me. Thanks! (Does @stable @stable @stable have a test case?) |