Skip to content

Commit

Permalink
Adding some debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
mchurchward committed Sep 12, 2023
1 parent 0d613b0 commit cc0ce62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/CodeCheckerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit cc0ce62

Please sign in to comment.