Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / config / Tests / Definition / ArrayNodeTest.php
index 58d2939300f718378f7b6274b9a529450b194a07..089cb56638d352b8ecdb344380eff61cfe58f299 100644 (file)
@@ -56,10 +56,10 @@ class ArrayNodeTest extends TestCase
     {
         if ($expected instanceof \Exception) {
             if (method_exists($this, 'expectException')) {
-                $this->expectException(get_class($expected));
+                $this->expectException(\get_class($expected));
                 $this->expectExceptionMessage($expected->getMessage());
             } else {
-                $this->setExpectedException(get_class($expected), $expected->getMessage());
+                $this->setExpectedException(\get_class($expected), $expected->getMessage());
             }
         }
         $node = new ArrayNode('root');