--TEST-- Integration of fixers: braces,method_chaining_indentation. --RULESET-- {"braces": true, "method_chaining_indentation": true} --EXPECT-- entity ->expects($this->once()) ->method('toXml') ->willReturnCallback( function (\DOMDocument $dom) { return $dom->createElement('elem'); }); } } --INPUT-- entity ->expects($this->once()) ->method('toXml') ->willReturnCallback( function (\DOMDocument $dom) { return $dom->createElement('elem'); }); } }