$canonicalize = str_replace(' ', '', $value);
// the bic must be either 8 or 11 characters long
- if (!in_array(strlen($canonicalize), array(8, 11))) {
+ if (!\in_array(\strlen($canonicalize), array(8, 11))) {
$this->context->buildViolation($constraint->message)
->setParameter('{{ value }}', $this->formatValue($value))
->setCode(Bic::INVALID_LENGTH_ERROR)