
phpdoc_no_alias_tag
¶No alias PHPDoc tags should be used.
replacements
¶Mapping between replaced annotations with new ones.
Allowed types: array
Default value: ['property-read' => 'property', 'property-write' => 'property', 'type' => 'var', 'link' => 'see']
Default configuration.
--- Original
+++ New
<?php
/**
* @property string $foo
- * @property-read string $bar
+ * @property string $bar
*
- * @link baz
+ * @see baz
*/
final class Example
{
}
With configuration: ['replacements' => ['link' => 'website']]
.
--- Original
+++ New
<?php
/**
* @property string $foo
* @property-read string $bar
*
- * @link baz
+ * @website baz
*/
final class Example
{
}