public function __construct(EventDispatcher $dispatcher)
{
$this->stdErr = fopen('php://stderr', 'w');
$this->output = new StreamOutput($this->stdErr);
$this->eventDispatcher = $dispatcher;
$this->eventDispatcher->addListener(FixerFileProcessedEvent::NAME, array($this, 'onFixerFileProcessed'));
}