With
->withConfiguredRule(
LineLengthFixer::class,
[
'line_length' => 120,
'break_long_lines' => true,
'inline_short_lines' => true,
]
)
Doesn't work
<?php
class Foo
{
public function __construct(
private stdClass $foo,
) {}
}
[OK] No errors found. Great job - your code is shiny in style!
Works
<?php
class Foo
{
public function __construct(
stdClass $foo,
) {}
}
- public function __construct(
- stdClass $foo,
- ) {}
+ public function __construct(stdClass $foo,) {}