Skip to content

Replace unnecessary double quotes in templates#13245

Merged
wilsonge merged 3 commits intojoomla:stagingfrom
frankmayer:replace-unnecessary-double-quotes-in-templates
Dec 18, 2016
Merged

Replace unnecessary double quotes in templates#13245
wilsonge merged 3 commits intojoomla:stagingfrom
frankmayer:replace-unnecessary-double-quotes-in-templates

Conversation

@frankmayer
Copy link
Copy Markdown
Contributor

Summary of Changes

  • Replace unnecessary double quotes

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.

if ($this->params->get('templateColor'))
{
$this->addStyleDeclaration("
$this->addStyleDeclaration(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you opening/closing this in a new line? IMHO is more readable the old way, but of course this is a detail and most probably there is no cs rule for that

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the formatting rule of the ide. Need to change it. Will make a new commit.

BTW, why are you sometimes doing "approvals" only code and other times it's "testing with code review" ? I am asking because with the first procedure it seems to take longer to get through the process (to the next stage, RTC for example). This seems to correlate to the fact that in the first procedure the number of checks stay 2 instead of the 3 tests in the second procedure. (3rd being the human tests)

{
$this->addStyleDeclaration("
$this->addStyleDeclaration(
'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@wilsonge wilsonge merged commit 9f43aae into joomla:staging Dec 18, 2016
@wilsonge wilsonge added this to the Joomla 3.7.0 milestone Dec 18, 2016
@frankmayer frankmayer deleted the replace-unnecessary-double-quotes-in-templates branch December 25, 2016 21:43
@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