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

[8.0] Remove useless else statements. #1553

Merged
merged 1 commit into from
Dec 16, 2017
Merged

[8.0] Remove useless else statements. #1553

merged 1 commit into from
Dec 16, 2017

Conversation

carusogabriel
Copy link
Contributor

@carusogabriel carusogabriel commented Dec 16, 2017

I've removed the elses when we have already returned something 🚮

We can also enable no_useless_else in StyleCI. Should we?

@yajra
Copy link
Owner

yajra commented Dec 16, 2017

@carusogabriel this looks good. Not familiar with no_useless_else settings of StlyeCI but if it does automate this step, then I'm in favor of it.

@yajra yajra changed the title Clean elses [8.0] Remove useless else statements. Dec 16, 2017
@yajra yajra merged commit 5325027 into yajra:8.0 Dec 16, 2017
@carusogabriel carusogabriel deleted the clean-elses branch December 16, 2017 09:27
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.

2 participants