Skip to content

Changed di.xml so that all classnames starting with slashes are removed. #6842

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

Closed
wants to merge 4 commits into from
Closed

Changed di.xml so that all classnames starting with slashes are removed. #6842

wants to merge 4 commits into from

Conversation

dverkade
Copy link
Member

@dverkade dverkade commented Oct 2, 2016

The di.xml files are no consistent. In most of the cases a reference to a class is written this way: Magento\Framework\ClassName. I found 180 cases where there was a slash at the start of the class name, like this: \Magento\Framework\ClassName. Removed all the slashes before the Magento namespace so that it's consistent troughout the project.

@schmengler schmengler self-assigned this Mar 9, 2017
@schmengler schmengler added this to the March 2017 milestone Mar 9, 2017
@schmengler
Copy link
Contributor

schmengler commented Mar 9, 2017

Thanks for your contribution! To finally process the PR, can you try to resolve the few conflicts with the current develop branch? I was able to resolve the conflicts using the Github merge tool

@schmengler
Copy link
Contributor

Already has been done in the meantime. No changes left in the PR. Thanks again!

@schmengler schmengler closed this Mar 14, 2017
@dverkade dverkade deleted the Standardised_di.xml branch June 22, 2018 14:55
magento-engcom-team pushed a commit that referenced this pull request May 10, 2021
[Lynx] jQuery upgrade related refactoring
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.

3 participants