Completed
Push — work-fleets ( d40084...46e295 )
by SuperNova.WS
05:22
created

_tests.php ➔ _testProcess()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 2
eloc 4
nc 2
nop 2
dl 0
loc 6
rs 9.4285
c 1
b 0
f 1
1
<?php
2
3
function _testProcess($function, $caseList) {
4
  $caseList = array_reverse($caseList);
5
  foreach ($caseList as $testCase) {
6
    call_user_func_array($function, $testCase);
7
  }
8
}
9