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

Avoid duplicate ltrim function on not complied mode. #9189

Merged
merged 9 commits into from
Jul 5, 2017
Merged

Avoid duplicate ltrim function on not complied mode. #9189

merged 9 commits into from
Jul 5, 2017

Conversation

sivajik34
Copy link
Contributor

@sivajik34 sivajik34 commented Apr 10, 2017

Case 1: not complied
1.Magento\Framework\ObjectManager\ObjectManager -> create method will ltrim $type.
2.Magento\Framework\ObjectManager\Config\Config -> getPreference method again ltrim $type.
so in order to avoid duplicate ltrim calls i removed from one file,added to necessary file.

@adragus-inviqa
Copy link
Contributor

I think you brought the work from #9140 in here. As that's not related to the trimming.

@Vinai
Copy link
Contributor

Vinai commented May 16, 2017

@sivajik34 I restarted the travis build and it passed, the failure was not related to your PR.
But the codacy/pr check is failing because of trailing whitespace on line 376 (https://www.codacy.com/app/antonkril/magento2/pullRequest?prid=601306)
I'm sorry for being so nitpicky, but that's the standard so I have to say this.
Otherwise I'd be happy to merge and process the PR further. If you are too busy to make the change I can do it for you.

@Vinai Vinai self-assigned this May 16, 2017
@sivajik34
Copy link
Contributor Author

@Vinai please take care.

@Vinai Vinai added this to the May 2017 milestone May 26, 2017
@Vinai Vinai added the develop label May 26, 2017
@okorshenko okorshenko modified the milestones: May 2017, June 2017 Jun 1, 2017
@okorshenko okorshenko modified the milestones: June 2017, July 2017 Jul 2, 2017
@magento-team magento-team merged commit f5795cc into magento:develop Jul 5, 2017
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.

None yet

5 participants