src/Report/XmlReporter.php
private function createAppliedFixersElement($dom, array $fixResult)
    {
        $appliedFixersXML = $dom->createElement('applied_fixers');

        foreach ($fixResult['appliedFixers'] as $appliedFixer) {
            $appliedFixerXML = $dom->createElement('applied_fixer');
            $appliedFixerXML->setAttribute('name', $appliedFixer);
            $appliedFixersXML->appendChild($appliedFixerXML);
        }

        return $appliedFixersXML;
    }
private function createAppliedFixersElement($dom, array $fixResult)
    {
        $appliedFixersXML = $dom->createElement('applied_fixers');

        foreach ($fixResult['appliedFixers'] as $appliedFixer) {
            $appliedFixerXML = $dom->createElement('applied_fixer');
            $appliedFixerXML->setAttribute('name', $appliedFixer);
            $appliedFixersXML->appendChild($appliedFixerXML);
        }

        return $appliedFixersXML;
    }
private function createAppliedFixersElement ( $ dom , array $ fixResult ) { $ appliedFixersXML = $ dom -> createElement ( 'applied_fixers' ) ; foreach ( $ fixResult [ 'appliedFixers' ] as $ appliedFixer ) { $ appliedFixerXML = $ dom -> createElement ( 'applied_fixer' ) ; $ appliedFixerXML -> setAttribute ( 'name' , $ appliedFixer ) ; $ appliedFixersXML -> appendChild ( $ appliedFixerXML ) ; } return $ appliedFixersXML ; }
@param \DOMDocument $dom
@param array        $fixResult

@return \DOMElement
@param \ DOMDocument $dom @param array $fixResult