Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
28 | public function test($ad_code) |
||
29 | { |
||
30 | $result = array( |
||
31 | 'notice' => array(), |
||
32 | 'warning' => array(), |
||
33 | 'error' => array(), |
||
34 | ); |
||
35 | foreach ($this->tests as $test) |
||
36 | { |
||
37 | $result = array_merge_recursive($result, $test->test($ad_code)); |
||
38 | } |
||
39 | |||
40 | // TODO: return in reasonable way |
||
41 | } |
||
42 | } |
||
43 |