How to prevent code cleanup from putting `get;` on new line in interfaces
PHP8.4 allows variable signatures in interfaces. I'd like to format those similarly to how a dev in C# would:
interface TestInterface
{
public int $test { get; }
}
However, PHPStorm keeps formatting it as such:
interface TestInterface
{
public int $test {
get;
}
}
I cannot find a setting to override this for interfaces, does one exist?
请先登录再写评论。
Thank you for pointing that out,
I've filed an item about this here: https://youtrack.jetbrains.com/issue/WI-82419
Please, feel free to star and follow it. Or add extra comments if needed.