PHP Linter
OK
composer validate
OK
Copy/Paste Detector
OK
PHP Stan
OK
Magento Coding Standard
FILE: ...dule-codemirror/205d202/view/base/web/js/codemirror/addon/edit/closetag.js
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | ERROR | Avoid using self-closing tag with non-void html element -
| | "<someTagName />
| | dontCloseTags && indexOf(dontCloseTags, lowerTagName) >
| | -1 ||
| | closingTagExists(cm, inner.mode.xmlCurrentContext &&
| | inner.mode.xmlCurrentContext(state) || [], tagName, pos, true))
| | return CodeMirror.Pass;
| |
| | var emptyTags = typeof opt == "object" && opt.emptyTags;
| | if (emptyTags && indexOf(emptyTags, tagName) > -1) {
| | replacements[i] = { text: "/>
| |
--------------------------------------------------------------------------------
Time: 466ms; Memory: 22MB