Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / src / Boot / BaseBoot.php
index c9bfed9d2655f407ec0fa78ca9441c3857788751..d5e2633b0bdccea2908c3a48492a8b7426e5b2e5 100644 (file)
@@ -21,6 +21,7 @@ abstract class BaseBoot implements Boot, LoggerAwareInterface, ContainerAwareInt
 
     public function __construct()
     {
+        register_shutdown_function([$this, 'terminate']);
     }
 
     public function findUri($root, $uri)
@@ -141,7 +142,7 @@ abstract class BaseBoot implements Boot, LoggerAwareInterface, ContainerAwareInt
         if ($object instanceof \Robo\Contract\VerbosityThresholdInterface) {
             $object->setOutputAdapter($container->get('outputAdapter'));
         }
-        if ($object instanceof \Drush\SiteAlias\SiteAliasManagerAwareInterface) {
+        if ($object instanceof \Consolidation\SiteAlias\SiteAliasManagerAwareInterface) {
             $object->setOutputAdapter($container->get('site.alias.manager'));
         }
     }