zendframework/zf2 — pull request #5623 by gammamatrix (2013-12-18 06:24:59+00:00)
Title: Adding attributes to fieldsets. Legends are optional for fieldsets.

As the comment says: Every collection is wrapped by a fieldset if needed

With this patch, a legend is not required for a fieldset.
* Now, if a label is specified, a legend will be created.
* Before, a fieldset would not be wrapped around the markup unless a label was set.
* Now, a fieldset will be wrapped around the markup if $this->shouldWrap is true, regardless if a label has been set for the legend.