-
Notifications
You must be signed in to change notification settings - Fork 160
AC-667: Create phpcs static check for EmailTemplateTest #261
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
Conversation
<h1>{{htmlescape "H1"}}</h1> | ||
<h2>{{escapehtml "H2"}}</h2> | ||
<p>{{escapehtml "p"}} {{htmlescape "p"}}</p> | ||
<p class="greeting">{{trans "Translateme"}}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no new line at the end of file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great first contribution, @jcuerdo ! Please see my comments
Magento2/ruleset.xml
Outdated
@@ -242,6 +242,13 @@ | |||
<type>warning</type> | |||
</rule> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove this empty line for consistency.
Magento2/ruleset.xml
Outdated
<include-pattern>view/email/*.html</include-pattern> | ||
<include-pattern>view/*/email/*.html</include-pattern> | ||
<severity>8</severity> | ||
<type>warning</type> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be an error as using of obsolete directives will actually break the functionality of email templates
Co-authored-by: Sergii Ivashchenko <[email protected]>
@magento import pr to magento-commerce/magento-coding-standard |
@jcuerdo the pull request successfully imported. |
No description provided.