Skip to content

Commit f9c9513

Browse files
committed
Add to output which extensions were looked at.
1 parent 34cec6f commit f9c9513

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mar.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ public function __construct() {
7979

8080
$start = microtime(true);
8181

82-
$this->scanner = new scanner($this->projectPath, (is_array($this->options->getOption('x')) ? $this->options->getOption('x') : null));
83-
82+
$fileExtensions = (is_array($this->options->getOption('x')) ? $this->options->getOption('x') : null);
83+
$this->scanner = new scanner($this->projectPath, $this->options->getOption('x'));
84+
$this->reporter->add("Including file extensions: ".implode(",", $this->scanner->getFileExtensions()), 0, 1);
8485

8586
$this->run();
8687
$end = microtime(true);

0 commit comments

Comments
 (0)