silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
720 stars 823 forks source link

ViewableDataContains::toString - add representation for more than one match #10990

Closed sabina-talipova closed 10 months ago

sabina-talipova commented 10 months ago

Description

ViewableDataContains::toString returns the first element of the current $this->match array. Add representation if $this->match array contains more than one element.

See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Dev/Constraint/ViewableDataContains.php#L78

GuySartorelli commented 10 months ago

Gonna close this one - we're not likely to get around to doing it.