diff --git a/Eventjet/ruleset.xml b/Eventjet/ruleset.xml index af435fb..b0da5c1 100644 --- a/Eventjet/ruleset.xml +++ b/Eventjet/ruleset.xml @@ -137,7 +137,6 @@ name="forbiddenAnnotations" type="array" value=" - @api, @author, @category, @copyright, diff --git a/php-cs-fixer-rules.php b/php-cs-fixer-rules.php index d6bb3f4..a754b91 100644 --- a/php-cs-fixer-rules.php +++ b/php-cs-fixer-rules.php @@ -25,7 +25,6 @@ ], 'general_phpdoc_annotation_remove' => [ 'annotations' => [ - 'api', 'author', 'category', 'copyright', diff --git a/tests/fixtures/valid/api-annotation.php b/tests/fixtures/valid/api-annotation.php new file mode 100644 index 0000000..27402c3 --- /dev/null +++ b/tests/fixtures/valid/api-annotation.php @@ -0,0 +1,10 @@ +