Merge pull request #4950 from atif-shaikh/CRM-15826
[civicrm-core.git] / Civi / CiUtil / Command / LsCommand.php
CommitLineData
f03dc6b0
TO
1<?php
2namespace Civi\CiUtil\Command;
3
4class LsCommand {
00be9182 5 public static function main($argv) {
f03dc6b0
TO
6 $paths = $argv;
7 array_shift($paths);
8 foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) {
9 printf("%s %s %s\n", $test['file'], $test['class'], $test['method']);
10 }
11 }
ef10e0b5 12}