=========================== Rule ``operator_linebreak`` =========================== Operators - when multiline - must always be at the beginning or at the end of the line. Configuration ------------- ``only_booleans`` ~~~~~~~~~~~~~~~~~ Whether to limit operators to only boolean ones. Allowed types: ``bool`` Default value: ``false`` ``position`` ~~~~~~~~~~~~ Whether to place operators at the beginning or at the end of the line. Allowed values: ``'beginning'`` and ``'end'`` Default value: ``'beginning'`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New 'end']``. .. code-block:: diff --- Original +++ New `_ with config: ``['only_booleans' => true]`` - `@Symfony <./../../ruleSets/Symfony.rst>`_ with config: ``['only_booleans' => true]``