Merge in 5.24
[civicrm-core.git] / Civi / CiUtil / Command / LsCommand.php
1 <?php
2 namespace Civi\CiUtil\Command;
3
4 /**
5 * Class LsCommand
6 *
7 * @package Civi\CiUtil\Command
8 */
9 class LsCommand {
10
11 /**
12 * @param $argv
13 */
14 public static function main($argv) {
15 $paths = $argv;
16 array_shift($paths);
17 foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) {
18 printf("%s %s %s\n", $test['file'], $test['class'], $test['method']);
19 }
20 }
21
22 }