Skip to content

Simplify some ternary operations using elvis operator and remove unnecessary parentheses in templates#13244

Merged
wilsonge merged 2 commits intojoomla:stagingfrom
frankmayer:elvis-and-unneeded-parentheses-in-templates
Dec 18, 2016
Merged

Simplify some ternary operations using elvis operator and remove unnecessary parentheses in templates#13244
wilsonge merged 2 commits intojoomla:stagingfrom
frankmayer:elvis-and-unneeded-parentheses-in-templates

Conversation

@frankmayer
Copy link
Copy Markdown
Contributor

Summary of Changes

  • Simplify ternary operation using elvis operator
  • Remove unneeded parentheses

This PR is part of a set to try to separate some of the changes done in one of my previous batch PR's for the templates directory, which is still on hold (#12233).
Once the new set is merged it will hopefully reduce the changes in that PR, so it can be reviewed easier and finally be merged.

The changes in this PR are only of two types and should be fairly easy to review. In hope that this will get merged quickly. ;)

Testing Instructions

None, should not change behavior

Documentation Changes Required

None.

@wilsonge wilsonge merged commit a9d7713 into joomla:staging Dec 18, 2016
@wilsonge wilsonge added this to the Joomla 3.7.0 milestone Dec 18, 2016
@frankmayer frankmayer deleted the elvis-and-unneeded-parentheses-in-templates branch December 25, 2016 21:44
@frankmayer frankmayer mentioned this pull request Jan 6, 2017
4 tasks
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.

4 participants