1 | <?php |
||
15 | class CodeCoverageReporters |
||
16 | { |
||
17 | /** |
||
18 | * @var \Peridot\Reporter\CodeCoverageConfiguration |
||
19 | */ |
||
20 | protected $configuration; |
||
21 | |||
22 | /** |
||
23 | * @var EventEmitterInterface |
||
24 | */ |
||
25 | protected $eventEmitter; |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * |
||
30 | * @param EventEmitterInterface $eventEmitter |
||
31 | * @param CodeCoverageConfiguration|null $configuration |
||
32 | */ |
||
33 | public function __construct(EventEmitterInterface $eventEmitter, CodeCoverageConfiguration $configuration = null) |
||
42 | |||
43 | /** |
||
44 | * Handle the peridot.execute event. |
||
45 | * |
||
46 | * @param InputInterface $input |
||
47 | * @param OutputInterface $output |
||
48 | */ |
||
49 | public function onPeridotExecute(InputInterface $input, OutputInterface $output) |
||
55 | |||
56 | /** |
||
57 | * Handle the peridot.reporters event. |
||
58 | * |
||
59 | * @param InputInterface $input |
||
60 | * @param ReporterFactory $reporterFactory |
||
61 | */ |
||
62 | public function onPeridotReporters(InputInterface $input, ReporterFactory $reporterFactory) |
||
100 | |||
101 | public function onPeridotStart(Environment $environment) |
||
110 | |||
111 | /** |
||
112 | * Register the reporters. |
||
113 | * |
||
114 | * @return $this |
||
115 | */ |
||
116 | public function register() |
||
123 | } |
||
124 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.