---
title: "format/phpdoc/no-alias-tag"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

<RuleId id="format/phpdoc/no-alias-tag" />

Not in any preset. Safe fix.

## What it does

No alias PHPDoc tags should be used.

## Configuration

```toml title="pun.toml"
[format.rules]
"phpdoc/no-alias-tag" = true
```

To skip it in some files, add a [`@pun-ignore-file`](/docs/configuration/ignore-comments) comment.

## Options

| Name | Type | Allowed values | Default | Upstream name |
| --- | --- | --- | --- | --- |
| `replacements` | `map` | Any | `{ "property-read" = "property", "property-write" = "property", "type" = "var", "link" = "see" }` | `replacements` |

## Replaces

- [`phpdoc_no_alias_tag`](https://cs.symfony.com/doc/rules/phpdoc/phpdoc_no_alias_tag.html) (php-cs-fixer)

[More format/phpdoc rules](/docs/rules/format/phpdoc) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
