psr-2 formatting broke XML, Magento can't handle whitespace in the XML document, it is too brittle. Moved closing XML tag back to same line, violates code standards but fixes the issue [unable to edit a product]