X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FCommand%2FCheckCommand.php;h=33fd6205edd86df61c9b97b02af0c07c0088e604;hp=aab2f38448fedd1279052424402abd3006e3a347;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;ds=sidebyside diff --git a/vendor/drupal/console-core/src/Command/CheckCommand.php b/vendor/drupal/console-core/src/Command/CheckCommand.php index aab2f3844..33fd6205e 100644 --- a/vendor/drupal/console-core/src/Command/CheckCommand.php +++ b/vendor/drupal/console-core/src/Command/CheckCommand.php @@ -18,6 +18,7 @@ use Drupal\Console\Core\Style\DrupalStyle; /** * Class CheckCommand + * * @package Drupal\Console\Core\Command */ class CheckCommand extends BaseCommand @@ -41,6 +42,7 @@ class CheckCommand extends BaseCommand /** * CheckCommand constructor. + * * @param RequirementChecker $requirementChecker * @param ChainQueue $chainQueue * @param ConfigurationManager $configurationManager @@ -77,23 +79,17 @@ class CheckCommand extends BaseCommand $checks = $this->requirementChecker->getCheckResult(); if (!$checks) { $phpCheckFile = $this->configurationManager->getHomeDirectory().'/.console/phpcheck.yml'; - $phpCheckFileDisplay = realpath($this->configurationManager->getHomeDirectory()).'/.console/phpcheck.yml'; if (!file_exists($phpCheckFile)) { $phpCheckFile = $this->configurationManager->getApplicationDirectory(). DRUPAL_CONSOLE_CORE. 'config/dist/phpcheck.yml'; - - $phpCheckFileDisplay = - realpath($this->configurationManager->getApplicationDirectory()). - DRUPAL_CONSOLE_CORE. - 'config/dist/phpcheck.yml'; } $io->newLine(); $io->info($this->trans('commands.check.messages.file')); - $io->comment($phpCheckFileDisplay); + $io->comment($phpCheckFile); $checks = $this->requirementChecker->validate($phpCheckFile); }