Mercurial > hg > isophonics-drupal-site
diff vendor/psy/psysh/src/Psy/Command/WhereamiCommand.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/vendor/psy/psysh/src/Psy/Command/WhereamiCommand.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/psy/psysh/src/Psy/Command/WhereamiCommand.php Fri Feb 23 15:52:07 2018 +0000 @@ -116,12 +116,12 @@ */ protected function execute(InputInterface $input, OutputInterface $output) { - $info = $this->fileInfo(); - $num = $input->getOption('num'); - $factory = new ConsoleColorFactory($this->colorMode); - $colors = $factory->getConsoleColor(); + $info = $this->fileInfo(); + $num = $input->getOption('num'); + $factory = new ConsoleColorFactory($this->colorMode); + $colors = $factory->getConsoleColor(); $highlighter = new Highlighter($colors); - $contents = file_get_contents($info['file']); + $contents = file_get_contents($info['file']); $output->startPaging(); $output->writeln('');