Symfony version(s) affected
7.3
Description
When using AbstractComparison constraint to compare a value to an array, e.g.
new Assert\NotIdenticalTo(value: []),
The deprecation is still emmited because the code checks if the value is an array or not.
How to reproduce
Just use a constraint extending from AbstractComparison class and check for an array value:
new Assert\NotIdenticalTo(value: []),