================================= Rule ``no_unneeded_final_method`` ================================= Removes ``final`` from methods where possible. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ Risky when child class overrides a ``private`` method. Configuration ------------- ``private_methods`` ~~~~~~~~~~~~~~~~~~~ Private methods of non-``final`` classes must not be declared ``final``. Allowed types: ``bool`` Default value: ``true`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New false]``. .. code-block:: diff --- Original +++ New `_ - `@PhpCsFixer:risky <./../../ruleSets/PhpCsFixerRisky.rst>`_ - `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_