Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / config / FileLocator.php
index f5593cbbe2550911ddac78dd4818486ea9b49af1..2c9cea047c2a426fb9afe79730438b289558addc 100644 (file)
@@ -57,7 +57,7 @@ class FileLocator implements FileLocatorInterface
         $filepaths = $notfound = array();
 
         foreach ($paths as $path) {
-            if (@file_exists($file = $path.DIRECTORY_SEPARATOR.$name)) {
+            if (@file_exists($file = $path.\DIRECTORY_SEPARATOR.$name)) {
                 if (true === $first) {
                     return $file;
                 }
@@ -84,7 +84,7 @@ class FileLocator implements FileLocatorInterface
     private function isAbsolutePath($file)
     {
         if ('/' === $file[0] || '\\' === $file[0]
-            || (strlen($file) > 3 && ctype_alpha($file[0])
+            || (\strlen($file) > 3 && ctype_alpha($file[0])
                 && ':' === $file[1]
                 && ('\\' === $file[2] || '/' === $file[2])
             )