
phpdoc_inline_tag_normalizer
¶Fixes PHPDoc inline tags.
tags
¶The list of tags to normalize.
Allowed types: array
Default value: ['example', 'id', 'internal', 'inheritdoc', 'inheritdocs', 'link', 'source', 'toc', 'tutorial']
Default configuration.
--- Original
+++ New
<?php
/**
- * @{TUTORIAL}
- * {{ @link }}
+ * {@TUTORIAL}
+ * {@link}
* @inheritDoc
*/
With configuration: ['tags' => ['TUTORIAL']]
.
--- Original
+++ New
<?php
/**
- * @{TUTORIAL}
+ * {@TUTORIAL}
* {{ @link }}
* @inheritDoc
*/
The rule is part of the following rule sets:
Using the @PhpCsFixer rule set will enable the phpdoc_inline_tag_normalizer
rule with the default config.
Using the @Symfony rule set will enable the phpdoc_inline_tag_normalizer
rule with the default config.