Config:
'PedroTroller/line_break_between_method_arguments' => [
'max-args' => 4,
'max-length' => 120,
'automatic-argument-merge' => false,
'inline-attributes' => false,
],
Before:
public function __construct(
protected string $arg1,
// protected string $arg2,
protected string $arg3,
protected string $arg4,
) {
}
After a fix:
public function __construct(
protected string $arg1,
// protected string $arg2,protected string $arg3,
protected string $arg4,
) {
}
Now the $arg3 is gone.