Netgen Tags Bundle is an eZ Platform bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ezkeyword field type included in eZ Platform kernel.
As reported in issue #146, trying to create a new tag when using Symfony 5.4 throws an error. In Symfony 5.4, a change was introduced that limited the constraints option for a form field to be either a constraint object, or an array of constraint objects. Therefore, using null now throws an error.
This pull request fixes that error by replacing the null with an empty array, [].
As reported in issue #146, trying to create a new tag when using Symfony 5.4 throws an error. In Symfony 5.4, a change was introduced that limited the
constraints
option for a form field to be either a constraint object, or an array of constraint objects. Therefore, usingnull
now throws an error.This pull request fixes that error by replacing the
null
with an empty array,[]
.