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

(800 errors, 437 warnings)

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

question/type/cloudpoodll/backup/moodle2/backup_qtype_cloudpoodll_plugin.class.php
(#18) Incorrect @package tag for file backup_qtype_cloudpoodll_plugin.class.php. Expected qtype_cloudpoodll, found moodlecore.
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Short array syntax must be used to define arrays
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Short array syntax must be used to define arrays
(#77) There should be a comma after the last array item in a multi-line array.
question/type/cloudpoodll/backup/moodle2/restore_qtype_cloudpoodll_plugin.class.php
(#18) Incorrect @package tag for file restore_qtype_cloudpoodll_plugin.class.php. Expected qtype_cloudpoodll, found moodlecore.
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) There should be a comma after the last array item in a multi-line array.
(#94) Short array syntax must be used to define arrays
(#107) Expected 1 space after "="; 2 found
question/type/cloudpoodll/classes/constants.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#5) Missing @copyright tag
(#5) Missing @license tag
(#11) DocBlock missing a @package tag for class constants. Expected @package qtype_cloudpoodll
(#41) Expected 1 space before "="; 0 found
(#41) Expected 1 space after "="; 0 found
(#42) Expected 1 space before "="; 0 found
(#42) Expected 1 space after "="; 0 found
(#43) Expected 1 space before "="; 0 found
(#43) Expected 1 space after "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#83) Expected 1 space after "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#86) Expected 1 space after "="; 0 found
(#87) Expected 1 space after "="; 0 found
(#88) Expected 1 space after "="; 0 found
(#89) Expected 1 space after "="; 0 found
(#90) Expected 1 space after "="; 0 found
(#91) Expected 1 space after "="; 0 found
(#92) Expected 1 space after "="; 0 found
(#93) Expected 1 space after "="; 0 found
(#94) Expected 1 space after "="; 0 found
(#95) Expected 1 space after "="; 0 found
(#96) Expected 1 space after "="; 0 found
(#97) Expected 1 space after "="; 0 found
(#98) Expected 1 space after "="; 0 found
(#99) Expected 1 space after "="; 0 found
(#100) Expected 1 space after "="; 0 found
(#101) Expected 1 space after "="; 0 found
(#102) Expected 1 space after "="; 0 found
(#103) Expected 1 space after "="; 0 found
(#104) Expected 1 space after "="; 0 found
(#105) Expected 1 space after "="; 0 found
(#106) Expected 1 space after "="; 0 found
(#107) Expected 1 space after "="; 0 found
(#108) Expected 1 space after "="; 0 found
(#109) Expected 1 space after "="; 0 found
(#110) Expected 1 space after "="; 0 found
(#111) Expected 1 space after "="; 0 found
(#134) Class constants must be uppercase; expected EXTRA_FIELDS but found extra_fields
(#135) Commas (,) must be followed by white space.
(#136) File must end with a newline character
question/type/cloudpoodll/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
question/type/cloudpoodll/classes/setting/apicredshelper.php
(#23) Missing @copyright tag
(#28) DocBlock missing a @package tag for class apicredshelper. Expected @package qtype_cloudpoodll
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected at least 4 spaces, found 3
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#41) Line exceeds 132 characters; contains 145 characters
(#45) Missing member variable doc comment
(#45) Missing member variable doc comment
(#45) Missing member variable doc comment
(#45) Commas (,) must be followed by white space.
(#45) Missing member variable doc comment
(#47) Expected 1 space before "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#48) Expected 1 space before "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Line indented incorrectly; expected at least 8 spaces, found 4
(#84) Line indented incorrectly; expected at least 8 spaces, found 7
(#84) Expected 1 space after "="; 2 found
(#84) Short array syntax must be used to define arrays
(#84) Line exceeds 132 characters; contains 140 characters
(#85) Line indented incorrectly; expected at least 8 spaces, found 7
(#86) This comment is 62% valid code; is this commented out code?
(#86) Line indented incorrectly; expected at least 8 spaces, found 0
(#87) Line exceeds 132 characters; contains 168 characters
(#87) Line indented incorrectly; expected at least 8 spaces, found 2
(#87) Spaces must be used to indent lines; tabs are not allowed
(#90) Line indented incorrectly; expected at least 8 spaces, found 2
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) Line indented incorrectly; expected at least 8 spaces, found 2
(#91) Spaces must be used to indent lines; tabs are not allowed
(#92) Line indented incorrectly; expected at least 8 spaces, found 5
(#92) Spaces must be used to indent lines; tabs are not allowed
(#94) Line indented incorrectly; expected at least 8 spaces, found 2
(#94) Spaces must be used to indent lines; tabs are not allowed
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Whitespace found at end of line
(#96) Line exceeds 132 characters; contains 155 characters
(#96) Line indented incorrectly; expected at least 8 spaces, found 2
(#96) Spaces must be used to indent lines; tabs are not allowed
(#97) Line indented incorrectly; expected at least 8 spaces, found 3
(#97) Spaces must be used to indent lines; tabs are not allowed
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Whitespace found at end of line
(#99) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Spaces must be used to indent lines; tabs are not allowed
(#100) Line indented incorrectly; expected at least 8 spaces, found 3
(#100) Spaces must be used to indent lines; tabs are not allowed
(#101) Line indented incorrectly; expected at least 8 spaces, found 3
(#101) Spaces must be used to indent lines; tabs are not allowed
(#102) Line indented incorrectly; expected at least 8 spaces, found 0
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected 4 spaces, found 1
(#103) Closing brace indented incorrectly; expected 4 spaces, found 1
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected 4 spaces, found 2
(#105) Missing docblock for function set_preset_to_config
(#105) Expected 1 space before opening brace; found 0
(#107) This comment is 80% valid code; is this commented out code?
(#107) Line indented incorrectly; expected at least 8 spaces, found 0
(#108) Line indented incorrectly; expected at least 8 spaces, found 3
(#108) Spaces must be used to indent lines; tabs are not allowed
(#109) Line indented incorrectly; expected at least 8 spaces, found 3
(#109) Spaces must be used to indent lines; tabs are not allowed
(#110) Line indented incorrectly; expected at least 8 spaces, found 3
(#110) Spaces must be used to indent lines; tabs are not allowed
(#111) Line indented incorrectly; expected at least 8 spaces, found 3
(#111) Spaces must be used to indent lines; tabs are not allowed
(#112) Line indented incorrectly; expected at least 8 spaces, found 3
(#112) Spaces must be used to indent lines; tabs are not allowed
(#113) Line indented incorrectly; expected at least 8 spaces, found 3
(#113) Spaces must be used to indent lines; tabs are not allowed
(#114) Line indented incorrectly; expected at least 8 spaces, found 3
(#114) Spaces must be used to indent lines; tabs are not allowed
(#115) Line indented incorrectly; expected at least 8 spaces, found 3
(#115) Spaces must be used to indent lines; tabs are not allowed
(#116) Line indented incorrectly; expected at least 8 spaces, found 3
(#116) Spaces must be used to indent lines; tabs are not allowed
(#117) Line indented incorrectly; expected at least 8 spaces, found 3
(#117) Spaces must be used to indent lines; tabs are not allowed
(#118) Line indented incorrectly; expected at least 8 spaces, found 3
(#118) Spaces must be used to indent lines; tabs are not allowed
(#119) Line indented incorrectly; expected at least 8 spaces, found 3
(#119) Spaces must be used to indent lines; tabs are not allowed
(#120) Line indented incorrectly; expected at least 8 spaces, found 3
(#120) Spaces must be used to indent lines; tabs are not allowed
(#121) Line indented incorrectly; expected at least 8 spaces, found 3
(#121) Spaces must be used to indent lines; tabs are not allowed
(#122) Line indented incorrectly; expected at least 8 spaces, found 3
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Line indented incorrectly; expected at least 8 spaces, found 3
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Line indented incorrectly; expected at least 8 spaces, found 3
(#124) Spaces must be used to indent lines; tabs are not allowed
(#125) Line indented incorrectly; expected at least 8 spaces, found 3
(#125) Spaces must be used to indent lines; tabs are not allowed
(#129) Line indented incorrectly; expected at least 8 spaces, found 3
(#129) Spaces must be used to indent lines; tabs are not allowed
(#130) Line indented incorrectly; expected at least 8 spaces, found 4
(#130) Spaces must be used to indent lines; tabs are not allowed
(#131) Line indented incorrectly; expected at least 8 spaces, found 5
(#131) Spaces must be used to indent lines; tabs are not allowed
(#132) Line indented incorrectly; expected at least 8 spaces, found 4
(#132) Spaces must be used to indent lines; tabs are not allowed
(#133) Line indented incorrectly; expected at least 8 spaces, found 5
(#133) Spaces must be used to indent lines; tabs are not allowed
(#134) Line indented incorrectly; expected at least 8 spaces, found 4
(#134) Spaces must be used to indent lines; tabs are not allowed
(#135) Line indented incorrectly; expected at least 8 spaces, found 4
(#135) Spaces must be used to indent lines; tabs are not allowed
(#137) Line indented incorrectly; expected at least 8 spaces, found 3
(#137) Spaces must be used to indent lines; tabs are not allowed
(#138) Line indented incorrectly; expected at least 8 spaces, found 0
(#139) Spaces must be used to indent lines; tabs are not allowed
(#139) Tab found within whitespace
(#139) Line indented incorrectly; expected 4 spaces, found 2
(#142) File must end with a newline character
question/type/cloudpoodll/classes/utils.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class utils
(#31) Missing docblock for function fetch_options_recorders
(#32) Variable "rec_options" must not contain underscores.
(#32) Short array syntax must be used to define arrays
(#34) Variable "rec_options" must not contain underscores.
(#37) Missing docblock for function fetch_options_fallback
(#38) Short array syntax must be used to define arrays
(#44) Missing docblock for function fetch_options_players
(#44) Expected 1 space before opening brace; found 0
(#45) Short array syntax must be used to define arrays
(#50) Missing docblock for function fetch_options_transcribers
(#51) Short array syntax must be used to define arrays
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) This comment is 48% valid code; is this commented out code?
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Missing docblock for function get_timelimit_options
(#60) Short array syntax must be used to define arrays
(#67) Expected "for (...) {\n"; found "for(...){\n"
(#67) Expected 1 space before "="; 0 found
(#67) Expected 1 space after "="; 0 found
(#67) Expected 1 space after first semicolon of FOR loop; 0 found
(#67) Expected 1 space before "<="; 0 found
(#67) Expected 1 space after "<="; 0 found
(#67) Expected 1 space after second semicolon of FOR loop; 0 found
(#68) Expected 1 space before "*"; 0 found
(#68) Expected 1 space after "*"; 0 found
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#69) Expected 1 space before "*"; 0 found
(#69) Expected 1 space after "*"; 0 found
(#69) Expected 1 space before "+"; 0 found
(#69) Expected 1 space after "+"; 0 found
(#69) Expected 1 space before "="; 0 found
(#69) Expected 1 space after "="; 0 found
(#69) Short array syntax must be used to define arrays
(#74) Missing docblock for function fetch_options_skins
(#75) Variable "rec_options" must not contain underscores.
(#75) Short array syntax must be used to define arrays
(#78) Variable "rec_options" must not contain underscores.
(#79) Variable "rec_options" must not contain underscores.
(#80) Variable "rec_options" must not contain underscores.
(#81) Variable "rec_options" must not contain underscores.
(#82) Variable "rec_options" must not contain underscores.
(#83) Variable "rec_options" must not contain underscores.
(#84) Variable "rec_options" must not contain underscores.
(#88) Variable "rec_options" must not contain underscores.
(#89) Variable "rec_options" must not contain underscores.
(#90) Variable "rec_options" must not contain underscores.
(#91) Variable "rec_options" must not contain underscores.
(#92) Variable "rec_options" must not contain underscores.
(#95) Variable "rec_options" must not contain underscores.
(#98) Missing docblock for function get_region_options
(#99) Short array syntax must be used to define arrays
(#108) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
(#110) Commas (,) must be followed by white space.
(#111) Commas (,) must be followed by white space.
(#111) There should be a comma after the last array item in a multi-line array.
(#115) Missing docblock for function get_expiredays_options
(#116) Short array syntax must be used to define arrays
(#125) There should be a comma after the last array item in a multi-line array.
(#130) Missing docblock for function get_lang_options
(#131) Opening brace should be on the same line as the declaration
(#132) Short array syntax must be used to define arrays
(#135) Commas (,) must be followed by white space.
(#150) Commas (,) must be followed by white space.
(#158) Commas (,) must be followed by white space.
(#184) Commas (,) must be followed by white space.
(#184) There should be a comma after the last array item in a multi-line array.
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) No space found before comment text; expected "// are we willing and able to transcribe submissions?" but found "//are we willing and able to transcribe submissions?"
(#189) Missing docblock for function can_transcribe
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) No space found before comment text; expected "// we default to true" but found "//we default to true"
(#192) No space found before comment text; expected "// but it only takes one no ...." but found "//but it only takes one no ...."
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) No space found before comment text; expected "// The regions that can transcribe" but found "//The regions that can transcribe"
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) No space found before comment text; expected "// we use curl to fetch transcripts from AWS and Tokens from cloudpoodll" but found "//we use curl to fetch transcripts from AWS and Tokens from cloudpoodll"
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) No space found before comment text; expected "// this is our helper" but found "//this is our helper"
(#206) Missing docblock for function curl_fetch
(#216) No space found before comment text; expected "// This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings" but found "//This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings"
(#217) No space found before comment text; expected "// page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a" but found "//page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a"
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// "refresh token" links" but found "//"refresh token" links"
(#219) Missing docblock for function fetch_token_for_display
(#222) No space found before comment text; expected "// First check that we have an API id and secret" but found "//First check that we have an API id and secret"
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) No space found before comment text; expected "// refresh token" but found "//refresh token"
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) No space found before comment text; expected "// Fetch from cache and process the results and display" but found "//Fetch from cache and process the results and display"
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) No space found before comment text; expected "// if we have no token object the creds were wrong ... or something" but found "//if we have no token object the creds were wrong ... or something"
(#248) Inline comments must start with a capital letter, digit or 3-dots sequence
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) No space found before comment text; expected "// if we have an object but its no good, creds werer wrong ..or something" but found "//if we have an object but its no good, creds werer wrong ..or something"
(#251) Inline comments must start with a capital letter, digit or 3-dots sequence
(#251) No space found before comment text; expected "// if we do not have subs, then we are on a very old token or something is wrong, just get out of here." but found "//if we do not have subs, then we are on a very old token or something is wrong, just get out of here."
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) No space found before comment text; expected "// we have enough info to display a report. Lets go." but found "//we have enough info to display a report. Lets go."
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) No space found before comment text; expected "// Is app authorised" but found "//Is app authorised"
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) No space found before comment text; expected "// We need a Poodll token to make this happen" but found "//We need a Poodll token to make this happen"
(#276) Missing docblock for function fetch_token
(#284) Inline comments must start with a capital letter, digit or 3-dots sequence
(#284) No space found before comment text; expected "// if we got a token and its less than expiry time" but found "//if we got a token and its less than expiry time"
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) Variable "token_url" must not contain underscores.
(#294) Short array syntax must be used to define arrays
(#297) There should be a comma after the last array item in a multi-line array.
(#299) Variable "token_response" must not contain underscores.
(#299) Variable "token_url" must not contain underscores.
(#300) Variable "token_response" must not contain underscores.
(#301) Variable "resp_object" must not contain underscores.
(#301) Variable "token_response" must not contain underscores.
(#302) Variable "resp_object" must not contain underscores.
(#302) Variable "resp_object" must not contain underscores.
(#303) Variable "resp_object" must not contain underscores.
(#304) Inline comments must start with a capital letter, digit or 3-dots sequence
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) No space found before comment text; expected "// store the expiry timestamp and adjust it for diffs between our server times" but found "//store the expiry timestamp and adjust it for diffs between our server times"
(#305) Variable "resp_object" must not contain underscores.
(#306) Variable "resp_object" must not contain underscores.
(#306) Variable "resp_object" must not contain underscores.
(#307) Inline comments must start with a capital letter, digit or 3-dots sequence
(#307) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) No space found before comment text; expected "// we refresh one hour out, to prevent any overlap" but found "//we refresh one hour out, to prevent any overlap"
(#313) Inline comments must start with a capital letter, digit or 3-dots sequence
(#313) Inline comments must end in full-stops, exclamation marks, or question marks
(#313) No space found before comment text; expected "// cache the token" but found "//cache the token"
(#320) Variable "resp_object" must not contain underscores.
(#321) Variable "resp_object" must not contain underscores.
(#323) Variable "resp_object" must not contain underscores.
(#324) Variable "resp_object" must not contain underscores.
(#326) Variable "resp_object" must not contain underscores.
(#327) Variable "resp_object" must not contain underscores.
(#334) Empty IF statement detected
(#334) Variable "resp_object" must not contain underscores.
(#334) Variable "resp_object" must not contain underscores.
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#335) This comment is 43% valid code; is this commented out code?
(#335) No space found before comment text; expected "// ERROR = $resp_object->error" but found "//ERROR = $resp_object->error"
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) No space found before comment text; expected "// check token and tokenobject(from cache)" but found "//check token and tokenobject(from cache)"
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) No space found before comment text; expected "// return error message or blank if its all ok" but found "//return error message or blank if its all ok"
(#346) Missing docblock for function fetch_token_error
(#346) Expected 1 space before opening brace; found 0
(#349) Inline comments must start with a capital letter, digit or 3-dots sequence
(#349) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) No space found before comment text; expected "// check token authenticated" but found "//check token authenticated"
(#350) Expected "if (...) {\n"; found "if(...) {\n"
(#360) Inline comments must start with a capital letter, digit or 3-dots sequence
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) No space found before comment text; expected "// we should not get here if there is no token, but lets gracefully die, [v unlikely]" but found "//we should not get here if there is no token, but lets gracefully die, [v unlikely]"
(#366) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) No space found before comment text; expected "// We have an object but its no good, creds were wrong ..or something. [v unlikely]" but found "//We have an object but its no good, creds were wrong ..or something. [v unlikely]"
(#371) Inline comments must start with a capital letter, digit or 3-dots sequence
(#382) Inline comments must start with a capital letter, digit or 3-dots sequence
(#382) No space found before comment text; expected "// just return empty if there is no error." but found "//just return empty if there is no error."
(#386) Inline comments must start with a capital letter, digit or 3-dots sequence
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#386) No space found before comment text; expected "// transcripts become ready in their own time, fetch them here" but found "//transcripts become ready in their own time, fetch them here"
(#387) Missing docblock for function fetch_transcript
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) No space found before comment text; expected "// vtt data becomes ready in its own time, fetch them here" but found "//vtt data becomes ready in its own time, fetch them here"
(#397) Missing docblock for function fetch_vtt
(#406) File must end with a newline character
question/type/cloudpoodll/cloudpoodll/refreshtoken.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file refreshtoken.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#43) File must end with a newline character
question/type/cloudpoodll/db/simpletest/testupgradelibnewqe.php
(#21) Incorrect @package tag for file testupgradelibnewqe.php. Expected qtype_cloudpoodll, found qtype.
(#39) Missing docblock for function test_cloudpoodll_deferredfeedback_history98220
(#40) Short array syntax must be used to define arrays
(#64) Line exceeds 132 characters; contains 161 characters
(#76) Short array syntax must be used to define arrays
(#86) Line exceeds 132 characters; contains 158 characters
(#90) Short array syntax must be used to define arrays
(#97) Line exceeds maximum limit of 180 characters; contains 513 characters
(#114) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#219) Line exceeds 132 characters; contains 163 characters
(#223) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#273) Missing docblock for function test_cloudpoodll_deferredfeedback_history820
(#274) Short array syntax must be used to define arrays
(#278) Line exceeds maximum limit of 180 characters; contains 478 characters
(#279) Line exceeds maximum limit of 180 characters; contains 555 characters
(#307) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#326) Line exceeds 132 characters; contains 137 characters
(#343) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#386) Line exceeds maximum limit of 180 characters; contains 361 characters
(#394) Short array syntax must be used to define arrays
(#399) Line exceeds maximum limit of 180 characters; contains 361 characters
(#411) Short array syntax must be used to define arrays
(#420) Line exceeds maximum limit of 180 characters; contains 362 characters
(#422) Short array syntax must be used to define arrays
(#423) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#437) Line exceeds maximum limit of 180 characters; contains 386 characters
(#439) Short array syntax must be used to define arrays
(#445) Short array syntax must be used to define arrays
(#446) Line exceeds maximum limit of 180 characters; contains 378 characters
(#454) Missing docblock for function test_cloudpoodll_deferredfeedback_missing
(#455) Short array syntax must be used to define arrays
(#459) Line exceeds maximum limit of 180 characters; contains 478 characters
(#460) Line exceeds maximum limit of 180 characters; contains 555 characters
(#488) Short array syntax must be used to define arrays
(#502) Short array syntax must be used to define arrays
(#507) Line exceeds 132 characters; contains 137 characters
(#524) Short array syntax must be used to define arrays
(#525) Short array syntax must be used to define arrays
(#526) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#551) Short array syntax must be used to define arrays
(#552) Short array syntax must be used to define arrays
(#558) Short array syntax must be used to define arrays
question/type/cloudpoodll/db/upgrade.php
(#20) Incorrect @package tag for file upgrade.php. Expected qtype_cloudpoodll, found qtype.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Short array syntax must be used to define arrays
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#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
(#72) Expected 1 space before "="; 0 found
(#72) Expected 1 space after "="; 0 found
(#73) Line exceeds 132 characters; contains 155 characters
(#74) Line exceeds 132 characters; contains 155 characters
(#75) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/cloudpoodll/edit_cloudpoodll_form.php
(#20) Incorrect @package tag for file edit_cloudpoodll_form.php. Expected qtype_cloudpoodll, found qtype.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Missing docblock for function definition_inner
(#44) Short array syntax must be used to define arrays
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#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
(#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
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Short array syntax must be used to define arrays
(#127) Missing docblock for function data_preprocessing
(#144) No space found before comment text; expected "// Set qresource details, and configure a draft area to accept any uploaded pictures" but found "//Set qresource details, and configure a draft area to accept any uploaded pictures"
(#145) No space found before comment text; expected "// all this and this whole method does, is to load existing files into a filearea" but found "//all this and this whole method does, is to load existing files into a filearea"
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) No space found before comment text; expected "// so it is not called when creating a new question, only when editing an existing one" but found "//so it is not called when creating a new question, only when editing an existing one"
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) No space found before comment text; expected "// best to use file_get_submitted_draft_itemid - because copying questions gets weird otherwise" but found "//best to use file_get_submitted_draft_itemid - because copying questions gets weird otherwise"
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) No space found before comment text; expected "// $draftitemid =$question->options->qresource;" but found "//$draftitemid =$question->options->qresource;"
(#155) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Missing docblock for function qtype
question/type/cloudpoodll/fetchcbpage.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file fetchcbpage.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Import statements must not begin with a leading backslash
(#37) Expected "if (...) {\n"; found "if(...){\n"
(#37) Commas (,) must be followed by white space.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Commas (,) must be followed by white space.
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#44) Expected "} else {\n"; found "}else{\n"
question/type/cloudpoodll/lang/en/qtype_cloudpoodll.php
(#20) Incorrect @package tag for file qtype_cloudpoodll.php. Expected qtype_cloudpoodll, found qtype.
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) This comment is 78% valid code; is this commented out code?
(#26) No space found before comment text; expected "// $string['formateditor'] = 'HTML editor';" but found "//$string['formateditor'] = 'HTML editor';"
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) This comment is 78% valid code; is this commented out code?
(#30) No space found before comment text; expected "// $string['nlines'] = '{$a} lines';" but found "//$string['nlines'] = '{$a} lines';"
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) This comment is 74% valid code; is this commented out code?
(#41) No space found before comment text; expected "// $string['norecording'] = 'no recording found';" but found "//$string['norecording'] = 'no recording found';"
(#42) No space found before comment text; expected "// $string['currentresponse'] = 'Current Response:<br />';" but found "//$string['currentresponse'] = 'Current Response:<br />';"
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#57) Expected 1 space before "="; 0 found
(#57) Expected 1 space after "="; 0 found
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) This comment is 78% valid code; is this commented out code?
(#62) No space found before comment text; expected "// $string['formatupload'] = "Upload media file";" but found "//$string['formatupload'] = "Upload media file";"
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) This comment is 78% valid code; is this commented out code?
(#154) No space found before comment text; expected "// $string['region'] = 'AWS Region';" but found "//$string['region'] = 'AWS Region';"
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) This comment is 78% valid code; is this commented out code?
(#158) No space found before comment text; expected "// $string['currentsubmission'] = 'Current Submission:';" but found "//$string['currentsubmission'] = 'Current Submission:';"
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// these errors are displayed on quiz page" but found "//these errors are displayed on quiz page"
(#211) Expected 1 space before "="; 0 found
(#211) Expected 1 space after "="; 0 found
(#212) Expected 1 space before "="; 0 found
(#212) Expected 1 space after "="; 0 found
(#219) Inline comments must start with a capital letter, digit or 3-dots sequence
(#219) This comment is 74% valid code; is this commented out code?
(#219) No space found before comment text; expected "// $string['memberdashboard'] = "Member Dashboard";" but found "//$string['memberdashboard'] = "Member Dashboard";"
(#220) No space found before comment text; expected "// $string['memberdashboard_desc'] = "";" but found "//$string['memberdashboard_desc'] = "";"
(#221) Expected 1 space before "="; 0 found
(#221) Expected 1 space after "="; 0 found
(#228) Expected 1 space before "="; 0 found
(#228) Expected 1 space after "="; 0 found
(#229) Expected 1 space before "="; 0 found
(#229) Expected 1 space after "="; 0 found
(#230) Expected 1 space before "="; 0 found
(#230) Expected 1 space after "="; 0 found
(#231) Expected 1 space before "="; 0 found
(#231) Expected 1 space after "="; 0 found
(#232) Expected 1 space before "="; 0 found
(#233) Expected 1 space before "="; 0 found
(#233) File must end with a newline character
question/type/cloudpoodll/lib.php
(#21) Incorrect @package tag for file lib.php. Expected qtype_cloudpoodll, found qtype.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/cloudpoodll/question.php
(#20) Incorrect @package tag for file question.php. Expected qtype_cloudpoodll, found qtype.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#41) Missing docblock for function make_behaviour
(#59) Short array syntax must be used to define arrays
(#66) Missing docblock for function summarise_response
(#67) Expected 1 space before "!=="; 0 found
(#67) Expected 1 space after "!=="; 0 found
(#69) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#70) Expected 1 space before "!=="; 0 found
(#70) Expected 1 space after "!=="; 0 found
(#74) Expected 1 space before "!=="; 0 found
(#74) Expected 1 space after "!=="; 0 found
(#74) Line exceeds 132 characters; contains 147 characters
(#81) Missing docblock for function get_correct_response
(#85) Missing docblock for function is_complete_response
(#89) Missing docblock for function is_same_response
(#94) Missing docblock for function check_file_access
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) This comment is 80% valid code; is this commented out code?
(#95) No space found before comment text; expected "// print_object($qa);" but found "//print_object($qa);"
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) No space found before comment text; expected "// since we will put files in respnse_answer, this is likely to be always true." but found "//since we will put files in respnse_answer, this is likely to be always true."
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// if we are using a qresource, there is no need to restrict here" but found "//if we are using a qresource, there is no need to restrict here"
question/type/cloudpoodll/questiontype.php
(#20) Incorrect @package tag for file questiontype.php. Expected qtype_cloudpoodll, found qtype.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Missing docblock for function is_manual_graded
(#42) Missing docblock for function response_file_areas
(#43) Short array syntax must be used to define arrays
(#46) Missing docblock for function get_question_options
(#49) Short array syntax must be used to define arrays
(#53) Missing docblock for function save_question_options
(#57) Short array syntax must be used to define arrays
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) No space found before comment text; expected "// "import_or_save_files" won't work, because it expects output from an editor which is an array with member itemid" but found "//"import_or_save_files" won't work, because it expects output from an editor which is an array with member itemid"
(#65) No space found before comment text; expected "// the filemanager doesn't produce this, so need to use file save draft area directly" but found "//the filemanager doesn't produce this, so need to use file save draft area directly"
(#69) Short array syntax must be used to define arrays
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// save the itemid of the qresource filearea" but found "//save the itemid of the qresource filearea"
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// if we have a recording time limit" but found "//if we have a recording time limit"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// other options" but found "//other options"
(#102) Missing docblock for function initialise_question_instance
(#115) Short array syntax must be used to define arrays
(#117) There should be a comma after the last array item in a multi-line array.
(#121) Missing docblock for function move_files
(#132) Missing docblock for function delete_files
(#150) Short array syntax must be used to define arrays
(#163) Missing docblock for function export_to_xml
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) No space found before comment text; expected "// get file storage" but found "//get file storage"
(#199) Line indented incorrectly; expected at least 4 spaces, found 1
(#200) Line indented incorrectly; expected at least 4 spaces, found 1
(#201) Line indented incorrectly; expected at least 4 spaces, found 1
(#202) Line indented incorrectly; expected at least 4 spaces, found 1
(#203) Line indented incorrectly; expected at least 4 spaces, found 1
(#204) Missing docblock for function import_from_xml
(#207) Variable "question_type" must not contain underscores.
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) No space found before comment text; expected "// omit table name" but found "//omit table name"
(#211) Variable "question_type" must not contain underscores.
(#215) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#228) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
question/type/cloudpoodll/renderer.php
(#20) Incorrect @package tag for file renderer.php. Expected qtype_cloudpoodll, found qtype.
(#31) Missing docblock for class qtype_cloudpoodll_renderer
(#33) Missing docblock for function formulation_and_controls
(#52) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#61) Missing docblock for function class_name
(#65) Missing docblock for function replace_url_filext
(#65) Expected 1 space before opening brace; found 0
(#70) Missing docblock for function fetch_fileext_from_mimetype
(#70) Expected 1 space before opening brace; found 0
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Line indented incorrectly; expected 8 spaces, found 12
(#74) Expected "if (...) {\n"; found "if(...){"
(#74) Closing brace must be on a line by itself
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) No space found before comment text; expected "// in the case of a string like this:" but found "//in the case of a string like this:"
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Line indented incorrectly; expected 8 spaces, found 12
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#78) Expected 1 space before "!=="; 0 found
(#78) Expected 1 space after "!=="; 0 found
(#80) Line indented incorrectly; expected 8 spaces, found 12
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) No space found before comment text; expected "// search on mimetype and add the corresponding file extension" but found "//search on mimetype and add the corresponding file extension"
(#83) Line indented incorrectly; expected 8 spaces, found 12
(#84) Line indented incorrectly; expected 12 spaces, found 16
(#87) Line indented incorrectly; expected 12 spaces, found 16
(#90) Line indented incorrectly; expected 12 spaces, found 16
(#93) Line indented incorrectly; expected 12 spaces, found 16
(#96) Line indented incorrectly; expected 12 spaces, found 16
(#99) Line indented incorrectly; expected 12 spaces, found 16
(#102) Line indented incorrectly; expected 12 spaces, found 16
(#105) Line indented incorrectly; expected 12 spaces, found 16
(#108) Line indented incorrectly; expected 12 spaces, found 16
(#111) Line indented incorrectly; expected 12 spaces, found 16
(#112) Line indented incorrectly; expected 12 spaces, found 16
(#113) Line indented incorrectly; expected 12 spaces, found 16
(#116) Line indented incorrectly; expected 12 spaces, found 16
(#119) Line indented incorrectly; expected 12 spaces, found 16
(#122) Line indented incorrectly; expected 12 spaces, found 16
(#125) Line indented incorrectly; expected 12 spaces, found 16
(#128) Line indented incorrectly; expected 12 spaces, found 16
(#129) Line indented incorrectly; expected 12 spaces, found 16
(#132) Line indented incorrectly; expected 12 spaces, found 16
(#133) Line indented incorrectly; expected 12 spaces, found 16
(#136) Line indented incorrectly; expected 12 spaces, found 16
(#139) Line indented incorrectly; expected 12 spaces, found 16
(#142) Line indented incorrectly; expected 8 spaces, found 12
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) No space found before comment text; expected "// if we get here we have an unknown mime type, just guess based on the mediatype" but found "//if we get here we have an unknown mime type, just guess based on the mediatype"
(#144) Line indented incorrectly; expected 8 spaces, found 12
(#144) Expected "if (...) {\n"; found "if(...){\n"
(#144) Expected 1 space before "==="; 0 found
(#144) Expected 1 space after "==="; 0 found
(#145) Line indented incorrectly; expected 12 spaces, found 16
(#145) Expected "if (...) {\n"; found "if(...){\n"
(#145) Expected 1 space before "!=="; 0 found
(#145) Expected 1 space after "!=="; 0 found
(#147) Line indented incorrectly; expected 12 spaces, found 16
(#147) Expected "} else {\n"; found "}else{\n"
(#149) Line indented incorrectly; expected 12 spaces, found 16
(#150) Line indented incorrectly; expected 8 spaces, found 12
(#155) Missing docblock for function response_area_read_only
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Variable "have_subtitles" must not contain underscores.
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Variable "have_subtitles" must not contain underscores.
(#177) Variable "have_subtitles" must not contain underscores.
(#180) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Expected "if (...) {\n"; found "if(...) {\n"
(#190) Variable "have_subtitles" must not contain underscores.
(#193) No space found before comment text; expected "// It's all very well having subtitles or transcript , but we also check if the teacher or student is intended to see them." but found "//It's all very well having subtitles or transcript , but we also check if the teacher or student is intended to see them."
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) No space found before comment text; expected "// are we a person who can grade, ie a teacher" but found "//are we a person who can grade, ie a teacher"
(#195) Expected 1 space before "="; 0 found
(#195) Expected 1 space after "="; 0 found
(#196) Expected "if (...) {\n"; found "if(...){\n"
(#196) Commas (,) must be followed by white space.
(#197) Expected 1 space before "="; 0 found
(#197) Expected 1 space after "="; 0 found
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) No space found before comment text; expected "// if not a teacher and student player is default, then no subtitles" but found "//if not a teacher and student player is default, then no subtitles"
(#200) Expected "if (...) {\n"; found "if(...){\n"
(#201) Variable "have_subtitles" must not contain underscores.
(#201) Expected 1 space before "="; 0 found
(#201) Expected 1 space after "="; 0 found
(#202) Expected 1 space before "="; 0 found
(#202) Expected 1 space after "="; 0 found
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Line indented incorrectly; expected at least 12 spaces, found 8
(#203) No space found before comment text; expected "// if is a teacher and teacher player is default, then no subtitles" but found "//if is a teacher and teacher player is default, then no subtitles"
(#204) Usage of ELSEIF not allowed; use ELSE IF instead
(#205) Variable "have_subtitles" must not contain underscores.
(#205) Expected 1 space before "="; 0 found
(#205) Expected 1 space after "="; 0 found
(#206) Expected 1 space before "="; 0 found
(#206) Expected 1 space after "="; 0 found
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Variable "ret_html" must not contain underscores.
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Variable "player_div" must not contain underscores.
(#213) Variable "have_subtitles" must not contain underscores.
(#214) Variable "ret_html" must not contain underscores.
(#214) Variable "player_div" must not contain underscores.
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Empty IF statement detected
(#217) Variable "have_subtitles" must not contain underscores.
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// do nothing" but found "//do nothing"
(#219) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#219) Expected "if (...) {\n"; found "if(...) {\n"
(#220) Variable "ret_html" must not contain underscores.
(#220) Short array syntax must be used to define arrays
(#221) Expected "} else {\n"; found "}else{\n"
(#221) Empty ELSE statement detected
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) No space found before comment text; expected "// do nothing" but found "//do nothing"
(#225) Inline comments must start with a capital letter, digit or 3-dots sequence
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) No space found before comment text; expected "// make sure the json and details are properly formed" but found "//make sure the json and details are properly formed"
(#227) Expected "if (...) {\n"; found "if(...){\n"
(#228) Expected 1 space before "="; 0 found
(#228) Expected 1 space after "="; 0 found
(#230) Expected "if (...) {\n"; found "if(...) {\n"
(#230) Expected 1 space before ">"; 0 found
(#230) Expected 1 space after ">"; 0 found
(#231) Expected 1 space before "="; 0 found
(#232) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// this is a hack that allows mustache to show the output specific to the event" but found "//this is a hack that allows mustache to show the output specific to the event"
(#234) Expected 1 space before "="; 0 found
(#234) Expected 1 space after "="; 0 found
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) No space found before comment text; expected "// we store the mime type from the upload commenced event" but found "//we store the mime type from the upload commenced event"
(#236) Expected "if (...) {\n"; found "if(...){\n"
(#239) Expected "if (...) {\n"; found "if(...){\n"
(#241) Expected "if (...) {\n"; found "if(...) {\n"
(#244) Expected 1 space before "="; 0 found
(#247) Expected "if (...) {\n"; found "if(...){\n"
(#248) Expected 1 space before "="; 0 found
(#251) Variable "details_div" must not contain underscores.
(#252) Variable "ret_html" must not contain underscores.
(#252) Variable "details_div" must not contain underscores.
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) No space found before comment text; expected "// return html" but found "//return html"
(#258) Variable "ret_html" must not contain underscores.
(#260) No space found before comment text; expected "// Do this for testing fetch and process of transcript via ad hoc task." but found "//Do this for testing fetch and process of transcript via ad hoc task."
(#261) No space found before comment text; expected "// but we do not do that." but found "//but we do not do that."
(#262) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) No space found before comment text; expected "// utils::register_fetch_transcript_task($url,$qa,$step);" but found "//utils::register_fetch_transcript_task($url,$qa,$step);"
(#265) Missing docblock for function response_area_input
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#267) This comment is 60% valid code; is this commented out code?
(#267) No space found before comment text; expected "// $name = "answer"" but found "//$name = "answer""
(#269) Inline comments must start with a capital letter, digit or 3-dots sequence
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) No space found before comment text; expected "// The recorder status field" but found "//The recorder status field"
(#275) Expected 1 space before "="; 0 found
(#275) Expected 1 space after "="; 0 found
(#276) Expected "if (...) {\n"; found "if(...) {\n"
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) No space found before comment text; expected "// we get the last event." but found "//we get the last event."
(#281) Expected 1 space before "="; 0 found
(#281) Expected 1 space after "="; 0 found
(#282) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) No space found before comment text; expected "// but we want the last event, that saved a recording if we have one" but found "//but we want the last event, that saved a recording if we have one"
(#283) Expected "for (...) {\n"; found "for(...) {\n"
(#283) Whitespace found after opening bracket of FOR loop
(#283) Expected 1 space before "="; 0 found
(#283) Expected 1 space after "="; 0 found
(#283) Expected 1 space before "-"; 0 found
(#283) Expected 1 space after "-"; 0 found
(#283) Expected 1 space after ">="; 0 found
(#286) Expected 1 space after "="; 0 found
(#290) Expected 1 space before "="; 0 found
(#290) Expected 1 space after "="; 0 found
(#291) Expected 1 space before "="; 0 found
(#291) Expected 1 space after "="; 0 found
(#292) Expected 1 space before "="; 0 found
(#292) Expected 1 space after "="; 0 found
(#292) Line exceeds 132 characters; contains 151 characters
(#292) Inline comments must start with a capital letter, digit or 3-dots sequence
(#292) This comment is 56% valid code; is this commented out code?
(#292) No space found before comment text; expected "// "filesubmitted" "recordingstarted" "recordingstopped" "uploadcommenced" "awaitingconversion"" but found "//"filesubmitted" "recordingstarted" "recordingstopped" "uploadcommenced" "awaitingconversion""
(#296) Expected 1 space before "="; 0 found
(#298) Inline comments must start with a capital letter, digit or 3-dots sequence
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) Variable "answerstatus_container" must not contain underscores.
(#299) Commas (,) must be followed by white space.
(#299) Commas (,) must be followed by white space.
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) No space found before comment text; expected "// Answer field" but found "//Answer field"
(#302) Variable "use_answer" must not contain underscores.
(#303) Variable "use_answer" must not contain underscores.
(#305) Short array syntax must be used to define arrays
(#307) Variable "use_answer" must not contain underscores.
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#310) Variable "use_mediaurl" must not contain underscores.
(#311) Variable "use_mediaurl" must not contain underscores.
(#313) Short array syntax must be used to define arrays
(#315) Variable "use_mediaurl" must not contain underscores.
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) Variable "use_transcript" must not contain underscores.
(#319) Variable "use_transcript" must not contain underscores.
(#321) Short array syntax must be used to define arrays
(#323) Variable "use_transcript" must not contain underscores.
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Variable "use_details" must not contain underscores.
(#327) Variable "use_details" must not contain underscores.
(#329) Short array syntax must be used to define arrays
(#331) Variable "use_details" must not contain underscores.
(#333) Inline comments must start with a capital letter, digit or 3-dots sequence
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Variable "answerstatus_container" must not contain underscores.
(#341) Expected 1 space before opening brace; found 0
(#343) Expected 1 space before "="; 0 found
(#343) Expected 1 space after "="; 0 found
(#351) global $PAGE cannot be used in renderers. Use $this->page.
(#355) No space found before comment text; expected "// For right to left languages we want to add the RTL direction and right justify." but found "//For right to left languages we want to add the RTL direction and right justify."
(#367) Variable "p_options" must not contain underscores.
(#368) Variable "p_options" must not contain underscores.
(#368) Expected 1 space before "="; 0 found
(#368) Expected 1 space after "="; 0 found
(#369) Variable "p_options" must not contain underscores.
(#369) Expected 1 space before "="; 0 found
(#369) Expected 1 space after "="; 0 found
(#370) Variable "p_options" must not contain underscores.
(#370) Expected 1 space before "="; 0 found
(#370) Expected 1 space after "="; 0 found
(#371) Variable "p_options" must not contain underscores.
(#371) Expected 1 space before "="; 0 found
(#371) Expected 1 space after "="; 0 found
(#372) Variable "p_options" must not contain underscores.
(#372) Expected 1 space before "="; 0 found
(#372) Expected 1 space after "="; 0 found
(#373) Variable "p_options" must not contain underscores.
(#373) Expected 1 space before "="; 0 found
(#373) Expected 1 space after "="; 0 found
(#374) Variable "p_options" must not contain underscores.
(#374) Expected 1 space before "="; 0 found
(#374) Expected 1 space after "="; 0 found
(#375) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) No space found before comment text; expected "// transcript bits" but found "//transcript bits"
(#377) Variable "p_options" must not contain underscores.
(#378) Variable "p_options" must not contain underscores.
(#379) Variable "p_options" must not contain underscores.
(#380) Variable "p_options" must not contain underscores.
(#381) global $PAGE cannot be used in renderers. Use $this->page.
(#381) Short array syntax must be used to define arrays
(#381) Variable "p_options" must not contain underscores.
(#382) global $PAGE cannot be used in renderers. Use $this->page.
(#382) Short array syntax must be used to define arrays
(#383) Expected "} else {\n"; found "}else{\n"
(#384) Variable "p_options" must not contain underscores.
(#384) Expected 1 space before "="; 0 found
(#387) Expected "if (...) {\n"; found "if(...) {\n"
(#388) Variable "p_options" must not contain underscores.
(#389) Expected "} else {\n"; found "}else{\n"
(#390) Variable "p_options" must not contain underscores.
(#400) Variable "r_options" must not contain underscores.
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) Inline comments must start with a capital letter, digit or 3-dots sequence
(#451) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) No space found before comment text; expected "// transcription defaults" but found "//transcription defaults"
(#454) Expected 1 space before "="; 0 found
(#454) Expected 1 space after "="; 0 found
(#457) Inline comments must start with a capital letter, digit or 3-dots sequence
(#457) Inline comments must end in full-stops, exclamation marks, or question marks
(#457) No space found before comment text; expected "// branch based on which transcriber we are using" but found "//branch based on which transcriber we are using"
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) Variable "can_transcribe" must not contain underscores.
(#461) Variable "r_options" must not contain underscores.
(#462) Variable "can_transcribe" must not contain underscores.
(#465) Expected "} else {\n"; found "} else{\n"
(#470) Inline comments must start with a capital letter, digit or 3-dots sequence
(#470) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) Inline comments must start with a capital letter, digit or 3-dots sequence
(#475) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) No space found before comment text; expected "// google cloud speech" but found "//google cloud speech"
(#477) Inline comments must start with a capital letter, digit or 3-dots sequence
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) No space found before comment text; expected "// we can not use google cloud speech for video, so do not even try" but found "//we can not use google cloud speech for video, so do not even try"
(#478) Expected "if (...) {\n"; found "if(...){\n"
(#481) Expected "} else {\n"; found "}else {\n"
(#492) Inline comments must start with a capital letter, digit or 3-dots sequence
(#492) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Inline comments must start with a capital letter, digit or 3-dots sequence
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#498) Inline comments must start with a capital letter, digit or 3-dots sequence
(#498) Inline comments must end in full-stops, exclamation marks, or question marks
(#499) Variable "api_user" must not contain underscores.
(#500) Variable "api_secret" must not contain underscores.
(#501) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#503) Inline comments must start with a capital letter, digit or 3-dots sequence
(#503) Inline comments must end in full-stops, exclamation marks, or question marks
(#503) No space found before comment text; expected "// id user has errors with tokens or cloudpoodll API send those back" but found "//id user has errors with tokens or cloudpoodll API send those back"
(#504) Expected "if (...) {\n"; found "if(...){\n"
(#504) Variable "api_user" must not contain underscores.
(#504) Variable "api_secret" must not contain underscores.
(#505) Commas (,) must be followed by white space.
(#510) Expected "} else {\n"; found "}else{\n"
(#511) Inline comments must start with a capital letter, digit or 3-dots sequence
(#511) Inline comments must end in full-stops, exclamation marks, or question marks
(#511) No space found before comment text; expected "// fetch token" but found "//fetch token"
(#512) Variable "api_user" must not contain underscores.
(#512) Variable "api_secret" must not contain underscores.
(#514) Inline comments must start with a capital letter, digit or 3-dots sequence
(#514) Inline comments must end in full-stops, exclamation marks, or question marks
(#514) No space found before comment text; expected "// check token authenticated and no errors in it" but found "//check token authenticated and no errors in it"
(#516) Expected "if (...) {\n"; found "if(...){\n"
(#521) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#523) Inline comments must start with a capital letter, digit or 3-dots sequence
(#523) Inline comments must end in full-stops, exclamation marks, or question marks
(#524) Variable "string_hints" must not contain underscores.
(#526) Inline comments must start with a capital letter, digit or 3-dots sequence
(#526) Inline comments must end in full-stops, exclamation marks, or question marks
(#527) Variable "dom_id" must not contain underscores.
(#528) Whitespace found at end of line
(#529) Variable "t_options" must not contain underscores.
(#529) Expected 1 space before "="; 0 found
(#530) Variable "t_options" must not contain underscores.
(#530) Expected 1 space after "="; 0 found
(#530) Variable "dom_id" must not contain underscores.
(#531) Variable "t_options" must not contain underscores.
(#531) Variable "dom_id" must not contain underscores.
(#532) Variable "t_options" must not contain underscores.
(#532) Expected 1 space before "="; 0 found
(#532) Expected 1 space after "="; 0 found
(#533) Variable "t_options" must not contain underscores.
(#533) Expected 1 space before "="; 0 found
(#533) Commas (,) must be followed by white space.
(#534) Variable "t_options" must not contain underscores.
(#534) Expected 1 space before "="; 0 found
(#535) Variable "t_options" must not contain underscores.
(#535) Expected 1 space before "="; 0 found
(#536) Variable "t_options" must not contain underscores.
(#536) Expected 1 space before "="; 0 found
(#537) Variable "t_options" must not contain underscores.
(#537) Expected 1 space before "="; 0 found
(#538) Variable "t_options" must not contain underscores.
(#538) Expected 1 space before "="; 0 found
(#539) Variable "t_options" must not contain underscores.
(#539) Expected 1 space before "="; 0 found
(#540) Variable "t_options" must not contain underscores.
(#540) Expected 1 space before "="; 0 found
(#541) Variable "t_options" must not contain underscores.
(#541) Expected 1 space before "="; 0 found
(#542) Variable "t_options" must not contain underscores.
(#542) Expected 1 space before "="; 0 found
(#543) Variable "t_options" must not contain underscores.
(#543) Expected 1 space before "="; 0 found
(#544) Variable "t_options" must not contain underscores.
(#544) Expected 1 space before "="; 0 found
(#545) Variable "t_options" must not contain underscores.
(#545) Expected 1 space before "="; 0 found
(#546) Variable "t_options" must not contain underscores.
(#546) Expected 1 space before "="; 0 found
(#547) Variable "t_options" must not contain underscores.
(#547) Expected 1 space before "="; 0 found
(#548) Variable "t_options" must not contain underscores.
(#548) Expected 1 space before "="; 0 found
(#548) Variable "r_options" must not contain underscores.
(#549) Variable "t_options" must not contain underscores.
(#549) Expected 1 space before "="; 0 found
(#549) Variable "r_options" must not contain underscores.
(#550) Variable "t_options" must not contain underscores.
(#550) Expected 1 space before "="; 0 found
(#550) Variable "string_hints" must not contain underscores.
(#551) Variable "t_options" must not contain underscores.
(#551) Expected 1 space before "="; 0 found
(#553) Expected "if (...) {\n"; found "if(...) {\n"
(#553) Expected 1 space after "=="; 0 found
(#554) Variable "t_options" must not contain underscores.
(#554) Expected 1 space before "="; 0 found
(#554) Expected 1 space after "="; 0 found
(#555) Variable "t_options" must not contain underscores.
(#556) Expected "} else {\n"; found "}else{\n"
(#557) Variable "t_options" must not contain underscores.
(#557) Expected 1 space before "="; 0 found
(#557) Expected 1 space after "="; 0 found
(#558) Variable "t_options" must not contain underscores.
(#561) Inline comments must start with a capital letter, digit or 3-dots sequence
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#562) Short array syntax must be used to define arrays
(#564) Variable "dom_id" must not contain underscores.
(#567) There should be a comma after the last array item in a multi-line array.
(#570) Short array syntax must be used to define arrays
(#585) Missing docblock for function manual_comment
(#593) Short array syntax must be used to define arrays
(#605) Missing docblock for function class_name
(#617) Missing docblock for function class_name
question/type/cloudpoodll/settings.php
(#38) Variable "cloudpoodll_apiuser" must not contain underscores.
(#38) Expected 1 space before "="; 0 found
(#38) Expected 1 space after "="; 0 found
(#38) Commas (,) must be followed by white space.
(#39) Variable "cloudpoodll_apisecret" must not contain underscores.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#39) Commas (,) must be followed by white space.
(#40) Variable "show_below_apisecret" must not contain underscores.
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Line indented incorrectly; expected at least 4 spaces, found 0
(#41) No space found before comment text; expected "// if we have an API user and secret we fetch token" but found "//if we have an API user and secret we fetch token"
(#42) Expected "if (...) {\n"; found "if(...) {\n"
(#42) Variable "cloudpoodll_apiuser" must not contain underscores.
(#42) Variable "cloudpoodll_apisecret" must not contain underscores.
(#43) Variable "cloudpoodll_apiuser" must not contain underscores.
(#43) Variable "cloudpoodll_apisecret" must not contain underscores.
(#44) Variable "show_below_apisecret" must not contain underscores.
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Line indented incorrectly; expected at least 8 spaces, found 0
(#45) No space found before comment text; expected "// if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link" but found "//if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link"
(#46) Expected "} else {\n"; found "}else{\n"
(#47) Expected 1 space before "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#48) Variable "cp_components" must not contain underscores.
(#48) Expected 1 space before "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Line exceeds 132 characters; contains 133 characters
(#49) Commas (,) must be followed by white space.
(#50) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#50) Variable "cp_components" must not contain underscores.
(#50) Variable "cp_component" must not contain underscores.
(#51) Variable "cp_component" must not contain underscores.
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#57) Expected 1 space before "="; 0 found
(#57) Expected 1 space after "="; 0 found
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#64) Variable "cloudpoodll_apiuser" must not contain underscores.
(#64) Expected 1 space before "="; 0 found
(#64) Expected 1 space after "="; 0 found
(#64) Variable "cp_component" must not contain underscores.
(#64) Commas (,) must be followed by white space.
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#65) Variable "cloudpoodll_apiuser" must not contain underscores.
(#66) Variable "cloudpoodll_apisecret" must not contain underscores.
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#66) Variable "cp_component" must not contain underscores.
(#66) Commas (,) must be followed by white space.
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#67) Variable "cloudpoodll_apisecret" must not contain underscores.
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#68) Variable "cloudpoodll_apiuser" must not contain underscores.
(#69) Expected 1 space before "="; 0 found
(#69) Expected 1 space after "="; 0 found
(#69) Variable "cloudpoodll_apisecret" must not contain underscores.
(#74) Variable "show_below_apisecret" must not contain underscores.
(#74) Expected 1 space before "="; 0 found
(#74) Expected 1 space after "="; 0 found
(#74) Commas (,) must be followed by white space.
(#79) Variable "show_below_apisecret" must not contain underscores.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// apicredshelper" but found "//apicredshelper"
(#82) This comment is 65% valid code; is this commented out code?
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Short array syntax must be used to define arrays
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Short array syntax must be used to define arrays
(#167) File must end with a newline character
question/type/cloudpoodll/simpletest/testquestion.php
(#20) Incorrect @package tag for file testquestion.php. Expected qtype_cloudpoodll, found qtype.
(#37) Missing docblock for function test_get_question_summary
(#43) Missing docblock for function test_summarise_response
(#47) Short array syntax must be used to define arrays
question/type/cloudpoodll/simpletest/testquestiontype.php
(#20) Incorrect @package tag for file testquestiontype.php. Expected qtype_cloudpoodll, found qtype.
(#37) Missing member variable doc comment
(#39) Missing docblock for function setUp
(#43) Missing docblock for function tearDown
(#47) Missing docblock for function get_test_question_data
(#54) Missing docblock for function test_name
(#58) Missing docblock for function test_can_analyse_responses
(#62) Missing docblock for function test_get_random_guess_score
(#67) Missing docblock for function test_get_possible_responses
(#69) Short array syntax must be used to define arrays
question/type/cloudpoodll/version.php
(#20) Incorrect @package tag for file version.php. Expected qtype_cloudpoodll, found qtype.
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// moodle 3.1.0" but found "//moodle 3.1.0"

Javascript coding style problems

(45 errors, 232 warnings)

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

question/type/cloudpoodll/amd/src/cloudpoodllhelper.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#12) ["component"] is better written in dot notation. (dot-notation)
(#13) Identifier 'data_id' is not in camel case. (camelcase)
(#13) ["data_id"] is better written in dot notation. (dot-notation)
(#14) ["inputname"] is better written in dot notation. (dot-notation)
(#15) ["transcriber"] is better written in dot notation. (dot-notation)
(#16) Operator '=' must be spaced. (space-infix-ops)
(#17) ["safesave"] is better written in dot notation. (dot-notation)
(#19) Comments should not begin with a lowercase character. (capitalized-comments)
(#19) Expected space or tab after '//' in comment. (spaced-comment)
(#30) Operator '=' must be spaced. (space-infix-ops)
(#32) Comments should not begin with a lowercase character. (capitalized-comments)
(#32) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Operator '=' must be spaced. (space-infix-ops)
(#37) Comments should not begin with a lowercase character. (capitalized-comments)
(#37) Expected space or tab after '//' in comment. (spaced-comment)
(#38) Requires a space after '{'. (block-spacing)
(#38) Statement inside of curly braces should be on next line. (brace-style)
(#38) Missing space before opening brace. (space-before-blocks)
(#38) Requires a space before '}'. (block-spacing)
(#38) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#39) Comments should not begin with a lowercase character. (capitalized-comments)
(#39) Expected space or tab after '//' in comment. (spaced-comment)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#52) Comments should not begin with a lowercase character. (capitalized-comments)
(#52) Expected space or tab after '//' in comment. (spaced-comment)
(#53) Expected space(s) after "if". (keyword-spacing)
(#53) Operator '==' must be spaced. (space-infix-ops)
(#55) Expected space or tab after '//' in comment. (spaced-comment)
(#70) Comments should not begin with a lowercase character. (capitalized-comments)
(#74) Comments should not begin with a lowercase character. (capitalized-comments)
(#74) Expected space or tab after '//' in comment. (spaced-comment)
(#75) Expected space(s) after "if". (keyword-spacing)
(#75) Operator '==' must be spaced. (space-infix-ops)
(#77) Comments should not begin with a lowercase character. (capitalized-comments)
(#77) Expected space or tab after '//' in comment. (spaced-comment)
(#84) Unexpected alert. (no-alert)
(#87) Comments should not begin with a lowercase character. (capitalized-comments)
(#87) Expected space or tab after '//' in comment. (spaced-comment)
(#89) Comments should not begin with a lowercase character. (capitalized-comments)
(#89) Expected space or tab after '//' in comment. (spaced-comment)
(#92) Missing space before opening brace. (space-before-blocks)
(#95) Return statement should not contain assignment. (no-return-assign)
(#98) Identifier 'register_events' is not in camel case. (camelcase)
(#98) Unexpected space before function parentheses. (space-before-function-paren)
(#98) 'config' is defined but never used. (no-unused-vars)
(#99) Comments should not begin with a lowercase character. (capitalized-comments)
(#99) Expected space or tab after '//' in comment. (spaced-comment)
(#102) A space is required after ','. (comma-spacing)
(#102) A space is required after ','. (comma-spacing)
(#102) Missing space before opening brace. (space-before-blocks)
(#103) Comments should not begin with a lowercase character. (capitalized-comments)
(#103) Expected space or tab after '//' in comment. (spaced-comment)
(#104) Expected space(s) after "if". (keyword-spacing)
(#104) Operator '>' must be spaced. (space-infix-ops)
(#104) Missing space before opening brace. (space-before-blocks)
(#105) Comments should not begin with a lowercase character. (capitalized-comments)
(#105) Expected space or tab after '//' in comment. (spaced-comment)
(#106) Operator '=' must be spaced. (space-infix-ops)
(#107) Identifier 'json_string' is not in camel case. (camelcase)
(#107) Operator '=' must be spaced. (space-infix-ops)
(#108) Expected space(s) after "if". (keyword-spacing)
(#108) Identifier 'json_string' is not in camel case. (camelcase)
(#108) Operator '!==' must be spaced. (space-infix-ops)
(#108) Identifier 'json_string' is not in camel case. (camelcase)
(#108) Operator '!==' must be spaced. (space-infix-ops)
(#108) Missing space before opening brace. (space-before-blocks)
(#112) Missing semicolon. (@babel/semi)
(#115) Comments should not begin with a lowercase character. (capitalized-comments)
(#115) Expected space or tab after '//' in comment. (spaced-comment)
(#116) Operator '=' must be spaced. (space-infix-ops)
(#116) Missing semicolon. (@babel/semi)
(#117) Operator '=' must be spaced. (space-infix-ops)
(#118) Unexpected whitespace before semicolon. (semi-spacing)
(#119) Expected space(s) after "switch". (keyword-spacing)
(#119) Missing space before opening brace. (space-before-blocks)
(#121) Operator '=' must be spaced. (space-infix-ops)
(#129) Operator '=' must be spaced. (space-infix-ops)
(#130) Operator '=' must be spaced. (space-infix-ops)
(#143) Comments should not begin with a lowercase character. (capitalized-comments)
(#143) Expected space or tab after '//' in comment. (spaced-comment)
(#146) Comments should not begin with a lowercase character. (capitalized-comments)
(#146) Expected space or tab after '//' in comment. (spaced-comment)
(#147) Missing semicolon. (@babel/semi)
(#150) Comments should not begin with a lowercase character. (capitalized-comments)
(#150) Expected space or tab after '//' in comment. (spaced-comment)
(#151) Operator '=' must be spaced. (space-infix-ops)
(#152) Operator '=' must be spaced. (space-infix-ops)
(#153) Expected catch,fail,always() or return (promise/catch-or-return)
(#153) A space is required after ','. (comma-spacing)
(#154) Each then() should return a value or throw (promise/always-return)
(#154) A space is required after ','. (comma-spacing)
(#154) 'js' is defined but never used. (no-unused-vars)
(#154) Missing space before opening brace. (space-before-blocks)
(#161) Comments should not begin with a lowercase character. (capitalized-comments)
(#161) Expected space or tab after '//' in comment. (spaced-comment)
question/type/cloudpoodll/amd/src/cloudpoodllloader.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#6) Comments should not begin with a lowercase character. (capitalized-comments)
(#6) Expected space or tab after '//' in comment. (spaced-comment)
(#7) Missing space before opening brace. (space-before-blocks)
(#8) A space is required after ','. (comma-spacing)
(#8) A space is required after ','. (comma-spacing)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#15) Unexpected space before function parentheses. (space-before-function-paren)
question/type/cloudpoodll/amd/src/interactivetranscript.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#10) ["component"] is better written in dot notation. (dot-notation)
(#11) ["playerid"] is better written in dot notation. (dot-notation)
(#12) ["containerid"] is better written in dot notation. (dot-notation)
(#13) ["cssprefix"] is better written in dot notation. (dot-notation)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Comments should not begin with a lowercase character. (capitalized-comments)
(#39) Expected { after 'if' condition. (curly)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#39) 'element' is defined but never used. (no-unused-vars)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Expected { after 'if' condition. (curly)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected empty function. (no-empty-function)
(#60) Unexpected space before function parentheses. (space-before-function-paren)
(#65) A function with a name starting with an uppercase letter should only be used as a constructor. (@babel/new-cap)
(#75) Comments should not begin with a lowercase character. (capitalized-comments)
(#78) Array prototype is read only, properties should not be added. (no-extend-native)
(#78) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Use '===' to compare with null. (no-eq-null)
(#84) Unexpected use of '>>>'. (no-bitwise)
(#103) Comments should not begin with a lowercase character. (capitalized-comments)
(#104) Expected space or tab after '/*' in comment. (spaced-comment)
(#106) Unexpected space before function parentheses. (space-before-function-paren)
(#109) Missing semicolon. (@babel/semi)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Unexpected space before function parentheses. (space-before-function-paren)
(#112) Missing semicolon. (@babel/semi)
(#113) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#114) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#117) Missing semicolon. (@babel/semi)
(#120) Missing semicolon. (@babel/semi)
(#121) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#124) Missing semicolon. (@babel/semi)
(#125) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#127) A constructor name should not start with a lowercase letter. (@babel/new-cap)
(#127) Missing semicolon. (@babel/semi)
(#130) A constructor name should not start with a lowercase letter. (@babel/new-cap)
(#130) Missing semicolon. (@babel/semi)
(#132) Missing semicolon. (@babel/semi)
(#133) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#133) Unexpected space before function parentheses. (space-before-function-paren)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#136) Missing semicolon. (@babel/semi)
(#138) Unexpected space before function parentheses. (space-before-function-paren)
(#139) Missing semicolon. (@babel/semi)
(#140) Missing semicolon. (@babel/semi)
(#141) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#141) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#141) Unexpected space before function parentheses. (space-before-function-paren)
(#142) A constructor name should not start with a lowercase letter. (@babel/new-cap)
(#142) Missing semicolon. (@babel/semi)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#146) Missing semicolon. (@babel/semi)
(#148) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Missing semicolon. (@babel/semi)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#158) Missing semicolon. (@babel/semi)
(#162) Missing semicolon. (@babel/semi)
(#165) Unexpected space before function parentheses. (space-before-function-paren)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#172) Missing semicolon. (@babel/semi)
(#176) Missing semicolon. (@babel/semi)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#181) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#183) Missing semicolon. (@babel/semi)
(#185) Missing semicolon. (@babel/semi)
(#187) Unexpected space before function parentheses. (space-before-function-paren)
(#188) Missing semicolon. (@babel/semi)
(#193) Missing semicolon. (@babel/semi)
(#197) Missing semicolon. (@babel/semi)
(#202) Missing semicolon. (@babel/semi)
(#205) Missing semicolon. (@babel/semi)
(#207) A space is required after ','. (comma-spacing)
(#207) Comments should not begin with a lowercase character. (capitalized-comments)
(#207) Expected space or tab after '//' in comment. (spaced-comment)
(#213) Comments should not begin with a lowercase character. (capitalized-comments)
(#213) Expected space or tab after '//' in comment. (spaced-comment)
(#214) Comments should not begin with a lowercase character. (capitalized-comments)
(#214) Expected space or tab after '//' in comment. (spaced-comment)
(#215) Comments should not begin with a lowercase character. (capitalized-comments)
(#215) Expected space or tab after '//' in comment. (spaced-comment)
(#217) Comments should not begin with a lowercase character. (capitalized-comments)
(#217) Expected space or tab after '//' in comment. (spaced-comment)
(#218) Comments should not begin with a lowercase character. (capitalized-comments)
(#218) Expected space or tab after '//' in comment. (spaced-comment)
(#221) Expected space or tab after '/*' in comment. (spaced-comment)
(#224) Unexpected space before function parentheses. (space-before-function-paren)
(#235) Unexpected space before function parentheses. (space-before-function-paren)
(#238) Unexpected space before function parentheses. (space-before-function-paren)
(#244) Unexpected space before function parentheses. (space-before-function-paren)
(#270) Unexpected space before function parentheses. (space-before-function-paren)
(#279) Unexpected space before function parentheses. (space-before-function-paren)
(#280) Unexpected space before function parentheses. (space-before-function-paren)
(#283) Unexpected space before function parentheses. (space-before-function-paren)
(#288) Comments should not begin with a lowercase character. (capitalized-comments)
(#298) Unexpected space before function parentheses. (space-before-function-paren)
(#301) Unexpected space before function parentheses. (space-before-function-paren)
(#305) Unexpected space before function parentheses. (space-before-function-paren)
(#317) Unexpected space before function parentheses. (space-before-function-paren)
(#321) Comments should not begin with a lowercase character. (capitalized-comments)
(#321) Expected space or tab after '//' in comment. (spaced-comment)
(#329) Unexpected space before function parentheses. (space-before-function-paren)
(#334) Unexpected space before function parentheses. (space-before-function-paren)
(#345) Unexpected space before function parentheses. (space-before-function-paren)
(#358) Unexpected space before function parentheses. (space-before-function-paren)
(#361) 'parentOffsetBottom' is assigned a value but never used. (no-unused-vars)
(#367) Comments should not begin with a lowercase character. (capitalized-comments)
(#376) Expected space or tab after '//' in comment. (spaced-comment)
(#403) Unexpected space before function parentheses. (space-before-function-paren)
(#405) Comments should not begin with a lowercase character. (capitalized-comments)
(#405) Expected space or tab after '//' in comment. (spaced-comment)
(#410) Unexpected space before function parentheses. (space-before-function-paren)
(#419) Missing semicolon. (@babel/semi)
(#422) Unexpected space before function parentheses. (space-before-function-paren)
(#426) Expected space or tab after '/*' in comment. (spaced-comment)
(#426) 'config' is defined but never used. (no-unused-vars)
(#427) Unexpected space before function parentheses. (space-before-function-paren)
(#430) Unexpected space before function parentheses. (space-before-function-paren)
(#442) Unexpected space before function parentheses. (space-before-function-paren)
(#451) Comments should not begin with a lowercase character. (capitalized-comments)
(#457) Expected space or tab after '/*' in comment. (spaced-comment)
(#457) 'utils' is defined but never used. (no-unused-vars)
(#457) 'scrollable' is defined but never used. (no-unused-vars)
(#458) Unexpected space before function parentheses. (space-before-function-paren)
(#463) Unexpected space before function parentheses. (space-before-function-paren)
(#466) Unexpected space before function parentheses. (space-before-function-paren)
(#469) Unexpected space before function parentheses. (space-before-function-paren)
(#474) Unexpected space before function parentheses. (space-before-function-paren)
(#476) Unexpected space before function parentheses. (space-before-function-paren)
(#482) Unexpected space before function parentheses. (space-before-function-paren)
(#482) 'e' is defined but never used. (no-unused-vars)
(#488) Unexpected space before function parentheses. (space-before-function-paren)
(#491) Comments should not begin with a lowercase character. (capitalized-comments)
(#492) Comments should not begin with a lowercase character. (capitalized-comments)
(#499) Unexpected space before function parentheses. (space-before-function-paren)
(#511) Unexpected space before function parentheses. (space-before-function-paren)
(#518) Comments should not begin with a lowercase character. (capitalized-comments)
(#525) Unexpected space before function parentheses. (space-before-function-paren)
(#544) Unexpected space before function parentheses. (space-before-function-paren)
(#562) Unexpected space before function parentheses. (space-before-function-paren)
(#565) Unexpected space before function parentheses. (space-before-function-paren)
(#566) 'active' is defined but never used. (no-unused-vars)
(#577) Comments should not begin with a lowercase character. (capitalized-comments)
(#579) This line has a length of 136. Maximum allowed is 132. (max-len)
(#588) Unexpected space before function parentheses. (space-before-function-paren)
(#601) Unexpected space before function parentheses. (space-before-function-paren)
(#611) Unexpected space before function parentheses. (space-before-function-paren)
(#614) Unexpected space before function parentheses. (space-before-function-paren)
(#629) Unexpected space before function parentheses. (space-before-function-paren)
(#636) Comments should not begin with a lowercase character. (capitalized-comments)
(#636) Expected space or tab after '//' in comment. (spaced-comment)

CSS problems

(19 errors, 2 warnings)

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

question/type/cloudpoodll/styles.css
(#154) Invalid value for "padding-bottom" (csstree/validator)
(#157) Invalid value for "padding-top" (csstree/validator)
(#160) Invalid value for "padding-top" (csstree/validator)
(#163) Expected empty line before at-rule (at-rule-empty-line-before)
(#196) Expected single space before "{" (block-opening-brace-space-before)
(#200) Expected single space before "{" (block-opening-brace-space-before)
(#204) Expected single space before "{" (block-opening-brace-space-before)
(#207) Expected single space before "{" (block-opening-brace-space-before)
(#208) Expected "#ffffff" to be "#fff" (color-hex-length)
(#113) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#114) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#115) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#116) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#121) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#122) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#123) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#124) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#154) Expected single space after "," in a single-line function (function-comma-space-after)
(#157) Expected single space after "," in a single-line function (function-comma-space-after)
(#160) Expected single space after "," in a single-line function (function-comma-space-after)
(#193) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(130 errors, 0 warnings)

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

question/type/cloudpoodll/backup/moodle2/backup_qtype_cloudpoodll_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#71) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/type/cloudpoodll/backup/moodle2/restore_qtype_cloudpoodll_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_qtype_cloudpoodll_plugin
(#46) Phpdocs for function restore_qtype_cloudpoodll_plugin::process_cloudpoodll has incomplete parameters list
question/type/cloudpoodll/classes/constants.php
(#12) Constant constants::RESPONSEFORMAT_AUDIO is not documented
(#13) Constant constants::RESPONSEFORMAT_VIDEO is not documented
(#14) Constant constants::FILEAREA_QRESOURCE is not documented
(#15) Constant constants::FILEAREA_GRADERINFO is not documented
(#16) Constant constants::M_COMP is not documented
(#17) Constant constants::M_URL is not documented
(#18) Constant constants::M_TABLE is not documented
(#19) Constant constants::M_PLUGINSETTINGS is not documented
(#21) Constant constants::APPID is not documented
(#23) Constant constants::REC_AUDIO is not documented
(#24) Constant constants::REC_VIDEO is not documented
(#26) Constant constants::SKIN_PLAIN is not documented
(#27) Constant constants::SKIN_BMR is not documented
(#28) Constant constants::SKIN_123 is not documented
(#29) Constant constants::SKIN_FRESH is not documented
(#30) Constant constants::SKIN_ONCE is not documented
(#31) Constant constants::SKIN_UPLOAD is not documented
(#32) Constant constants::SKIN_PUSH is not documented
(#33) Constant constants::SKIN_SCREEN is not documented
(#35) Constant constants::FALLBACK_UPLOAD is not documented
(#36) Constant constants::FALLBACK_IOSUPLOAD is not documented
(#37) Constant constants::FALLBACK_WARNING is not documented
(#38) Constant constants::PROCESSING is not documented
(#39) Constant constants::BLANK is not documented
(#41) Constant constants::PLAYERTYPE_DEFAULT is not documented
(#42) Constant constants::PLAYERTYPE_INTERACTIVETRANSCRIPT is not documented
(#43) Constant constants::PLAYERTYPE_STANDARDTRANSCRIPT is not documented
(#45) Constant constants::CLASS_REC_CONTAINER is not documented
(#46) Constant constants::CLASS_REC_OUTER is not documented
(#47) Constant constants::CLASS_AUDIOREC_IFRAME is not documented
(#48) Constant constants::CLASS_VIDEOREC_IFRAME is not documented
(#49) Constant constants::ID_REC is not documented
(#50) Constant constants::ID_UPDATE_CONTROL is not documented
(#51) Constant constants::NAME_UPDATE_CONTROL is not documented
(#54) Constant constants::REGION_USEAST1 is not documented
(#55) Constant constants::REGION_TOKYO is not documented
(#56) Constant constants::REGION_DUBLIN is not documented
(#57) Constant constants::REGION_SYDNEY is not documented
(#58) Constant constants::REGION_OTTAWA is not documented
(#59) Constant constants::REGION_SAOPAULO is not documented
(#60) Constant constants::REGION_FRANKFURT is not documented
(#61) Constant constants::REGION_LONDON is not documented
(#62) Constant constants::REGION_SINGAPORE is not documented
(#63) Constant constants::REGION_MUMBAI is not documented
(#64) Constant constants::REGION_CAPETOWN is not documented
(#65) Constant constants::REGION_BAHRAIN is not documented
(#67) Constant constants::LANG_ENUS is not documented
(#68) Constant constants::LANG_ENGB is not documented
(#69) Constant constants::LANG_ENAU is not documented
(#70) Constant constants::LANG_ENIN is not documented
(#71) Constant constants::LANG_ESUS is not documented
(#72) Constant constants::LANG_ESES is not documented
(#73) Constant constants::LANG_FRCA is not documented
(#74) Constant constants::LANG_FRFR is not documented
(#75) Constant constants::LANG_DEDE is not documented
(#76) Constant constants::LANG_ITIT is not documented
(#77) Constant constants::LANG_PTBR is not documented
(#79) Constant constants::LANG_DADK is not documented
(#81) Constant constants::LANG_KOKR is not documented
(#82) Constant constants::LANG_HIIN is not documented
(#83) Constant constants::LANG_ARAE is not documented
(#84) Constant constants::LANG_ARSA is not documented
(#85) Constant constants::LANG_ZHCN is not documented
(#86) Constant constants::LANG_NLNL is not documented
(#87) Constant constants::LANG_ENIE is not documented
(#88) Constant constants::LANG_ENWL is not documented
(#89) Constant constants::LANG_ENAB is not documented
(#90) Constant constants::LANG_FAIR is not documented
(#91) Constant constants::LANG_DECH is not documented
(#92) Constant constants::LANG_HEIL is not documented
(#93) Constant constants::LANG_IDID is not documented
(#94) Constant constants::LANG_JAJP is not documented
(#95) Constant constants::LANG_MSMY is not documented
(#96) Constant constants::LANG_PTPT is not documented
(#97) Constant constants::LANG_RURU is not documented
(#98) Constant constants::LANG_TAIN is not documented
(#99) Constant constants::LANG_TEIN is not documented
(#100) Constant constants::LANG_TRTR is not documented
(#101) Constant constants::LANG_NONO is not documented
(#102) Constant constants::LANG_NBNO is not documented
(#103) Constant constants::LANG_NNNO is not documented
(#104) Constant constants::LANG_PLPL is not documented
(#105) Constant constants::LANG_RORO is not documented
(#106) Constant constants::LANG_SVSE is not documented
(#107) Constant constants::LANG_UKUA is not documented
(#108) Constant constants::LANG_EUES is not documented
(#109) Constant constants::LANG_FIFI is not documented
(#110) Constant constants::LANG_HUHU is not documented
(#111) Constant constants::LANG_MINZ is not documented
(#112) Constant constants::LANG_BGBG is not documented
(#113) Constant constants::LANG_CSCZ is not documented
(#114) Constant constants::LANG_ELGR is not documented
(#115) Constant constants::LANG_HRHR is not documented
(#116) Constant constants::LANG_LTLT is not documented
(#117) Constant constants::LANG_LVLV is not documented
(#118) Constant constants::LANG_SKSK is not documented
(#119) Constant constants::LANG_SLSI is not documented
(#120) Constant constants::LANG_ISIS is not documented
(#121) Constant constants::LANG_MKMK is not documented
(#122) Constant constants::LANG_SRRS is not documented
(#125) Constant constants::TRANSCRIBER_NONE is not documented
(#126) Constant constants::TRANSCRIBER_AMAZONTRANSCRIBE is not documented
(#127) Constant constants::TRANSCRIBER_GOOGLECLOUDSPEECH is not documented
(#128) Constant constants::TRANSCRIBER_GOOGLECHROME is not documented
(#131) Constant constants::LOADER_URL is not documented
(#132) Constant constants::REFRESH_URL is not documented
(#134) Constant constants::extra_fields is not documented
(#5) No one-line description found in phpdocs for class constants
question/type/cloudpoodll/classes/setting/apicredshelper.php
(#37) Constant apicredshelper::CLEARTEMPLATEKEY is not documented
(#41) Phpdocs for function apicredshelper::__construct has incomplete parameters list
(#68) Phpdocs for function apicredshelper::write_setting has incomplete parameters list
(#77) Phpdocs for function apicredshelper::output_html has incomplete parameters list
question/type/cloudpoodll/classes/utils.php
(#17) No one-line description found in phpdocs for file
question/type/cloudpoodll/db/simpletest/testupgradelibnewqe.php
(#17) No one-line description found in phpdocs for file
question/type/cloudpoodll/lib.php
(#31) Phpdocs for function qtype_cloudpoodll_pluginfile has incomplete parameters list
question/type/cloudpoodll/question.php
(#46) There is no description in phpdocs for function get_format_renderer
(#47) Phpdocs for function qtype_cloudpoodll_question::get_format_renderer has incomplete parameters list
question/type/cloudpoodll/questiontype.php
(#110) There is no description in phpdocs for function response_formats
question/type/cloudpoodll/renderer.php
(#338) There is no description in phpdocs for function fetch_details_display
(#347) There is no description in phpdocs for function fetch_player
(#397) There is no description in phpdocs for function fetch_recorder
(#338) Phpdocs for function qtype_cloudpoodll_renderer::fetch_details_display has incomplete parameters list
(#347) Phpdocs for function qtype_cloudpoodll_renderer::fetch_player has incomplete parameters list
(#397) Phpdocs for function qtype_cloudpoodll_renderer::fetch_recorder has incomplete parameters list
(#574) Phpdocs for function qtype_cloudpoodll_renderer::show_problembox 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:amd" 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, 48 warnings)

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

question/type/cloudpoodll/templates/answerstatus.mustache
(#1) Example context missing (@template section not found.)
question/type/cloudpoodll/templates/audioplayerstandard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “” for attribute “id” on element “audio”: An ID must not be the empty string. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “controls” on element “audio”. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Attribute “playsinline” not allowed on element “audio” at this point. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 5: Bad value “” for attribute “src” on element “source”: Must be non-empty. (sInline"><source src=''><trac)
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “track”: Must be non-empty. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 6: Bad value “true” for attribute “default” on element “track”. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 6: Attribute “label” for element “track” must have non-empty value. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 8: Duplicate ID “”. (</audio><div class='qtype_cloudpoodll_transcriptcontainer ' id=''></div>)
(#1) HTML Validation info, line 4: The first occurrence of ID “” was here. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 8: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (</audio><div class='qtype_cloudpoodll_transcriptcontainer ' id=''></div>)
question/type/cloudpoodll/templates/audiorecordercontainer.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 26: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ter"> <div class="qtype_cloudpoodll_audiorec_cont" id="" data-id="" data-parent="" data-localloader="" data-media="" data-appid="" data-owner="" data-type="" data-width="" data-height="" data-iframeclass="" data-updatecontrol="" data-timelimit="" data-transcode="" data-transcribe="" data-subtitle="" data-language="" data-expiredays="" data-region="" data-fallback="" data-hints="" data-token=""> <)
question/type/cloudpoodll/templates/fetchcbpage.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up checkout links
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up checkout links
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $.getScript('https://js.chargebee.com/v2/chargebee.js', function(){
(#1) ESLint error [no-undef]: 'Chargebee' is not defined. ( var chargebee = Chargebee.init({'site': '', isItemsModel: true});
(#1) ESLint error [semi]: Missing semicolon. ( var cart = chargebee.getCart()
(#1) ESLint error [semi]: Missing semicolon. ( var planPriceQuantity = 1
(#1) ESLint error [semi]: Missing semicolon. ( var product = chargebee.initializeProduct(planPriceId, planPriceQuantity)
(#1) ESLint warning [camelcase]: Identifier 'billing_address' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'first_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'last_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'cf_startsiteurl' is not in camel case. ( product.setCustomData({cf_startsiteurl: ""});
question/type/cloudpoodll/templates/managecreds.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up fetch from elsewhere
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up fetch from elsewhere
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apiuser.value='';
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apisecret.value='';
question/type/cloudpoodll/templates/recorderdetailslog.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //<script>
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $('#would-be-a-uniqid_togglelogs').click(function(e){
question/type/cloudpoodll/templates/videoplayerstandard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “” for attribute “id” on element “video”: An ID must not be the empty string. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “controls” on element “video”. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 5: Bad value “” for attribute “src” on element “source”: Must be non-empty. (sInline"><source src=''><trac)
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “track”: Must be non-empty. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 6: Bad value “true” for attribute “default” on element “track”. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 6: Attribute “label” for element “track” must have non-empty value. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 9: Duplicate ID “”. (/div> <div class='qtype_cloudpoodll_transcriptcontainer ' id=''></div>)
(#1) HTML Validation info, line 4: The first occurrence of ID “” was here. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 9: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (/div> <div class='qtype_cloudpoodll_transcriptcontainer ' id=''></div>)
question/type/cloudpoodll/templates/videorecordercontainer.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 26: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ter"> <div class="qtype_cloudpoodll_videorec_cont" id="" data-id="" data-parent="" data-localloader="" data-media="" data-appid="" data-owner="" data-type="" data-width="" data-height="" data-iframeclass="" data-updatecontrol="" data-timelimit="" data-transcode="" data-transcribe="" data-subtitle="" data-language="" data-expiredays="" data-region="" data-fallback="" data-hints="" data-token=""> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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