laminas / laminas-inputfilter

Normalize and validate input sets from the web, APIs, the CLI, and more, including files
https://docs.laminas.dev/laminas-inputfilter/
BSD 3-Clause "New" or "Revised" License
41 stars 28 forks source link

Null default value in `ArrayInput` is possible BC Break #106

Closed gsteel closed 5 months ago

gsteel commented 5 months ago

105 removes overriden property $value and method resetValue() which originally was set to an empty array.

The change is probably a BC break and will need to be reverted, deprecated and released to be reinstated back to default null in the next major.

_Originally posted by @kersysgediminas in https://github.com/laminas/laminas-inputfilter/pull/105#discussion_r1549708604_