Mercurial > hg > isophonics-drupal-site
diff vendor/psy/psysh/src/Formatter/CodeFormatter.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
line wrap: on
line diff
--- a/vendor/psy/psysh/src/Formatter/CodeFormatter.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/psy/psysh/src/Formatter/CodeFormatter.php Thu Feb 28 13:21:36 2019 +0000 @@ -38,11 +38,11 @@ $colorMode = $colorMode ?: Configuration::COLOR_MODE_AUTO; if ($fileName = $reflector->getFileName()) { - if (!is_file($fileName)) { + if (!\is_file($fileName)) { throw new RuntimeException('Source code unavailable'); } - $file = file_get_contents($fileName); + $file = \file_get_contents($fileName); $start = $reflector->getStartLine(); $end = $reflector->getEndLine() - $start;