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

fix some cs issues in the 3.7. branch #12011

Closed
wants to merge 2 commits into from
Closed

Conversation

zero-24
Copy link
Contributor

@zero-24 zero-24 commented Sep 11, 2016

Pull Request after Commit fc41a23

Summary of Changes

Some CS after the last commit: fc41a23

Testing Instructions

Documentation Changes Required

None

@zero-24 zero-24 added this to the Joomla 3.7.0 milestone Sep 11, 2016
@zero-24 zero-24 changed the title Cs 37x fix some cs issues in the 3.7. branch Sep 11, 2016
@wilsonge
Copy link
Contributor

One test should be sufficient for this :)

@brianteeman
Copy link
Contributor

Looks like a lot more than codestyle to me. CS is changing tabs to spaces and new lines. This is different code


$display = $item->text;
$item->text .= $addText ? $addText : '';
Copy link

@ghost ghost Sep 12, 2016

Choose a reason for hiding this comment

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

Too early here. Must be after switch. E.g.: See line $item->text = JText::_('JPREVIOUS'); later.

@ghost
Copy link

ghost commented Sep 12, 2016

As an aside: Lots of these CS issues and code are taken over 1:1 from /layouts/pagination/link.php and links.php. Should be fixed there, too(?)

@zero-24 zero-24 closed this Sep 12, 2016
@zero-24 zero-24 deleted the cs_37x branch September 12, 2016 06:20
@Bakual Bakual removed this from the Joomla 3.7.0 milestone Jan 1, 2017
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.

5 participants