X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrush%2Fdrush%2Fsrc%2FBoot%2FBaseBoot.php;fp=vendor%2Fdrush%2Fdrush%2Fsrc%2FBoot%2FBaseBoot.php;h=d5e2633b0bdccea2908c3a48492a8b7426e5b2e5;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=c9bfed9d2655f407ec0fa78ca9441c3857788751;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/drush/drush/src/Boot/BaseBoot.php b/vendor/drush/drush/src/Boot/BaseBoot.php index c9bfed9d2..d5e2633b0 100644 --- a/vendor/drush/drush/src/Boot/BaseBoot.php +++ b/vendor/drush/drush/src/Boot/BaseBoot.php @@ -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')); } }