Skip to content

Commit

Permalink
phpro#1098 add extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
malcomio committed Jul 28, 2023
1 parent bbb82b4 commit f7d8483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Task/PhpMd.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public function run(ContextInterface $context): TaskResultInterface
$arguments->addOptionalArgument('--exclude', !empty($config['exclude']));
$arguments->addOptionalCommaSeparatedArgument('%s', $config['exclude']);

$arguments->addOptionalCommaSeparatedArgument('--suffixes \'%s\'', $extensions);

$process = $this->processBuilder->buildProcess($arguments);
$process->run();

Expand Down

0 comments on commit f7d8483

Please sign in to comment.