@prettier/plugin-php v0.16.0
Playground link
Input:
<?php
class A
{
public function b()
{
$this->c("
This multiline string
is indented more and more on every save.
But only on --php-version >= 7.3
and only when a variable is present: $test
");
}
}
Output:
<?php
class A
{
public function b()
{
$this->c("
This multiline string
is indented more and more on every save.
But only on --php-version >= 7.3
and only when a variable is present: $test
");
}
}
@prettier/plugin-php v0.16.0
Playground link
Input:
Output: