From cc0ce62d35bc38f36728ff888a4bd05f2720763b Mon Sep 17 00:00:00 2001 From: Mike Churchward Date: Tue, 12 Sep 2023 13:46:22 -0400 Subject: [PATCH] Adding some debugging. --- src/Command/CodeCheckerCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Command/CodeCheckerCommand.php b/src/Command/CodeCheckerCommand.php index fe7f8a1..5289842 100644 --- a/src/Command/CodeCheckerCommand.php +++ b/src/Command/CodeCheckerCommand.php @@ -92,10 +92,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int } // Add the files to process. + $output->writeln(sprintf('Number of files requested %d', count($files))); foreach ($files as $file) { $output->writeln(sprintf('Adding file %s', $file)); $cmd[] = $file; } + $output->writeln(sprintf('Number of files loaded %d', count($cmd))); $process = $this->execute->passThroughProcess(new Process($cmd, $this->plugin->directory, null, null, null));