You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

Coding Standards

Like many large projects, Magento has coding standards.

Use Magento’s coding standards when you contribute to Magento’s codebase or create extensions.