========================== Rule ``logical_operators`` ========================== Use ``&&`` and ``||`` logical operators instead of ``and`` and ``or``. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ Risky, because you must double-check if using and/or with lower precedence was intentional. Examples -------- Example #1 ~~~~~~~~~~ .. code-block:: diff --- Original +++ New `_ - `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_