====================== Rule ``self_accessor`` ====================== Inside class or interface element ``self`` should be preferred to the class name itself. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ Risky when using dynamic calls like get_called_class() or late static binding. Examples -------- Example #1 ~~~~~~~~~~ .. code-block:: diff --- Original +++ New `_ - `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_