Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP/Trait Use Statements: minor tweak to "correct" example #130

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 18, 2023

Allowing a single conflict resolution statement on the same line as the use decreases readability.

Changing this to a multi-line statement, with each conflict resolution statement on its own line, also improves consistency with other WP Core rules around the use of braces, as it makes the brace layout consistent with the expected brace layout for various control structures.

Allowing a single conflict resolution statement on the same line as the `use` decreases readability.

Changing this to a multi-line statement, with each conflict resolution statement on its own line, also improves consistency with other WP Core rules around the use of braces, as it makes the brace layout consistent with the expected brace layout for various control structures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants