1 | <?php |
||
19 | class CombinedReportGenerators implements ReportGenerator { |
||
20 | /** |
||
21 | * @var ReportGenerator[] |
||
22 | */ |
||
23 | protected $generators; |
||
24 | |||
25 | /** |
||
26 | * @param ReportGenerator[] |
||
27 | */ |
||
28 | public function __construct(array $generators) { |
||
33 | |||
34 | /** |
||
35 | * @return ReportGenerator[] |
||
36 | */ |
||
37 | 1 | public function generators() { |
|
40 | |||
41 | /** |
||
42 | * @inheritdocs |
||
43 | */ |
||
44 | 1 | public function begin_run($commit_hash) { |
|
49 | |||
50 | /** |
||
51 | * @inheritdocs |
||
52 | */ |
||
53 | 1 | public function end_run() { |
|
58 | |||
59 | /** |
||
60 | * @inheritdocs |
||
61 | */ |
||
62 | 1 | public function begin_ruleset(Ruleset $ruleset) { |
|
67 | |||
68 | /** |
||
69 | * @inheritdocs |
||
70 | */ |
||
71 | 1 | public function end_ruleset() { |
|
76 | |||
77 | /** |
||
78 | * @inheritdocs |
||
79 | */ |
||
80 | 1 | public function begin_rule(Rule $rule) { |
|
85 | |||
86 | /** |
||
87 | * @inheritdocs |
||
88 | */ |
||
89 | 1 | public function end_rule() { |
|
94 | |||
95 | /** |
||
96 | * @inheritdocs |
||
97 | */ |
||
98 | 1 | public function report_violation(Violation $violation) { |
|
103 | } |
||
104 |