---
title: "format/classes/multiline-promoted-properties"
pagination: false
---

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

<RuleId id="format/classes/multiline-promoted-properties" />

Not in any preset. Safe fix.

## What it does

Promoted properties must be on separate lines.

## Configuration

```toml title="pun.toml"
[format.rules]
"classes/multiline-promoted-properties" = 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 |
| --- | --- | --- | --- | --- |
| `keep-blank-lines` | `bool` | Any | `false` | `keep_blank_lines` |
| `minimum-number-of-parameters` | `int` | Any | `1` | `minimum_number_of_parameters` |

## Replaces

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

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