================================= Rule ``php_unit_test_annotation`` ================================= Adds or removes @test annotations from tests, following configuration. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ This fixer may change the name of your tests, and could cause incompatibility with abstract classes or interfaces. Configuration ------------- ``style`` ~~~~~~~~~ Whether to use the @test annotation or not. Allowed values: ``'annotation'`` and ``'prefix'`` Default value: ``'prefix'`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New 'annotation']``. .. code-block:: diff --- Original +++ New `_ - `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_