Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / IssnValidator.php
index ae1bb6fa3481a4a859269d30a4d8e461228f829b..f045e62e2ca18554917fc5f9680bb3436b7862d9 100644 (file)
@@ -38,7 +38,7 @@ class IssnValidator extends ConstraintValidator
             return;
         }
 
-        if (!is_scalar($value) && !(is_object($value) && method_exists($value, '__toString'))) {
+        if (!is_scalar($value) && !(\is_object($value) && method_exists($value, '__toString'))) {
             throw new UnexpectedTypeException($value, 'string');
         }
 
@@ -59,7 +59,7 @@ class IssnValidator extends ConstraintValidator
             return;
         }
 
-        $length = strlen($canonical);
+        $length = \strlen($canonical);
 
         if ($length < 8) {
             $this->context->buildViolation($constraint->message)