.. _classes-multiplepropertydeclarationononeline: .. _multiple-property-declaration-on-one-line: Multiple Property Declaration On One Line +++++++++++++++++++++++++++++++++++++++++ Multiple properties are defined on the same line. They could be defined independently, on separate expressions. Keeping properties separate helps documenting and refactoring them independently. .. code-block:: php Suggestions ___________ * Split the definitions to one by line Specs _____ +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Classes/MultiplePropertyDeclarationOnOneLine | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Coding conventions ` | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 2.2.2 | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+