Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Loader / PhpFileLoader.php
index f0be7534ea67d4f21dc2c0e856d83c982eff818c..ff8df43f8408f02c1f6d50b0a0dc246fc5e7e231 100644 (file)
@@ -33,7 +33,7 @@ class PhpFileLoader extends FileLoader
         $loader = $this;
 
         $path = $this->locator->locate($resource);
-        $this->setCurrentDir(dirname($path));
+        $this->setCurrentDir(\dirname($path));
         $this->container->fileExists($path);
 
         // the closure forbids access to the private scope in the included file
@@ -53,7 +53,7 @@ class PhpFileLoader extends FileLoader
      */
     public function supports($resource, $type = null)
     {
-        if (!is_string($resource)) {
+        if (!\is_string($resource)) {
             return false;
         }