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

(1 errors, 1 warnings)

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

lib/editor/tinymce/plugins/mathslate/help.php
(#1) No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
lib/editor/tinymce/plugins/mathslate/mathslate.php
(#89) Whitespace found at end of line

Javascript coding style problems

(6 errors, 147 warnings)

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

lib/editor/tinymce/plugins/mathslate/tinymce/editor_plugin.js
(#3) Expected space or tab after '//' in comment. (spaced-comment)
(#5) 'tinymce' is not defined. (no-undef)
(#10) Extra space after key 'init'. (key-spacing)
(#12) 'lang' is not defined. (no-undef)
(#12) 'tinyMCE' is not defined. (no-undef)
(#16) Extra space after key 'file'. (key-spacing)
(#16) 'lang' is not defined. (no-undef)
(#17) Extra space after key 'width'. (key-spacing)
(#18) Extra space after key 'height'. (key-spacing)
(#19) Extra space after key 'inline'. (key-spacing)
(#21) Extra space after key 'plugin_url'. (key-spacing)
(#21) Identifier 'plugin_url' is not in camel case. (camelcase)
(#28) Extra space after key 'title'. (key-spacing)
(#29) Extra space after key 'cmd'. (key-spacing)
(#30) Extra space after key 'image'. (key-spacing)
(#41) Extra space after key 'getInfo'. (key-spacing)
(#43) Extra space after key 'longname'. (key-spacing)
(#44) Extra space after key 'author'. (key-spacing)
(#45) Extra space after key 'authorurl'. (key-spacing)
(#46) Extra space after key 'infourl'. (key-spacing)
(#47) Extra space after key 'version'. (key-spacing)
(#53) 'tinymce' is not defined. (no-undef)
(#53) 'tinymce' is not defined. (no-undef)
lib/editor/tinymce/plugins/mathslate/yui/src/dialogue/js/dialogue.js
(#24) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#66) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#110) Multiple spaces found before ''\\[''. (no-multi-spaces)
(#114) Multiple spaces found before ''\\(''. (no-multi-spaces)
lib/editor/tinymce/plugins/mathslate/yui/src/editor/js/editor.js
(#18) Requires a space after '{'. (block-spacing)
(#18) Statement inside of curly braces should be on next line. (brace-style)
(#18) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#18) Requires a space before '}'. (block-spacing)
(#18) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#46) Expected space or tab after '//' in comment. (spaced-comment)
(#57) Missing JSDoc comment. (require-jsdoc)
(#62) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#71) Missing JSDoc comment. (require-jsdoc)
(#83) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#144) Requires a space after '{'. (block-spacing)
(#144) Statement inside of curly braces should be on next line. (brace-style)
(#144) Requires a space before '}'. (block-spacing)
(#144) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#150) Statement inside of curly braces should be on next line. (brace-style)
(#150) Requires a space after '{'. (block-spacing)
(#150) Requires a space before '}'. (block-spacing)
(#150) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#154) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Expected space(s) after "if". (keyword-spacing)
(#193) There should be no space before ','. (comma-spacing)
(#194) There should be no space before ','. (comma-spacing)
(#203) Expected space or tab after '//' in comment. (spaced-comment)
lib/editor/tinymce/plugins/mathslate/yui/src/mathjaxeditor/js/mathjaxeditor.js
(#17) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#46) Comments should not begin with a lowercase character (capitalized-comments)
(#46) Expected space or tab after '//' in comment. (spaced-comment)
(#57) Expected space or tab after '//' in comment. (spaced-comment)
(#133) Missing JSDoc comment. (require-jsdoc)
(#137) Unexpected space before function parentheses. (space-before-function-paren)
(#142) A space is required after ','. (comma-spacing)
(#146) Unexpected space before function parentheses. (space-before-function-paren)
(#163) Missing JSDoc comment. (require-jsdoc)
(#163) Unexpected space before function parentheses. (space-before-function-paren)
(#180) Requires a space after '{'. (block-spacing)
(#180) Statement inside of curly braces should be on next line. (brace-style)
(#180) Requires a space before '}'. (block-spacing)
(#180) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#219) ["class"] is better written in dot notation. (dot-notation)
(#219) ["class"] is better written in dot notation. (dot-notation)
(#259) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#298) Missing JSDoc comment. (require-jsdoc)
(#299) Statement inside of curly braces should be on next line. (brace-style)
(#299) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#303) Statement inside of curly braces should be on next line. (brace-style)
(#303) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#320) Missing JSDoc comment. (require-jsdoc)
(#372) Missing JSDoc comment. (require-jsdoc)
(#373) Statement inside of curly braces should be on next line. (brace-style)
(#373) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#376) Statement inside of curly braces should be on next line. (brace-style)
(#376) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#377) ["class"] is better written in dot notation. (dot-notation)
lib/editor/tinymce/plugins/mathslate/yui/src/snippeteditor/js/snippeteditor.js
(#17) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#28) Comments should not begin with a lowercase character (capitalized-comments)
(#31) Missing JSDoc comment. (require-jsdoc)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Infix operators must be spaced. (space-infix-ops)
(#40) Comments should not begin with a lowercase character (capitalized-comments)
(#43) Missing JSDoc comment. (require-jsdoc)
(#92) Missing JSDoc comment. (require-jsdoc)
(#97) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#101) Infix operators must be spaced. (space-infix-ops)
(#123) Requires a space after '{'. (block-spacing)
(#123) Statement inside of curly braces should be on next line. (brace-style)
(#123) Requires a space before '}'. (block-spacing)
(#123) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#126) Requires a space before '}'. (block-spacing)
(#126) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#126) Unexpected use of comma operator. (no-sequences)
(#135) Requires a space after '{'. (block-spacing)
(#135) Statement inside of curly braces should be on next line. (brace-style)
(#135) Requires a space before '}'. (block-spacing)
(#135) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#137) Statement inside of curly braces should be on next line. (brace-style)
(#137) Requires a space after '{'. (block-spacing)
(#137) Requires a space before '}'. (block-spacing)
(#137) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#140) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#140) Requires a space before '}'. (block-spacing)
(#179) Unexpected whitespace before semicolon. (semi-spacing)
(#190) Unexpected whitespace before semicolon. (semi-spacing)
(#211) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#217) ["class"] is better written in dot notation. (dot-notation)
(#217) ["class"] is better written in dot notation. (dot-notation)
(#217) Infix operators must be spaced. (space-infix-ops)
(#233) Missing JSDoc comment. (require-jsdoc)
(#233) Unexpected space before function parentheses. (space-before-function-paren)
(#247) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#251) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#271) Missing JSDoc comment. (require-jsdoc)
(#271) Unexpected space before function parentheses. (space-before-function-paren)
(#288) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#294) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#301) ["class"] is better written in dot notation. (dot-notation)
(#301) ["class"] is better written in dot notation. (dot-notation)
(#323) Requires a space after '{'. (block-spacing)
(#323) Statement inside of curly braces should be on next line. (brace-style)
(#323) Requires a space before '}'. (block-spacing)
(#323) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
lib/editor/tinymce/plugins/mathslate/yui/src/textool/js/textool.js
(#17) Identifier 'tinymce_mathslate' is not in camel case. (camelcase)
(#37) There should be no space before ','. (comma-spacing)
(#38) There should be no space before ','. (comma-spacing)
(#40) Expected to return a value at the end of function. (consistent-return)
(#45) Expected space(s) after "catch". (keyword-spacing)
(#46) Requires a space after '{'. (block-spacing)
(#46) Statement inside of curly braces should be on next line. (brace-style)
(#46) Requires a space before '}'. (block-spacing)
(#46) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#46) Comments should not begin with a lowercase character (capitalized-comments)
(#51) Unexpected space between function name and paren. (func-call-spacing)
(#54) Statement inside of curly braces should be on next line. (brace-style)
(#54) Requires a space after '{'. (block-spacing)
(#54) Requires a space before '}'. (block-spacing)
(#54) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Expected space or tab after '//' in comment. (spaced-comment)
(#67) Expected space or tab after '//' in comment. (spaced-comment)
(#71) Multiple spaces found before '+='. (no-multi-spaces)
(#79) Function expected no return value. (consistent-return)
(#84) Expected space or tab after '//' in comment. (spaced-comment)
(#86) Infix operators must be spaced. (space-infix-ops)
(#91) Expected space or tab after '//' in comment. (spaced-comment)
(#94) Expected space(s) after "while". (keyword-spacing)
(#103) Function expected no return value. (consistent-return)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 1 warnings)

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

lib/editor/tinymce/plugins/mathslate/db/upgrade.php
(#27) There is no description in phpdocs for function xmldb_tinymce_mathslate_upgrade
lib/editor/tinymce/plugins/mathslate/help.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
lib/editor/tinymce/plugins/mathslate/lib.php
(#17) File-level phpdocs block is not found
(#30) Function tinymce_mathslate::update_init_params is not documented

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

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