projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INFRA-32 batch 11
[civicrm-core.git]
/
Civi
/
CiUtil
/
PHPUnitScanner.php
diff --git
a/Civi/CiUtil/PHPUnitScanner.php
b/Civi/CiUtil/PHPUnitScanner.php
index 61534bf5357c45f2f5132e0e9ddc69b87733470c..85805da00964470a5f9812a50787cdb8dcffc0d8 100644
(file)
--- a/
Civi/CiUtil/PHPUnitScanner.php
+++ b/
Civi/CiUtil/PHPUnitScanner.php
@@
-12,11
+12,10
@@
class PHPUnitScanner {
* @return array <string> class names
*/
public static function _findTestClasses($path) {
* @return array <string> class names
*/
public static function _findTestClasses($path) {
-// print_r(array(
-// 'loading' => $path,
-// get_included_files()
-// ));
-
+ // print_r(array(
+ // 'loading' => $path,
+ // get_included_files()
+ // ));
$origClasses = get_declared_classes();
require_once $path;
$newClasses = get_declared_classes();
$origClasses = get_declared_classes();
require_once $path;
$newClasses = get_declared_classes();
@@
-30,7
+29,6
@@
class PHPUnitScanner {
/**
* @param $paths
* @return array (string $file => string $class)
/**
* @param $paths
* @return array (string $file => string $class)
- * (string $file => string $class)
* @throws \Exception
*/
public static function findTestClasses($paths) {
* @throws \Exception
*/
public static function findTestClasses($paths) {
@@
-88,7
+86,7
@@
class PHPUnitScanner {
$r[] = array(
'file' => $testFile,
'class' => $testClass,
$r[] = array(
'file' => $testFile,
'class' => $testClass,
- 'method' => $method->name
+ 'method' => $method->name
,
);
}
}
);
}
}