Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / css-selector / XPath / Extension / AttributeMatchingExtension.php
index 6ace8b5925969ccc11d4323b7eff474760e73f6d..2078dca61da10535ce48f32b5f168cf9a1f2149f 100644 (file)
@@ -128,7 +128,7 @@ class AttributeMatchingExtension extends AbstractExtension
         return $xpath->addCondition($value ? sprintf(
             '%1$s and substring(%1$s, string-length(%1$s)-%2$s) = %3$s',
             $attribute,
-            strlen($value) - 1,
+            \strlen($value) - 1,
             Translator::getXpathLiteral($value)
         ) : '0');
     }