Format code to Magento style