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, 1 warnings)

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

lib/editor/tinymce/plugins/h5p/lib.php
(#44) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(33 errors, 59 warnings)

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

lib/editor/tinymce/plugins/h5p/tinymce/dialog.js
(#7) Unexpected space before function parentheses. (space-before-function-paren)
(#8) 'tinyMCEPopup' is not defined. (no-undef)
(#11) Missing JSDoc for parameter 'ed'. (valid-jsdoc)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#17) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#19) 'tinyMCEPopup' is not defined. (no-undef)
(#22) 'getH5PBrowserHTML' is not defined. (no-undef)
(#30) 'cfgWwwroot' is not defined. (no-undef)
(#34) Missing space before opening brace. (space-before-blocks)
(#57) Missing JSDoc @returns for function. (valid-jsdoc)
(#57) Missing JSDoc for parameter 'str'. (valid-jsdoc)
(#78) Unexpected space before function parentheses. (space-before-function-paren)
(#79) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#93) Unexpected space before function parentheses. (space-before-function-paren)
(#93) 'file' is defined but never used. (no-unused-vars)
(#93) 'title' is defined but never used. (no-unused-vars)
(#94) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#97) 'displayWarning' is not defined. (no-undef)
(#101) 'displayWarning' is not defined. (no-undef)
(#101) 'CONTENTWARNING' is not defined. (no-undef)
(#105) 'cfgWwwroot' is not defined. (no-undef)
(#107) 'URLWARNING' is not defined. (no-undef)
(#119) Unexpected space before function parentheses. (space-before-function-paren)
(#120) 'tinyMCEPopup' is not defined. (no-undef)
(#120) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#120) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#120) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#120) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#122) 'tinyMCEPopup' is not defined. (no-undef)
(#125) 'tinymce' is not defined. (no-undef)
(#129) 'tinymce' is not defined. (no-undef)
(#131) Unquoted reserved word 'class' used as key. (quote-props)
(#135) Identifier 'opts_str' is not in camel case. (camelcase)
(#137) Identifier 'opts_str' is not in camel case. (camelcase)
(#141) Identifier 'opts_str' is not in camel case. (camelcase)
(#141) Identifier 'opts_str' is not in camel case. (camelcase)
(#145) Identifier 'opts_str' is not in camel case. (camelcase)
(#145) Identifier 'opts_str' is not in camel case. (camelcase)
(#150) Identifier 'opts_str' is not in camel case. (camelcase)
(#152) 'tinymce' is not defined. (no-undef)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#158) 'H5P_HTML' is not defined. (no-undef)
(#158) 'addParagraphs' is not defined. (no-undef)
(#160) Identifier 'opts_str' is not in camel case. (camelcase)
(#162) 'addParagraphs' is not defined. (no-undef)
(#164) 'H5P_HTML' is not defined. (no-undef)
(#164) Identifier 'skip_undo' is not in camel case. (camelcase)
(#168) 'tinyMCEPopup' is not defined. (no-undef)
(#169) 'tinyMCEPopup' is not defined. (no-undef)
(#170) 'tinyMCEPopup' is not defined. (no-undef)
(#174) 'tinyMCEPopup' is not defined. (no-undef)
lib/editor/tinymce/plugins/h5p/tinymce/editor_plugin.js
(#4) 'tinymce' is not defined. (no-undef)
(#6) 'tinymce' is not defined. (no-undef)
(#15) Extra space after key 'init'. (key-spacing)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#19) Extra space after key 'file'. (key-spacing)
(#20) Extra space after key 'width'. (key-spacing)
(#21) Extra space after key 'height'. (key-spacing)
(#22) Extra space after key 'inline'. (key-spacing)
(#24) Extra space after key 'plugin_url'. (key-spacing)
(#24) Identifier 'plugin_url' is not in camel case. (camelcase)
(#33) Extra space after key 'title'. (key-spacing)
(#34) Extra space after key 'cmd'. (key-spacing)
(#35) Extra space after key 'image'. (key-spacing)
(#42) 'e' is defined but never used. (no-unused-vars)
(#55) Extra space after key 'getInfo'. (key-spacing)
(#57) Extra space after key 'longname'. (key-spacing)
(#58) Extra space after key 'author'. (key-spacing)
(#59) Extra space after key 'authorurl'. (key-spacing)
(#60) Extra space after key 'infourl'. (key-spacing)
(#61) Extra space after key 'version'. (key-spacing)
(#66) 'tinymce' is not defined. (no-undef)
(#66) 'tinymce' is not defined. (no-undef)
(#73) Identifier 'editor_tinymce_filepicker' is not in camel case. (camelcase)
(#75) Missing JSDoc for parameter 'target_id'. (valid-jsdoc)
(#75) Missing JSDoc for parameter 'url'. (valid-jsdoc)
(#75) Missing JSDoc for parameter 'type'. (valid-jsdoc)
(#75) Missing JSDoc for parameter 'win'. (valid-jsdoc)
(#81) Identifier 'h5p_tinymce_browser_callback' is not in camel case. (camelcase)
(#81) 'h5p_tinymce_browser_callback' is assigned a value but never used. (no-unused-vars)
(#81) Identifier 'target_id' is not in camel case. (camelcase)
(#84) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#84) 'YUI' is not defined. (no-undef)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Identifier 'editor_id' is not in camel case. (camelcase)
(#85) 'tinyMCE' is not defined. (no-undef)
(#86) Identifier 'editor_id' is not in camel case. (camelcase)
(#87) Identifier 'editor_id' is not in camel case. (camelcase)
(#87) 'tinyMCE' is not defined. (no-undef)
(#89) ["h5p"] is better written in dot notation. (dot-notation)
(#91) Identifier 'editor_target' is not in camel case. (camelcase)

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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 7 warnings)

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

lib/editor/tinymce/plugins/h5p/templates/template_data.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Attribute “{#htmllang}” is not serializable as XML 1.0. (TYPE html><html {#htmllang}><head)
(#1) HTML Validation error, line 2: Attribute “{#htmllang}” not allowed on element “html” at this point. (TYPE html><html {#htmllang}><head)
(#1) HTML Validation info, line 9: The “type” attribute is unnecessary for JavaScript resources. (><body><script type="text/javascript"> /)
(#1) HTML Validation info, line 51: The “type” attribute is unnecessary for JavaScript resources. (</script><script type="text/javascript" src="tinymce/dialog.js"></scri)
(#1) HTML Validation error, line 60: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="_"> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html {#htmllang}><head)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]