HippoPHP\Hippo\Reporters\CheckstyleReporter::start PHP Method

start() public method

Defined by ReportInterface.
See also: ReportInterface::start()
public start ( )
    public function start()
    {
        $this->writer = new XMLWriter();
        $this->writer->openMemory();
        $this->writer->setIndent(true);
        $this->writer->setIndentString('    ');
        $this->writer->startDocument('1.0', 'UTF-8');
        $this->writer->startElement('checkstyle');
        $this->writer->writeAttribute('version', '5.5');
    }