Skip to content

Conversation

@PierreMWL
Copy link

Allow to define a new "force-for-construct" for the LineBreakBetweenMethodArgumentFixer rule.

This is useful when people use the new PHP way of declation class properties directly in the constructor and want all of them to be formated as

public function __construct(
	public string $version,
) {

@auto-assign auto-assign bot requested a review from PedroTroller October 25, 2024 00:40
@PedroTroller
Copy link
Owner

Test-cases are missing, can you add some plz 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants