PHP Linter
OK
composer validate
OK
Copy/Paste Detector
OK
PHP Stan
OK
Magento Coding Standard
FILE: ...sup/module-rich-snippets/e9cfbfb/view/adminhtml/web/js/modifier-builder.js
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | ERROR | Avoid using self-closing tag with non-void html element - "<path
| | fill-rule="evenodd" d="M1 8a.5.5 0 0 1
| | .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0
| | .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/>
| |
--------------------------------------------------------------------------------
FILE: ...le-rich-snippets/e9cfbfb/view/adminhtml/web/js/modifier-builder-manager.js
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | WARNING | Avoid using closing slash with void tags, this can lead to
| | unexpected behavior - "<link/>"
1 | WARNING | Avoid using closing slash with void tags, this can lead to
| | unexpected behavior - "<input type="' + (option.type || 'text')
| | + '" ' +
| | 'data-modifier-option="' + optionKey +
| | '" ' +
| | 'placeholder="' + (option.placeholder ||
| | '') + '" ' +
| | (option.min ? 'min="' + option.min + '"'
| | : '') +
| | ' class="input-text admin__control-text"
| | />"
--------------------------------------------------------------------------------
FILE: ...ich-snippets/e9cfbfb/view/adminhtml/templates/modifier-builder-modal.phtml
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
8 | ERROR | Unescaped output detected.
12 | ERROR | Unescaped output detected.
--------------------------------------------------------------------------------
FILE: ...rich-snippets/e9cfbfb/view/adminhtml/templates/modifier-builder-init.phtml
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
5 | ERROR | Unescaped output detected.
6 | ERROR | Unescaped output detected.
--------------------------------------------------------------------------------
Time: 4.06 secs; Memory: 20MB