drupal-civicrm/sites/all/modules/civicrm/Civi/CiUtil/Command/LsCommand.php

22 lines
399 B
PHP
Raw Normal View History

2018-01-14 15:10:16 +02:00
<?php
namespace Civi\CiUtil\Command;
/**
* Class LsCommand
*
* @package Civi\CiUtil\Command
*/
class LsCommand {
/**
* @param $argv
*/
public static function main($argv) {
$paths = $argv;
array_shift($paths);
foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) {
printf("%s %s %s\n", $test['file'], $test['class'], $test['method']);
}
}
}