Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / BicValidator.php
index d2188071fabf144aaa3952d952830ea0fac098cb..51aecc384ae789a5eca30daccd86844848238bfb 100644 (file)
@@ -33,7 +33,7 @@ class BicValidator extends ConstraintValidator
         $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)