From c9c415c736354ce897e131891684fa93ea678521 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 10 Apr 2019 23:32:26 +0200 Subject: [PATCH] wip --- .../Adapters/Laravel/Commands/InsightsCommand.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Application/Adapters/Laravel/Commands/InsightsCommand.php b/src/Application/Adapters/Laravel/Commands/InsightsCommand.php index 8098e7d8..a234b138 100644 --- a/src/Application/Adapters/Laravel/Commands/InsightsCommand.php +++ b/src/Application/Adapters/Laravel/Commands/InsightsCommand.php @@ -27,6 +27,13 @@ final class InsightsCommand extends Command */ public function handle(AnalyseCommand $analyseCommand): void { + define('PHP_CODESNIFFER_VERBOSITY', 0); + + /** + * Includes PHP Codesniffer's autoload. + */ + include_once 'vendor/squizlabs/php_codesniffer/autoload.php'; + $analyseCommand->__invoke($this->input, $this->output); } }