==================================== Rule ``class_attributes_separation`` ==================================== Class, trait and interface elements must be separated with one or none blank line. Configuration ------------- ``elements`` ~~~~~~~~~~~~ Dictionary of ``const|method|property|trait_import|case`` => ``none|one|only_if_meta`` values. Allowed types: ``array`` Default value: ``['const' => 'one', 'method' => 'one', 'property' => 'one', 'trait_import' => 'none', 'case' => 'none']`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New ['property' => 'one']]``. .. code-block:: diff --- Original +++ New ['const' => 'one']]``. .. code-block:: diff --- Original +++ New ['const' => 'only_if_meta']]``. .. code-block:: diff --- Original +++ New ['property' => 'only_if_meta']]``. .. code-block:: diff --- Original +++ New `_ with config: ``['elements' => ['method' => 'one']]`` - `@Symfony <./../../ruleSets/Symfony.rst>`_ with config: ``['elements' => ['method' => 'one']]``