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

(321 errors, 42 warnings)

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

lib/editor/atto/plugins/poodll/db/access.php
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
lib/editor/atto/plugins/poodll/dialog/poodll.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 64% valid code; is this commented out code?
(#49) No space found before comment text; expected "// $plugin = $editor->get_plugin('poodll');" but found "//$plugin = $editor->get_plugin('poodll');"
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// contextid" but found "//contextid"
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) This comment is 100% valid code; is this commented out code?
(#57) No space found before comment text; expected "// 'atto_poodll_button.updatefilename';" but found "//'atto_poodll_button.updatefilename';"
(#61) Line indented incorrectly; expected 4 spaces, found 1
(#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 2
(#62) Expected 1 space after "="; 2 found
(#62) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#62) Line exceeds 132 characters; contains 136 characters
(#62) Line exceeds 132 characters; contains 136 characters
(#62) Line exceeds 132 characters; contains 136 characters
(#62) Line exceeds 132 characters; contains 136 characters
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 8 spaces, found 1
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#65) Line indented incorrectly; expected 4 spaces, found 1
(#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 2
(#66) Expected 1 space after "="; 2 found
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#66) Line exceeds 132 characters; contains 138 characters
(#66) Line exceeds 132 characters; contains 138 characters
(#66) Line exceeds 132 characters; contains 138 characters
(#66) Line exceeds 132 characters; contains 138 characters
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 1
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#69) Line indented incorrectly; expected 4 spaces, found 1
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 8 spaces, found 2
(#70) Expected 1 space after "="; 2 found
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Line exceeds 132 characters; contains 141 characters
(#70) Line exceeds 132 characters; contains 141 characters
(#70) Line exceeds 132 characters; contains 141 characters
(#70) Line exceeds 132 characters; contains 141 characters
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 8 spaces, found 1
(#71) Whitespace found at end of line
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 8 spaces, found 1
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#74) Line indented incorrectly; expected 4 spaces, found 1
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 8 spaces, found 2
(#75) Expected 1 space after "="; 2 found
(#75) Whitespace found at end of line
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 8 spaces, found 4
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 8 spaces, found 1
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Whitespace found at end of line
(#79) Line indented incorrectly; expected 4 spaces, found 1
(#80) Line indented incorrectly; expected 4 spaces, found 1
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 1
(#81) Expected 1 space after "="; 2 found
(#81) Commas (,) must be followed by white space.
(#81) Commas (,) must be followed by white space.
(#81) Commas (,) must be followed by white space.
(#81) Commas (,) must be followed by white space.
(#81) Commas (,) must be followed by white space.
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 8 spaces, found 1
(#88) Commas (,) must be followed by white space.
lib/editor/atto/plugins/poodll/lib.php
(#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) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line indented incorrectly; expected at least 4 spaces, found 1
(#48) No space found before comment text; expected "// coursecontext" but found "//coursecontext"
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 4 spaces, found 1
(#49) Expected 1 space before "="; 0 found
(#49) Expected 1 space after "="; 0 found
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
(#49) Whitespace found at end of line
(#50) Spaces must be used for alignment; tabs are not allowed
(#50) Tab found within whitespace
(#50) Whitespace found at end of line
(#51) Spaces must be used for alignment; tabs are not allowed
(#51) Tab found within whitespace
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Line indented incorrectly; expected at least 4 spaces, found 1
(#51) No space found before comment text; expected "// usercontextid" but found "//usercontextid"
(#52) Spaces must be used for alignment; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 4 spaces, found 1
(#52) Expected 1 space before "="; 0 found
(#52) Expected 1 space after "="; 0 found
(#53) Spaces must be used for alignment; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 4 spaces, found 1
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#54) Spaces must be used for alignment; tabs are not allowed
(#54) Tab found within whitespace
(#54) Whitespace found at end of line
(#55) Spaces must be used for alignment; tabs are not allowed
(#55) Tab found within whitespace
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Line indented incorrectly; expected at least 4 spaces, found 1
(#55) No space found before comment text; expected "// config our array of data" but found "//config our array of data"
(#56) Spaces must be used for alignment; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 4 spaces, found 1
(#57) Spaces must be used for alignment; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 4 spaces, found 1
(#59) Spaces must be used for alignment; tabs are not allowed
(#59) Tab found within whitespace
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Line indented incorrectly; expected at least 4 spaces, found 2
(#59) No space found before comment text; expected "// If they don't have permission don't show it" but found "//If they don't have permission don't show it"
(#60) Spaces must be used for alignment; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 4 spaces, found 2
(#60) Expected "if (...) {\n"; found "if(...){\n"
(#61) Spaces must be used for alignment; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected at least 8 spaces, found 3
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Spaces must be used for alignment; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 4 spaces, found 3
(#62) Closing brace indented incorrectly; expected 2 spaces, found 3
(#63) Spaces must be used for alignment; tabs are not allowed
(#63) Tab found within whitespace
(#63) Whitespace found at end of line
(#64) Spaces must be used for alignment; tabs are not allowed
(#64) Tab found within whitespace
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line indented incorrectly; expected at least 4 spaces, found 3
(#64) No space found before comment text; expected "// if this textarea allows no files, we also bail" but found "//if this textarea allows no files, we also bail"
(#65) Spaces must be used for alignment; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected 4 spaces, found 3
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#67) Line indented incorrectly; expected 4 spaces, found 8
(#67) Closing brace indented incorrectly; expected 3 spaces, found 8
(#68) Whitespace found at end of line
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// add our disabled param" but found "//add our disabled param"
(#71) Whitespace found at end of line
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) No space found before comment text; expected "// add our use whiteboard option" but found "//add our use whiteboard option"
(#73) Commas (,) must be followed by white space.
(#74) Spaces must be used for alignment; tabs are not allowed
(#74) Tab found within whitespace
(#74) Whitespace found at end of line
(#75) Spaces must be used for alignment; tabs are not allowed
(#75) Tab found within whitespace
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Line indented incorrectly; expected at least 4 spaces, found 2
(#75) No space found before comment text; expected "// add icons to editor if the permissions are all ok" but found "//add icons to editor if the permissions are all ok"
(#76) Spaces must be used for alignment; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 4 spaces, found 2
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#77) Spaces must be used for alignment; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 4 spaces, found 2
(#77) Expected 1 space after "="; 2 found
(#77) Commas (,) must be followed by white space.
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected 4 spaces, found 2
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#79) Spaces must be used for alignment; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 8 spaces, found 3
(#79) Commas (,) must be followed by white space.
(#80) Spaces must be used for alignment; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 8 spaces, found 3
(#80) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected 12 spaces, found 4
(#81) Expected "if (...) {\n"; found "if(...){\n"
(#81) Commas (,) must be followed by white space.
(#81) Expected 1 space before "!=="; 0 found
(#81) Expected 1 space after "!=="; 0 found
(#81) Line exceeds 132 characters; contains 137 characters
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 16 spaces, found 5
(#82) Expected 1 space before "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#83) Spaces must be used for alignment; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected 12 spaces, found 4
(#84) Spaces must be used for alignment; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 8 spaces, found 3
(#85) Spaces must be used for alignment; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected 4 spaces, found 2
lib/editor/atto/plugins/poodll/settings.php
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Line indented incorrectly; expected at least 4 spaces, found 1
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 4 spaces, found 1
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Whitespace found at end of line
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#41) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#41) Line exceeds 132 characters; contains 134 characters
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 4 spaces, found 1
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Commas (,) must be followed by white space.
(#44) Spaces must be used for alignment; tabs are not allowed
(#44) Tab found within whitespace
(#44) Whitespace found at end of line
(#45) Spaces must be used for alignment; tabs are not allowed
(#45) Tab found within whitespace
(#45) Whitespace found at end of line
(#46) Spaces must be used for alignment; tabs are not allowed
(#46) Tab found within whitespace
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Line indented incorrectly; expected at least 4 spaces, found 1
(#46) No space found before comment text; expected "// PoodLL Whiteboard" but found "//PoodLL Whiteboard"
(#47) Spaces must be used for alignment; 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 for alignment; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 4 spaces, found 1
(#48) Commas (,) must be followed by white space.
(#48) Line exceeds 132 characters; contains 143 characters
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 4 spaces, found 1
(#49) Line exceeds 132 characters; contains 153 characters
(#51) Spaces must be used for alignment; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
lib/editor/atto/plugins/poodll/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 4 warnings)

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

lib/editor/atto/plugins/poodll/yui/src/button/js/button.js
(#40) Redefinition of 'CSS'.
(#255) 'thefilename' is already defined.
(#264) 'template' is not defined.
(#265) 'template' is not defined.

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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/atto/plugins/poodll/dialog/poodll.php
(#2) Empty line found after PHP open tag
(#34) File-level phpdocs block is not found
(#26) Package poodll is not valid
lib/editor/atto/plugins/poodll/lib.php
(#31) Phpdocs for function atto_poodll_strings_for_js has incomplete parameters list
(#42) Phpdocs for function atto_poodll_params_for_js 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, 0 warnings)

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

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

lib/editor/atto/plugins/poodll/yui/src/button/js/button.js
contains 44 lint errors

Mustache template problems

(0 errors, 0 warnings)

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