Like many large projects, Magento has coding standards.
Use Magento’s coding standards when you contribute to Magento’s codebase or create extensions.