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); } }