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

Feature Request: Do not use setTemplate in Block classes #82

Closed
shochdoerfer opened this issue Mar 13, 2021 · 0 comments · Fixed by #300
Closed

Feature Request: Do not use setTemplate in Block classes #82

shochdoerfer opened this issue Mar 13, 2021 · 0 comments · Fixed by #300

Comments

@shochdoerfer
Copy link
Member

The Magento ExtDN people have a Codesniffer sniff in place to detect calls to the setTemplate() method in a block class. Read about their reasoning here. It probably makes sense to port this rule also to this project.

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 a pull request may close this issue.

1 participant