Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / src / Command / ListCommand / InterfaceEnumerator.php
index dae0dace86a74d5c3db8a8814e935a7ad0853b12..4531fce83ba06127582a4d0b2b300171adff5eed 100644 (file)
@@ -23,7 +23,7 @@ class InterfaceEnumerator extends Enumerator
 {
     public function __construct(Presenter $presenter)
     {
-        @trigger_error('InterfaceEnumerator is no longer used', E_USER_DEPRECATED);
+        @\trigger_error('InterfaceEnumerator is no longer used', E_USER_DEPRECATED);
         parent::__construct($presenter);
     }
 
@@ -49,7 +49,7 @@ class InterfaceEnumerator extends Enumerator
             return;
         }
 
-        $interfaces = $this->prepareInterfaces(get_declared_interfaces());
+        $interfaces = $this->prepareInterfaces(\get_declared_interfaces());
 
         if (empty($interfaces)) {
             return;
@@ -69,7 +69,7 @@ class InterfaceEnumerator extends Enumerator
      */
     protected function prepareInterfaces(array $interfaces)
     {
-        natcasesort($interfaces);
+        \natcasesort($interfaces);
 
         // My kingdom for a generator.
         $ret = [];