v0.10.0 - promoted constructors styling
We are intentionally breaking PSR rule, but we believe it will be fixed in some PSR update:
Before:
class Foo {
public function __construct(
$param1,
$param2
) {
}
}
After:
class Foo {
public function __construct(
$param1,
$param2,
) {}
}
Also, these were added as default:
PhpCsFixerCustomFixers\Fixer\ConstructorEmptyBracesFixer;
PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer;
PhpCsFixerCustomFixers\Fixer\NoUselessCommentFixer;
PhpCsFixerCustomFixers\Fixer\PhpdocArrayStyleFixer;
PhpCsFixerCustomFixers\Fixer\PromotedConstructorPropertyFixer;
PhpCsFixerCustomFixers\Fixer\SingleSpaceAfterStatementFixer;
PhpCsFixerCustomFixers\Fixer\SingleSpaceBeforeStatementFixer;
PhpCsFixerCustomFixers\Fixer\StringableInterfaceFixer;