========================================= Rule ``general_phpdoc_annotation_remove`` ========================================= Configured annotations should be omitted from PHPDoc. Configuration ------------- ``annotations`` ~~~~~~~~~~~~~~~ List of annotations to remove, e.g. ``["author"]``. Allowed types: ``list`` Default value: ``[]`` ``case_sensitive`` ~~~~~~~~~~~~~~~~~~ Should annotations be case sensitive. Allowed types: ``bool`` Default value: ``true`` Examples -------- Example #1 ~~~~~~~~~~ With configuration: ``['annotations' => ['author']]``. .. code-block:: diff --- Original +++ New ['author'], 'case_sensitive' => false]``. .. code-block:: diff --- Original +++ New ['package', 'subpackage']]``. .. code-block:: diff --- Original +++ New `_ - Test class: `PhpCsFixer\\Tests\\Fixer\\Phpdoc\\GeneralPhpdocAnnotationRemoveFixerTest <./../../../tests/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixerTest.php>`_ The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.