Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]


Javascript coding style problems

(4 errors, 9 warnings)

This section shows the coding style problems detected in the code by eslint [More info]

mod/goone/amd/src/viewer.js
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#39) A space is required after ','. (comma-spacing)
(#39) Missing space before opening brace. (space-before-blocks)
(#49) Missing space before opening brace. (space-before-blocks)
(#50) Requires a space before '}'. (block-spacing)
(#50) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
mod/goone/js/form.js
(#25) Missing JSDoc comment. (require-jsdoc)
(#25) 'HandlePopupResult' is defined but never used. (no-unused-vars)
(#25) A space is required after ','. (comma-spacing)
(#26) Missing semicolon. (semi)
(#27) Missing semicolon. (semi)
(#29) Missing JSDoc comment. (require-jsdoc)
(#29) 'openBrowser' is defined but never used. (no-unused-vars)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]


PHPDocs style problems

(0 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]


Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 35 warnings)

This section shows problems detected in mustache templates [More info]

mod/goone/templates/browser.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 12: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="pix/spinner.gif"> )
(#1) HTML Validation error, line 14: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. ( <iframe class="embed-responsive-item" id="loiframe" src="" frameborder="0" allowtransparency="true" > )
(#1) HTML Validation error, line 14: The “frameborder” attribute on the “iframe” element is obsolete. Use CSS instead. ( <iframe class="embed-responsive-item" id="loiframe" src="" frameborder="0" allowtransparency="true" > )
(#1) HTML Validation error, line 14: The “allowtransparency” attribute on the “iframe” element is obsolete. Use CSS instead. ( <iframe class="embed-responsive-item" id="loiframe" src="" frameborder="0" allowtransparency="true" > )
(#1) HTML Validation error, line 20: Attribute “loid” not allowed on element “button” at this point. (> <button type="button" class="btn btn-primary" id="submitlo" loid="#" loname="#" onclick="return CloseMySelf(this);">[[ sel)
(#1) HTML Validation error, line 20: Attribute “loname” not allowed on element “button” at this point. (> <button type="button" class="btn btn-primary" id="submitlo" loid="#" loname="#" onclick="return CloseMySelf(this);">[[ sel)
(#1) HTML Validation error, line 60: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 61: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 58: Unclosed element “label”. ( <label class="control-label ml-0" for="language"> )
(#1) HTML Validation error, line 66: Stray end tag “select”. ( </select> )
(#1) HTML Validation error, line 67: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 64: Unclosed element “label”. ( <label class="control-label ml-0" for="tag"> )
(#1) HTML Validation error, line 68: End tag “div” seen, but there were open elements. ( </div> )
(#1) HTML Validation error, line 29: Unclosed element “form”. (/h2> <form class="form-inline"> )
(#1) HTML Validation error, line 79: Stray end tag “div”. (> </div> )
(#1) HTML Validation error, line 81: Stray end tag “form”. ( </form></di)
(#1) HTML Validation error, line 83: Stray end tag “div”. ( </form></div> <)
(#1) HTML Validation info, line 84: The “type” attribute is unnecessary for JavaScript resources. (/div> <script type="text/javascript"> $)
(#1) HTML Validation error, line 152: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ript><style> .)
(#1) HTML Validation error, line 193: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="pix/spinner.gif"> )
(#1) HTML Validation error, line 272: End tag for “body” seen, but there were unclosed elements. (/script></body></html)
(#1) HTML Validation error, line 183: Unclosed element “div”. (/style><div class="container"> )
(#1) HTML Validation error, line 52: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="provider" class="control-label ml-0"> )
(#1) HTML Validation error, line 58: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="language"> )
(#1) HTML Validation error, line 64: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="control-label ml-0" for="tag"> )
(#1) HTML Validation error, line 4: The “aria-labelledby” attribute must point to an element in the same document. (><body><div class="modal fade" id="lomodal" tabindex="-1" role="dialog" aria-labelledby="lomodalLabel" aria-hidden="true"> <di)
mod/goone/templates/hits.mustache
(#1) Example context missing (@template section not found.)
mod/goone/templates/modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 9: Empty heading. (ght"> <h3 class="card-title"></h3>)
(#1) HTML Validation error, line 11: End tag “br”. (ted"></em></br> )
(#1) HTML Validation error, line 41: Stray end tag “div”. (> </div> </d)
(#1) HTML Validation error, line 42: Stray end tag “div”. ( </div> </div> </di)
(#1) HTML Validation error, line 43: Stray end tag “div”. ( </div> </div></div)
(#1) HTML Validation error, line 44: Stray end tag “div”. (> </div></div></)