
general_phpdoc_annotation_remove
¶Configured annotations should be omitted from PHPDoc.
With configuration: ['annotations' => ['author']]
.
--- Original
+++ New
<?php
/**
* @internal
- * @author John Doe
* @AuThOr Jane Doe
*/
function foo() {}
With configuration: ['annotations' => ['author'], 'case_sensitive' => false]
.
--- Original
+++ New
<?php
/**
* @internal
- * @author John Doe
- * @AuThOr Jane Doe
*/
function foo() {}
With configuration: ['annotations' => ['package', 'subpackage']]
.
--- Original
+++ New
<?php
/**
* @author John Doe
- * @package ACME API
- * @subpackage Authorization
* @version 1.0
*/
function foo() {}