-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
Description
Preconditions
- Have a file test.html like this:
<!-- Comment <http://site.com/path/> -->
Steps to reproduce
- Run
vendor/bin/phpcs -s --standard=Magento2 test.html
Expected result
- Show no errors.
Actual result
- Getting this output:
------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------
1 | ERROR | Avoid using self-closing tag with non-void html element - "<http://site.com/path/>
| | (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag)
------------------------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready for Grooming
Milestone
Relationships
Development
Select code repository
Activity
m2-assistant commentedon Jul 13, 2024
Hi @minsc78. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue:
@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.