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

CS/QA: lower nesting level #200

Merged
merged 2 commits into from
Oct 28, 2021
Merged

CS/QA: lower nesting level #200

merged 2 commits into from
Oct 28, 2021

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 29, 2021

Context

  • Code quality

Summary

This PR can be summarized in the following changelog entry:

  • Code quality

Relevant technical choices:

If an if statement is the only content of an else clause, you may as well use an elseif.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • If the tests pass, we should be good, but a visual/manual check for a second opinion is warranted.

If an `if` statement is the only content of an `else` clause, you may as well use an `elseif`.
@jrfnl
Copy link
Contributor Author

jrfnl commented Sep 29, 2021

Eh... why is Travis not running for this PR ?

@jrfnl jrfnl removed this from the 4.2 milestone Oct 19, 2021
@enricobattocchi enricobattocchi self-assigned this Oct 28, 2021
@enricobattocchi
Copy link
Member

Review & manual test OK! merging

@enricobattocchi enricobattocchi added this to the 4.2 milestone Oct 28, 2021
@enricobattocchi enricobattocchi merged commit 1e014d5 into trunk Oct 28, 2021
@enricobattocchi enricobattocchi deleted the JRF/CS/no-lonely-if branch October 28, 2021 11:55
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.

2 participants