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

(84 errors, 4 warnings)

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

lib/editor/atto/plugins/planetestream/lib.php
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Whitespace found at end of line
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 4 spaces, found 1
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Whitespace found at end of line
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 4 spaces, found 1
(#50) Line indented incorrectly; expected at least 8 spaces, found 4
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 4 spaces, found 1
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 8 spaces, found 1
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 12 spaces, found 2
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 8 spaces, found 1
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 12 spaces, found 2
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 8 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Whitespace found at end of line
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Whitespace found at end of line
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected 4 spaces, found 2
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 8 spaces, found 4
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected 4 spaces, found 2
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Whitespace found at end of line
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected 4 spaces, found 2
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 8 spaces, found 4
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected 4 spaces, found 2
(#72) Line indented incorrectly; expected at least 8 spaces, found 7
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 4 spaces, found 1
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 4 spaces, found 1
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Whitespace found at end of line
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Tab found within whitespace
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Line indented incorrectly; expected at least 4 spaces, found 1
(#123) No space found before comment text; expected "// $return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;" but found "//$return = $url . "~~~" . $checksum . "~~~~" . $delta . "~~~~" . $userip;"
(#127) Line indented incorrectly; expected at least 12 spaces, found 11
(#128) Spaces must be used to indent lines; tabs are not allowed
(#128) Tab found within whitespace
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) This comment is 75% valid code; is this commented out code?
(#128) Line indented incorrectly; expected at least 12 spaces, found 5
(#128) No space found before comment text; expected "// return $return;" but found "//return $return;"
(#144) Empty CATCH statement detected

Javascript coding style problems

(111 errors, 25 warnings)

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

lib/editor/atto/plugins/planetestream/yui/src/button/js/button.js
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Unexpected tab character. (no-tabs)
(#62) Trailing spaces not allowed. (no-trailing-spaces)
(#63) Unexpected tab character. (no-tabs)
(#63) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#63) Avoid arguments.callee. (no-caller)
(#64) Unexpected tab character. (no-tabs)
(#64) Trailing spaces not allowed. (no-trailing-spaces)
(#65) Unexpected tab character. (no-tabs)
(#66) Unexpected tab character. (no-tabs)
(#66) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#67) Trailing spaces not allowed. (no-trailing-spaces)
(#68) Unexpected tab character. (no-tabs)
(#69) Unexpected tab character. (no-tabs)
(#69) Trailing spaces not allowed. (no-trailing-spaces)
(#70) This line has a length of 146. Maximum allowed is 132. (max-len)
(#70) Unexpected tab character. (no-tabs)
(#70) Comments should not begin with a lowercase character. (capitalized-comments)
(#71) Unexpected tab character. (no-tabs)
(#71) Trailing spaces not allowed. (no-trailing-spaces)
(#72) Unexpected tab character. (no-tabs)
(#73) Unexpected tab character. (no-tabs)
(#73) Operator '=' must be spaced. (space-infix-ops)
(#74) Unexpected tab character. (no-tabs)
(#75) Unexpected tab character. (no-tabs)
(#76) Unexpected tab character. (no-tabs)
(#76) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#77) Unexpected tab character. (no-tabs)
(#77) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#78) Unexpected tab character. (no-tabs)
(#79) Unexpected tab character. (no-tabs)
(#79) Expected space(s) after "catch". (keyword-spacing)
(#80) Unexpected tab character. (no-tabs)
(#80) Unexpected console statement. (no-console)
(#81) Unexpected tab character. (no-tabs)
(#82) Unexpected tab character. (no-tabs)
(#82) Trailing spaces not allowed. (no-trailing-spaces)
(#83) Unexpected tab character. (no-tabs)
(#84) Unexpected tab character. (no-tabs)
(#84) Trailing spaces not allowed. (no-trailing-spaces)
(#85) Unexpected tab character. (no-tabs)
(#87) Unexpected tab character. (no-tabs)
(#87) Trailing spaces not allowed. (no-trailing-spaces)
(#88) Unexpected tab character. (no-tabs)
(#89) Unexpected tab character. (no-tabs)
(#89) Trailing spaces not allowed. (no-trailing-spaces)
(#90) Unexpected tab character. (no-tabs)
(#92) Unexpected tab character. (no-tabs)
(#92) Trailing spaces not allowed. (no-trailing-spaces)
(#93) Unexpected tab character. (no-tabs)
(#94) Unexpected tab character. (no-tabs)
(#94) Trailing spaces not allowed. (no-trailing-spaces)
(#95) Unexpected tab character. (no-tabs)
(#96) Unexpected tab character. (no-tabs)
(#96) Trailing spaces not allowed. (no-trailing-spaces)
(#97) Unexpected tab character. (no-tabs)
(#98) Unexpected tab character. (no-tabs)
(#98) Trailing spaces not allowed. (no-trailing-spaces)
(#99) Unexpected tab character. (no-tabs)
(#99) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#100) Unexpected tab character. (no-tabs)
(#100) Trailing spaces not allowed. (no-trailing-spaces)
(#101) This line has a length of 251. Maximum allowed is 132. (max-len)
(#101) Unexpected tab character. (no-tabs)
(#101) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#104) Unexpected tab character. (no-tabs)
(#104) Trailing spaces not allowed. (no-trailing-spaces)
(#105) Unexpected tab character. (no-tabs)
(#106) Unexpected tab character. (no-tabs)
(#106) Trailing spaces not allowed. (no-trailing-spaces)
(#107) This line has a length of 251. Maximum allowed is 132. (max-len)
(#107) Unexpected tab character. (no-tabs)
(#107) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#110) Unexpected tab character. (no-tabs)
(#110) Trailing spaces not allowed. (no-trailing-spaces)
(#111) Unexpected tab character. (no-tabs)
(#112) Unexpected tab character. (no-tabs)
(#112) Trailing spaces not allowed. (no-trailing-spaces)
(#112) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#113) Trailing spaces not allowed. (no-trailing-spaces)
(#114) Unexpected tab character. (no-tabs)
(#115) Unexpected tab character. (no-tabs)
(#115) Trailing spaces not allowed. (no-trailing-spaces)
(#116) Unexpected tab character. (no-tabs)
(#116) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#117) Unexpected tab character. (no-tabs)
(#117) Trailing spaces not allowed. (no-trailing-spaces)
(#118) Unexpected tab character. (no-tabs)
(#118) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#123) Unexpected tab character. (no-tabs)
(#123) Trailing spaces not allowed. (no-trailing-spaces)
(#124) Unexpected tab character. (no-tabs)
(#125) Unexpected tab character. (no-tabs)
(#125) Trailing spaces not allowed. (no-trailing-spaces)
(#126) Unexpected tab character. (no-tabs)
(#126) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#131) Unexpected tab character. (no-tabs)
(#131) Trailing spaces not allowed. (no-trailing-spaces)
(#132) Unexpected tab character. (no-tabs)
(#133) Unexpected tab character. (no-tabs)
(#133) Trailing spaces not allowed. (no-trailing-spaces)
(#133) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#134) Trailing spaces not allowed. (no-trailing-spaces)
(#135) Unexpected tab character. (no-tabs)
(#136) Unexpected tab character. (no-tabs)
(#136) Trailing spaces not allowed. (no-trailing-spaces)
(#137) Unexpected tab character. (no-tabs)
(#138) Unexpected tab character. (no-tabs)
(#138) Trailing spaces not allowed. (no-trailing-spaces)
(#139) Trailing spaces not allowed. (no-trailing-spaces)
(#140) Unexpected tab character. (no-tabs)
(#141) Unexpected tab character. (no-tabs)
(#144) Unexpected tab character. (no-tabs)
(#144) Comments should not begin with a lowercase character. (capitalized-comments)
(#144) Expected space or tab after '//' in comment. (spaced-comment)
(#146) Missing JSDoc for parameter 'content'. (valid-jsdoc)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#158) Comments should not begin with a lowercase character. (capitalized-comments)
(#159) Unexpected tab character. (no-tabs)
(#159) Trailing spaces not allowed. (no-trailing-spaces)
(#162) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#168) Unexpected space before function parentheses. (space-before-function-paren)
(#186) Unexpected use of '|'. (no-bitwise)
(#186) Operator '===' must be spaced. (space-infix-ops)
(#186) Operator '|' must be spaced. (space-infix-ops)
(#187) Operator '===' must be spaced. (space-infix-ops)
(#206) Identifier 'estream_url' is not in camel case. (camelcase)
(#209) Identifier 'estream_path' is not in camel case. (camelcase)
(#212) Identifier 'estream_height' is not in camel case. (camelcase)
(#215) Identifier 'estream_width' is not in camel case. (camelcase)
(#218) Unexpected tab character. (no-tabs)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

lib/editor/atto/plugins/planetestream/lib.php
(#24) Phpdocs for function atto_planetestream_params_for_js has incomplete parameters list
(#92) Phpdocs for function atto_planetestream_obfuscate has incomplete parameters list
(#115) Phpdocs for function atto_planetestream_getauthticket has incomplete parameters list

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 "eslint:yui" 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, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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