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

(589 errors, 226 warnings)

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

mod/quiz/report/archiver/classes/ArchiveJob.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Member variable "course_id" must not contain underscores.
(#38) Member variable "cm_id" must not contain underscores.
(#40) Member variable "quiz_id" must not contain underscores.
(#42) Member variable "user_id" must not contain underscores.
(#49) Member variable "tspManager" must be all lower-case
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Variable "course_id" must not contain underscores.
(#79) Variable "cm_id" must not contain underscores.
(#79) Variable "quiz_id" must not contain underscores.
(#79) Variable "user_id" must not contain underscores.
(#79) Line exceeds 132 characters; contains 151 characters
(#82) Variable "course_id" must not contain underscores.
(#83) Variable "cm_id" must not contain underscores.
(#84) Variable "quiz_id" must not contain underscores.
(#85) Variable "user_id" must not contain underscores.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Public method name "ArchiveJob::TSPManager" must be in lower-case letters only
(#120) Variable "course_id" must not contain underscores.
(#120) Variable "cm_id" must not contain underscores.
(#120) Variable "quiz_id" must not contain underscores.
(#120) Variable "user_id" must not contain underscores.
(#120) Line exceeds maximum limit of 180 characters; contains 191 characters
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "course_id" must not contain underscores.
(#133) Variable "cm_id" must not contain underscores.
(#134) Variable "quiz_id" must not contain underscores.
(#135) Variable "user_id" must not contain underscores.
(#139) There should be a comma after the last array item in a multi-line array.
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) There should be a comma after the last array item in a multi-line array.
(#151) Variable "course_id" must not contain underscores.
(#151) Variable "cm_id" must not contain underscores.
(#151) Variable "quiz_id" must not contain underscores.
(#151) Variable "user_id" must not contain underscores.
(#221) Variable "course_id" must not contain underscores.
(#221) Variable "cm_id" must not contain underscores.
(#221) Variable "quiz_id" must not contain underscores.
(#224) Variable "course_id" must not contain underscores.
(#225) Variable "cm_id" must not contain underscores.
(#226) There should be a comma after the last array item in a multi-line array.
(#226) Variable "quiz_id" must not contain underscores.
(#255) Variable "course_id" must not contain underscores.
(#255) Variable "cm_id" must not contain underscores.
(#255) Variable "quiz_id" must not contain underscores.
(#264) The use of the AS keyword to alias tables is bad for cross-db
(#265) The use of the AS keyword to alias tables is bad for cross-db
(#274) Variable "course_id" must not contain underscores.
(#275) Variable "cm_id" must not contain underscores.
(#276) There should be a comma after the last array item in a multi-line array.
(#276) Variable "quiz_id" must not contain underscores.
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Variable "artifactfile_metadata" must not contain underscores.
(#296) Variable "artifactfile_metadata" must not contain underscores.
(#301) There should be a comma after the last array item in a multi-line array.
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#329) There should be a comma after the last array item in a multi-line array.
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) There should be a comma after the last array item in a multi-line array.
(#349) There should be a comma after the last array item in a multi-line array.
(#354) There should be a comma after the last array item in a multi-line array.
(#356) Variable "artifactfile_metadata" must not contain underscores.
(#392) Inline comments must end in full-stops, exclamation marks, or question marks
(#400) Inline comments must end in full-stops, exclamation marks, or question marks
(#403) Inline comments must end in full-stops, exclamation marks, or question marks
(#420) Variable "timeout_min" must not contain underscores.
(#421) Inline control structures are not allowed
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#424) Variable "timeout_min" must not contain underscores.
(#524) Variable "delete_wstoken_if_completed" must not contain underscores.
(#524) Variable "delete_temporary_files_if_completed" must not contain underscores.
(#524) Line exceeds 132 characters; contains 135 characters
(#529) There should be a comma after the last array item in a multi-line array.
(#533) Variable "delete_wstoken_if_completed" must not contain underscores.
(#537) Variable "delete_temporary_files_if_completed" must not contain underscores.
(#561) Must use "self::" for local static member reference
(#563) Must use "self::" for local static member reference
(#565) Must use "self::" for local static member reference
(#567) Must use "self::" for local static member reference
(#569) Must use "self::" for local static member reference
(#571) Must use "self::" for local static member reference
(#573) Must use "self::" for local static member reference
(#590) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#594) There should be a comma after the last array item in a multi-line array.
(#610) The use of the AS keyword to alias tables is bad for cross-db
(#610) Line exceeds 132 characters; contains 154 characters
(#614) Inline control structures are not allowed
(#645) Variable "file_id" must not contain underscores.
(#648) Inline control structures are not allowed
(#648) Variable "file_id" must not contain underscores.
(#652) Variable "file_id" must not contain underscores.
(#654) There should be a comma after the last array item in a multi-line array.
(#672) There should be a comma after the last array item in a multi-line array.
(#686) Variable "num_deleted_files" must not contain underscores.
(#693) Variable "num_deleted_files" must not contain underscores.
(#697) Variable "num_deleted_files" must not contain underscores.
(#708) Short array syntax must be used to define arrays
mod/quiz/report/archiver/classes/BackupManager.php
(#42) Member variable "backup_metadata" must not contain underscores.
(#62) There should be a comma after the last array item in a multi-line array.
(#72) Line exceeds 132 characters; contains 147 characters
(#135) Variable "user_id" must not contain underscores.
(#138) 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
(#157) Variable "user_id" must not contain underscores.
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Variable "setting_name" must not contain underscores.
(#169) Variable "setting_value" must not contain underscores.
(#170) Variable "setting_name" must not contain underscores.
(#170) Variable "setting_value" must not contain underscores.
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Variable "user_id" must not contain underscores.
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Perl-style comments are not allowed; use "// Comment." instead
(#193) Variable "internal_wwwroot" must not contain underscores.
(#194) Variable "internal_wwwroot" must not contain underscores.
(#195) Variable "internal_wwwroot" must not contain underscores.
(#200) Variable "user_id" must not contain underscores.
(#208) There should be a comma after the last array item in a multi-line array.
(#222) Variable "cm_id" must not contain underscores.
(#222) Variable "user_id" must not contain underscores.
(#223) Variable "cm_id" must not contain underscores.
(#223) Variable "user_id" must not contain underscores.
(#235) Variable "course_id" must not contain underscores.
(#235) Variable "user_id" must not contain underscores.
(#236) Variable "course_id" must not contain underscores.
(#236) Variable "user_id" must not contain underscores.
mod/quiz/report/archiver/classes/FileManager.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Member variable "course_id" must not contain underscores.
(#54) Member variable "cm_id" must not contain underscores.
(#56) Member variable "quiz_id" must not contain underscores.
(#68) Variable "course_id" must not contain underscores.
(#68) Variable "cm_id" must not contain underscores.
(#68) Variable "quiz_id" must not contain underscores.
(#69) Variable "course_id" must not contain underscores.
(#70) Variable "cm_id" must not contain underscores.
(#71) Variable "quiz_id" must not contain underscores.
(#72) Variable "course_id" must not contain underscores.
(#84) Variable "course_id" must not contain underscores.
(#84) Variable "cm_id" must not contain underscores.
(#84) Variable "quiz_id" must not contain underscores.
(#87) Variable "course_id" must not contain underscores.
(#88) Variable "course_id" must not contain underscores.
(#90) Variable "cm_id" must not contain underscores.
(#91) Variable "cm_id" must not contain underscores.
(#93) Variable "quiz_id" must not contain underscores.
(#94) Variable "quiz_id" must not contain underscores.
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) 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
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Variable "hash_ctx" must not contain underscores.
(#195) Variable "hash_ctx" must not contain underscores.
(#198) Variable "hash_ctx" must not contain underscores.
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) Must use "self::" for local static member reference
(#263) Must use "self::" for local static member reference
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) Must use "self::" for local static member reference
(#288) Must use "self::" for local static member reference
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/RemoteArchiveWorker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Member variable "server_url" must not contain underscores.
(#34) Member variable "connection_timeout" must not contain underscores.
(#36) Member variable "request_timeout" must not contain underscores.
(#50) Variable "server_url" must not contain underscores.
(#50) Variable "connection_timeout" must not contain underscores.
(#50) Variable "request_timeout" must not contain underscores.
(#51) Variable "server_url" must not contain underscores.
(#52) Variable "connection_timeout" must not contain underscores.
(#53) Variable "request_timeout" must not contain underscores.
(#75) Variable "task_archive_quiz_attempts" must not contain underscores.
(#75) Variable "task_moodle_backups" must not contain underscores.
(#75) Line exceeds 132 characters; contains 148 characters
(#77) Variable "moodle_url_base" must not contain underscores.
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "request_payload" must not contain underscores.
(#82) Variable "moodle_url_base" must not contain underscores.
(#83) Variable "moodle_url_base" must not contain underscores.
(#88) Variable "task_archive_quiz_attempts" must not contain underscores.
(#89) There should be a comma after the last array item in a multi-line array.
(#89) Variable "task_moodle_backups" must not contain underscores.
(#92) Variable "request_payload" must not contain underscores.
(#94) Variable "http_status" must not contain underscores.
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Variable "http_status" must not contain underscores.
(#101) Variable "http_status" must not contain underscores.
(#101) Line exceeds 132 characters; contains 133 characters
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Variable "json_data" must not contain underscores.
(#126) Variable "json_data" must not contain underscores.
(#136) Variable "json_data" must not contain underscores.
(#136) There should be a comma after the last array item in a multi-line array.
(#142) File must end with a newline character
mod/quiz/report/archiver/classes/Report.php
(#31) Perl-style comments are not allowed; use "// Comment." instead
(#63) There should be a comma after the last array item in a multi-line array.
(#69) There should be a comma after the last array item in a multi-line array.
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) There should be a comma after the last array item in a multi-line array.
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Variable "filter_attemptids" must not contain underscores.
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Variable "filter_attemptids" must not contain underscores.
(#155) Variable "filter_where_clause" must not contain underscores.
(#155) Variable "filter_attemptids" must not contain underscores.
(#155) Line exceeds 132 characters; contains 133 characters
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Line exceeds 132 characters; contains 140 characters
(#162) Variable "filter_where_clause" must not contain underscores.
(#164) There should be a comma after the last array item in a multi-line array.
(#214) There should be a comma after the last array item in a multi-line array.
(#248) Variable "archive_quiz_form_data" must not contain underscores.
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Variable "report_sections" must not contain underscores.
(#251) Must use "self::" for local static member reference
(#252) Variable "report_sections" must not contain underscores.
(#252) Variable "archive_quiz_form_data" must not contain underscores.
(#255) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Must use "self::" for local static member reference
(#258) Variable "report_sections" must not contain underscores.
(#259) Variable "report_sections" must not contain underscores.
(#264) Variable "report_sections" must not contain underscores.
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) Inline comments must start with a capital letter, digit or 3-dots sequence
(#309) Variable "quiz_header_data" must not contain underscores.
(#310) Variable "attempt_user" must not contain underscores.
(#310) Short array syntax must be used to define arrays
(#311) Variable "attempt_user" must not contain underscores.
(#313) Variable "quiz_header_data" must not contain underscores.
(#316) Variable "attempt_user" must not contain underscores.
(#317) Variable "attempt_user" must not contain underscores.
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Variable "quiz_header_data" must not contain underscores.
(#324) There should be a comma after the last array item in a multi-line array.
(#327) Variable "quiz_header_data" must not contain underscores.
(#329) There should be a comma after the last array item in a multi-line array.
(#333) Variable "quiz_header_data" must not contain underscores.
(#333) Short array syntax must be used to define arrays
(#338) Variable "quiz_header_data" must not contain underscores.
(#338) Short array syntax must be used to define arrays
(#344) Variable "quiz_header_data" must not contain underscores.
(#344) Short array syntax must be used to define arrays
(#348) Variable "quiz_header_data" must not contain underscores.
(#348) Short array syntax must be used to define arrays
(#355) Variable "quiz_header_data" must not contain underscores.
(#355) Short array syntax must be used to define arrays
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Variable "quiz_header_data" must not contain underscores.
(#365) Short array syntax must be used to define arrays
(#377) Variable "quiz_header_data" must not contain underscores.
(#377) Short array syntax must be used to define arrays
(#394) Variable "quiz_header_data" must not contain underscores.
(#394) Short array syntax must be used to define arrays
(#402) Variable "quiz_header_data" must not contain underscores.
(#402) Variable "quiz_header_data" must not contain underscores.
(#408) Variable "quiz_header_data" must not contain underscores.
(#408) Short array syntax must be used to define arrays
(#415) Inline comments must end in full-stops, exclamation marks, or question marks
(#416) Variable "quiz_header_data" must not contain underscores.
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#422) Variable "quiz_header_data" must not contain underscores.
(#425) Inline comments must start with a capital letter, digit or 3-dots sequence
(#476) Variable "fix_relative_urls" must not contain underscores.
(#476) Variable "inline_images" must not contain underscores.
(#476) Line exceeds 132 characters; contains 163 characters
(#479) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#491) Inline comments must end in full-stops, exclamation marks, or question marks
(#492) Variable "fix_relative_urls" must not contain underscores.
(#493) Variable "baseNode" must be all lower-case
(#494) Variable "baseNode" must be all lower-case
(#495) Variable "baseNode" must be all lower-case
(#498) Inline comments must end in full-stops, exclamation marks, or question marks
(#502) Variable "cssHacksNode" must be all lower-case
(#506) Whitespace found at end of line within string
(#510) Whitespace found at end of line within string
(#517) Whitespace found at end of line within string
(#521) Whitespace found at end of line within string
(#526) Variable "cssHacksNode" must be all lower-case
(#529) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) Variable "inline_images" must not contain underscores.
(#542) Line exceeds 132 characters; contains 141 characters
(#545) Line exceeds maximum limit of 180 characters; contains 231 characters
(#548) Line exceeds maximum limit of 180 characters; contains 288 characters
(#560) There should be a comma after the last array item in a multi-line array.
(#573) Inline comments must end in full-stops, exclamation marks, or question marks
(#574) Inline control structures are not allowed
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) Variable "img_src" must not contain underscores.
(#579) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) Variable "moodle_baseurl" must not contain underscores.
(#583) Variable "img_src" must not contain underscores.
(#583) Variable "img_src" must not contain underscores.
(#585) Variable "img_src_url" must not contain underscores.
(#585) Variable "img_src" must not contain underscores.
(#585) Variable "moodle_baseurl" must not contain underscores.
(#587) Perl-style comments are not allowed; use "// Comment." instead
(#588) Inline control structures are not allowed
(#588) Variable "img_src_url" must not contain underscores.
(#588) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#591) Variable "img_ext" must not contain underscores.
(#591) Variable "img_src_url" must not contain underscores.
(#592) Inline control structures are not allowed
(#592) Variable "img_ext" must not contain underscores.
(#594) Inline comments must end in full-stops, exclamation marks, or question marks
(#595) Variable "regex_matches" must not contain underscores.
(#596) Variable "img_data" must not contain underscores.
(#597) Variable "img_src_url" must not contain underscores.
(#597) Variable "regex_matches" must not contain underscores.
(#598) Inline comments must start with a capital letter, digit or 3-dots sequence
(#599) Line exceeds 132 characters; contains 145 characters
(#600) Variable "regex_matches" must not contain underscores.
(#600) Variable "regex_matches" must not contain underscores.
(#601) Variable "regex_matches" must not contain underscores.
(#602) Inline control structures are not allowed
(#602) Variable "img_src_url" must not contain underscores.
(#602) Variable "regex_matches" must not contain underscores.
(#605) Inline comments must end in full-stops, exclamation marks, or question marks
(#608) Variable "regex_matches" must not contain underscores.
(#609) Variable "regex_matches" must not contain underscores.
(#610) Variable "regex_matches" must not contain underscores.
(#611) Variable "regex_matches" must not contain underscores.
(#611) Variable "regex_matches" must not contain underscores.
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#613) Variable "regex_matches" must not contain underscores.
(#616) Inline control structures are not allowed
(#617) Variable "img_data" must not contain underscores.
(#618) Usage of ELSEIF not allowed; use ELSE IF instead
(#618) Variable "img_src_url" must not contain underscores.
(#618) Variable "regex_matches" must not contain underscores.
(#619) Inline comments must start with a capital letter, digit or 3-dots sequence
(#621) Variable "regex_matches" must not contain underscores.
(#622) Inline control structures are not allowed
(#623) Variable "img_data" must not contain underscores.
(#625) Inline comments must start with a capital letter, digit or 3-dots sequence
(#628) Variable "img_src_url" must not contain underscores.
(#635) Variable "img_data" must not contain underscores.
(#637) Inline control structures are not allowed
(#637) Variable "img_data" must not contain underscores.
(#640) Inline comments must end in full-stops, exclamation marks, or question marks
(#641) Inline control structures are not allowed
(#641) Variable "img_data" must not contain underscores.
(#642) Variable "img_base64" must not contain underscores.
(#642) Variable "img_data" must not contain underscores.
(#643) Variable "img_ext" must not contain underscores.
(#643) Variable "img_base64" must not contain underscores.
(#659) Inline control structures are not allowed
(#662) Inline control structures are not allowed
(#662) Expected 1 space before "=="; 0 found
(#662) Expected 1 space after "=="; 0 found
(#662) Expected 1 space before "=="; 0 found
(#662) Expected 1 space after "=="; 0 found
(#665) The use of function extract() is forbidden
(#671) Inline control structures are not allowed
(#677) Short array syntax must be used to define arrays
(#678) Expected "for (...) {\n"; found "for (...) {"
(#678) Empty FOR statement detected
(#678) Expected 1 space before "="; 0 found
(#678) Expected 1 space after "="; 0 found
(#678) Expected 1 space before ">"; 0 found
(#678) Expected 1 space after ">"; 0 found
(#678) Expected 1 space before "="; 0 found
(#678) Expected 1 space after "="; 0 found
(#678) Closing brace must be on a line by itself
(#684) File must end with a newline character
mod/quiz/report/archiver/classes/TSPManager.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Variable "num_tsp_records" must not contain underscores.
(#82) There should be a comma after the last array item in a multi-line array.
(#85) Variable "num_tsp_records" must not contain underscores.
(#99) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) 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
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/TimeStampProtocolClient.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Variable "server_url" must not contain underscores.
(#48) Variable "server_url" must not contain underscores.
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "curl_error" must not contain underscores.
(#94) Variable "curl_error" must not contain underscores.
(#96) Variable "curl_info" must not contain underscores.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Variable "curl_error" must not contain underscores.
(#103) Variable "curl_error" must not contain underscores.
(#106) Variable "curl_info" must not contain underscores.
(#107) Variable "curl_info" must not contain underscores.
(#110) Variable "curl_info" must not contain underscores.
(#111) Variable "curl_info" must not contain underscores.
(#116) There should be a comma after the last array item in a multi-line array.
(#126) Public method name "TimeStampProtocolClient::generateNonce" must be in lower-case letters only
(#142) Protected method name "TimeStampProtocolClient::createTimeStampReq" must be in lower-case letters only
(#142) Variable "requestTSAPublicKey" must be all lower-case
(#143) 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
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) 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
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Variable "requestTSAPublicKey" must be all lower-case
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/external/generate_attempt_report.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) There should be a comma after the last array item in a multi-line array.
(#68) Variable "courseid_raw" must not contain underscores.
(#68) Variable "cmid_raw" must not contain underscores.
(#68) Variable "quizid_raw" must not contain underscores.
(#68) Variable "attemptid_raw" must not contain underscores.
(#68) Variable "sections_raw" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "courseid_raw" must not contain underscores.
(#74) Variable "cmid_raw" must not contain underscores.
(#75) Variable "quizid_raw" must not contain underscores.
(#76) Variable "attemptid_raw" must not contain underscores.
(#77) There should be a comma after the last array item in a multi-line array.
(#77) Variable "sections_raw" must not contain underscores.
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) There should be a comma after the last array item in a multi-line array.
(#112) There should be a comma after the last array item in a multi-line array.
(#116) File must end with a newline character
mod/quiz/report/archiver/classes/external/get_attempts_metadata.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Variable "courseid_raw" must not contain underscores.
(#70) Variable "cmid_raw" must not contain underscores.
(#70) Variable "quizid_raw" must not contain underscores.
(#70) Variable "attemptids_raw" must not contain underscores.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Variable "courseid_raw" must not contain underscores.
(#76) Variable "cmid_raw" must not contain underscores.
(#77) Variable "quizid_raw" must not contain underscores.
(#78) There should be a comma after the last array item in a multi-line array.
(#78) Variable "attemptids_raw" must not contain underscores.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) There should be a comma after the last array item in a multi-line array.
(#103) Variable "attempt_metadata" must not contain underscores.
(#109) Variable "attempt_metadata" must not contain underscores.
(#110) There should be a comma after the last array item in a multi-line array.
(#114) File must end with a newline character
mod/quiz/report/archiver/classes/external/get_backup_status.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) There should be a comma after the last array item in a multi-line array.
(#48) Variable "jobid_raw" must not contain underscores.
(#49) Variable "backupid_raw" must not contain underscores.
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Variable "jobid_raw" must not contain underscores.
(#54) There should be a comma after the last array item in a multi-line array.
(#54) Variable "backupid_raw" must not contain underscores.
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) File must end with a newline character
mod/quiz/report/archiver/classes/external/process_uploaded_artifact.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#61) Variable "jobid_raw" must not contain underscores.
(#62) Variable "artifact_component_raw" must not contain underscores.
(#63) Variable "artifact_contextid_raw" must not contain underscores.
(#64) Variable "artifact_userid_raw" must not contain underscores.
(#65) Variable "artifact_filearea_raw" must not contain underscores.
(#66) Variable "artifact_filename_raw" must not contain underscores.
(#67) Variable "artifact_filepath_raw" must not contain underscores.
(#68) Variable "artifact_itemid_raw" must not contain underscores.
(#69) Variable "artifact_sha256sum_raw" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "jobid_raw" must not contain underscores.
(#74) Variable "artifact_component_raw" must not contain underscores.
(#75) Variable "artifact_contextid_raw" must not contain underscores.
(#76) Variable "artifact_userid_raw" must not contain underscores.
(#77) Variable "artifact_filearea_raw" must not contain underscores.
(#78) Variable "artifact_filename_raw" must not contain underscores.
(#79) Variable "artifact_filepath_raw" must not contain underscores.
(#80) Variable "artifact_itemid_raw" must not contain underscores.
(#81) There should be a comma after the last array item in a multi-line array.
(#81) Variable "artifact_sha256sum_raw" must not contain underscores.
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) There should be a comma after the last array item in a multi-line array.
(#94) There should be a comma after the last array item in a multi-line array.
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) There should be a comma after the last array item in a multi-line array.
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) There should be a comma after the last array item in a multi-line array.
(#129) There should be a comma after the last array item in a multi-line array.
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) There should be a comma after the last array item in a multi-line array.
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Empty CATCH statement detected
(#153) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) There should be a comma after the last array item in a multi-line array.
(#165) File must end with a newline character
mod/quiz/report/archiver/classes/external/update_job_status.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) There should be a comma after the last array item in a multi-line array.
(#44) Variable "jobid_raw" must not contain underscores.
(#45) Variable "status_raw" must not contain underscores.
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Variable "jobid_raw" must not contain underscores.
(#50) Variable "status_raw" must not contain underscores.
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) There should be a comma after the last array item in a multi-line array.
(#68) There should be a comma after the last array item in a multi-line array.
(#75) There should be a comma after the last array item in a multi-line array.
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) There should be a comma after the last array item in a multi-line array.
(#85) File must end with a newline character
mod/quiz/report/archiver/classes/form/archive_quiz_form.php
(#36) Member variable "quiz_name" must not contain underscores.
(#38) Member variable "num_attempts" must not contain underscores.
(#43) Variable "quiz_name" must not contain underscores.
(#43) Variable "num_attempts" must not contain underscores.
(#44) Variable "quiz_name" must not contain underscores.
(#45) Variable "num_attempts" must not contain underscores.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Line exceeds maximum limit of 180 characters; contains 210 characters
(#77) Line exceeds 132 characters; contains 155 characters
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Line exceeds 132 characters; contains 147 characters
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Line exceeds maximum limit of 180 characters; contains 191 characters
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/form/job_delete_form.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Variable "warn_head" must not contain underscores.
(#42) Variable "warn_msg" must not contain underscores.
(#43) Variable "warn_details" must not contain underscores.
(#46) Variable "warn_head" must not contain underscores.
(#47) Variable "warn_msg" must not contain underscores.
(#49) Variable "warn_details" must not contain underscores.
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/form/job_sign_form.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Variable "warn_head" must not contain underscores.
(#42) Variable "warn_msg" must not contain underscores.
(#43) Variable "warn_details" must not contain underscores.
(#46) Variable "warn_head" must not contain underscores.
(#47) Variable "warn_msg" must not contain underscores.
(#49) Variable "warn_details" must not contain underscores.
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/classes/output/job_overview_table.php
(#45) Visibility must be declared on method "__construct"
(#53) There should be a comma after the last array item in a multi-line array.
(#61) There should be a comma after the last array item in a multi-line array.
(#65) Line exceeds 132 characters; contains 137 characters
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#66) Line exceeds 132 characters; contains 138 characters
(#71) There should be a comma after the last array item in a multi-line array.
(#81) Visibility must be declared on method "col_timecreated"
(#85) Visibility must be declared on method "col_status"
(#87) Line exceeds 132 characters; contains 141 characters
(#90) Visibility must be declared on method "col_user"
(#94) Visibility must be declared on method "col_filesize"
(#98) Visibility must be declared on method "col_actions"
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Line exceeds maximum limit of 180 characters; contains 240 characters
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Variable "download_title" must not contain underscores.
(#117) Line exceeds 132 characters; contains 165 characters
(#118) Variable "download_title" must not contain underscores.
(#118) Variable "download_title" must not contain underscores.
(#118) Line exceeds maximum limit of 180 characters; contains 198 characters
(#120) Line exceeds maximum limit of 180 characters; contains 209 characters
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) There should be a comma after the last array item in a multi-line array.
(#130) Line exceeds 132 characters; contains 159 characters
mod/quiz/report/archiver/db/access.php
(#28) Perl-style comments are not allowed; use "// Comment." instead
(#39) Perl-style comments are not allowed; use "// Comment." instead
(#49) Perl-style comments are not allowed; use "// Comment." instead
(#56) File must end with a newline character
mod/quiz/report/archiver/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/archiver/db/services.php
(#68) File must end with a newline character
mod/quiz/report/archiver/db/uninstall.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/archiver/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) Variable "old_key" must not contain underscores.
(#76) Variable "new_key" must not contain underscores.
(#79) Variable "old_key" must not contain underscores.
(#80) Variable "new_key" must not contain underscores.
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/lang/de/quiz_archiver.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/lang/en/quiz_archiver.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Logical operator "or" is prohibited; use "||" instead
mod/quiz/report/archiver/report.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#79) Variable "tplCtx" must be all lower-case
(#81) There should be a comma after the last array item in a multi-line array.
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Variable "job_delete_form" must not contain underscores.
(#88) Variable "job_delete_form" must not contain underscores.
(#92) Variable "job_delete_form" must not contain underscores.
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Variable "job_delete_form" must not contain underscores.
(#100) Variable "job_delete_form" must not contain underscores.
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Variable "job_sign_form" must not contain underscores.
(#109) Variable "job_sign_form" must not contain underscores.
(#113) Variable "job_sign_form" must not contain underscores.
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Variable "job_sign_form" must not contain underscores.
(#119) Variable "tspManager" must be all lower-case
(#120) Variable "jobid_log_str" must not contain underscores.
(#121) Variable "tspManager" must be all lower-case
(#122) Variable "tplCtx" must be all lower-case
(#125) Variable "jobid_log_str" must not contain underscores.
(#129) Variable "tspManager" must be all lower-case
(#130) Variable "tplCtx" must be all lower-case
(#133) Variable "jobid_log_str" must not contain underscores.
(#136) Variable "tplCtx" must be all lower-case
(#139) Variable "jobid_log_str" must not contain underscores.
(#142) Variable "tplCtx" must be all lower-case
(#145) Variable "jobid_log_str" must not contain underscores.
(#150) Variable "job_sign_form" must not contain underscores.
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Variable "tplCtx" must be all lower-case
(#158) Variable "tplCtx" must be all lower-case
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Variable "archive_quiz_form" must not contain underscores.
(#165) The use of function sizeof() is forbidden; use count() instead
(#167) Variable "archive_quiz_form" must not contain underscores.
(#170) Variable "archive_quiz_form" must not contain underscores.
(#178) Variable "tplCtx" must be all lower-case
(#184) Variable "tplCtx" must be all lower-case
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline control structures are not allowed
(#192) Variable "tplCtx" must be all lower-case
(#194) Variable "tplCtx" must be all lower-case
(#194) Variable "archive_quiz_form" must not contain underscores.
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) Variable "tplCtx" must be all lower-case
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Variable "jobtbl_html" must not contain underscores.
(#206) Variable "tplCtx" must be all lower-case
(#206) Variable "jobtbl_html" must not contain underscores.
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Variable "tplCtx" must be all lower-case
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) There should be a comma after the last array item in a multi-line array.
(#222) There should be a comma after the last array item in a multi-line array.
(#223) There should be a comma after the last array item in a multi-line array.
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Line exceeds 132 characters; contains 155 characters
(#231) There should be a comma after the last array item in a multi-line array.
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Variable "tplCtx" must be all lower-case
(#261) Variable "export_attempts" must not contain underscores.
(#261) Variable "report_sections" must not contain underscores.
(#261) Variable "paper_format" must not contain underscores.
(#261) Variable "export_quiz_backup" must not contain underscores.
(#261) Variable "export_course_backup" must not contain underscores.
(#261) Line exceeds maximum limit of 180 characters; contains 181 characters
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Variable "task_archive_quiz_attempts" must not contain underscores.
(#279) Variable "export_attempts" must not contain underscores.
(#280) Variable "task_archive_quiz_attempts" must not contain underscores.
(#282) TRUE, FALSE and NULL must be lowercase; expected "true" but found "True"
(#283) Variable "report_sections" must not contain underscores.
(#284) Variable "paper_format" must not contain underscores.
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) Variable "task_moodle_backups" must not contain underscores.
(#290) Variable "export_quiz_backup" must not contain underscores.
(#290) Variable "export_course_backup" must not contain underscores.
(#291) Variable "task_moodle_backups" must not contain underscores.
(#293) Variable "export_quiz_backup" must not contain underscores.
(#294) Variable "task_moodle_backups" must not contain underscores.
(#297) Variable "export_course_backup" must not contain underscores.
(#298) Variable "task_moodle_backups" must not contain underscores.
(#302) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) Variable "job_settings" must not contain underscores.
(#304) Variable "job_settings" must not contain underscores.
(#305) Variable "job_settings" must not contain underscores.
(#305) Variable "export_attempts" must not contain underscores.
(#306) Variable "export_attempts" must not contain underscores.
(#307) Variable "report_sections" must not contain underscores.
(#307) Variable "section_name" must not contain underscores.
(#307) Variable "section_value" must not contain underscores.
(#308) Variable "job_settings" must not contain underscores.
(#308) Variable "section_name" must not contain underscores.
(#308) Variable "section_value" must not contain underscores.
(#311) Variable "job_settings" must not contain underscores.
(#311) Variable "export_quiz_backup" must not contain underscores.
(#312) Variable "job_settings" must not contain underscores.
(#312) Variable "export_course_backup" must not contain underscores.
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) Variable "job_metadata" must not contain underscores.
(#322) Variable "task_archive_quiz_attempts" must not contain underscores.
(#323) Variable "task_moodle_backups" must not contain underscores.
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) Variable "job_metadata" must not contain underscores.
(#334) Variable "job_settings" must not contain underscores.
(#335) Variable "job_metadata" must not contain underscores.
(#338) Inline comments must end in full-stops, exclamation marks, or question marks
(#339) Variable "task_moodle_backups" must not contain underscores.
(#340) Variable "task_moodle_backups" must not contain underscores.
mod/quiz/report/archiver/settings.php
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/archiver/version.php
(#32) This comment is 58% valid code; is this commented out code?
(#32) Perl-style comments are not allowed; use "// Comment." instead

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(49 errors, 7 warnings)

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

mod/quiz/report/archiver/classes/ArchiveJob.php
(#29) Class ArchiveJob is not documented
(#59) Constant ArchiveJob::STATUS_UNKNOWN is not documented
(#60) Constant ArchiveJob::STATUS_UNINITIALIZED is not documented
(#61) Constant ArchiveJob::STATUS_AWAITING_PROCESSING is not documented
(#62) Constant ArchiveJob::STATUS_RUNNING is not documented
(#63) Constant ArchiveJob::STATUS_FINISHED is not documented
(#64) Constant ArchiveJob::STATUS_FAILED is not documented
(#65) Constant ArchiveJob::STATUS_TIMEOUT is not documented
(#471) There is no description in phpdocs for function get_id
(#478) There is no description in phpdocs for function get_jobid
(#485) There is no description in phpdocs for function get_course_id
(#492) There is no description in phpdocs for function get_cm_id
(#499) There is no description in phpdocs for function get_quiz_id
(#506) There is no description in phpdocs for function get_user_id
(#543) There is no description in phpdocs for function get_status
(#555) There is no description in phpdocs for function get_status_display_args
(#622) There is no description in phpdocs for function get_artifact_checksum
(#108) Phpdocs for function ArchiveJob::create has incomplete parameters list
(#198) Phpdocs for function ArchiveJob::exists_in_db has incomplete parameters list
(#555) Phpdocs for function ArchiveJob::get_status_display_args has incomplete parameters list
mod/quiz/report/archiver/classes/BackupManager.php
(#65) There is no description in phpdocs for function __construct
(#78) There is no description in phpdocs for function is_finished_successfully
(#85) There is no description in phpdocs for function is_failed
(#92) There is no description in phpdocs for function get_status
(#101) There is no description in phpdocs for function get_type
mod/quiz/report/archiver/classes/RemoteArchiveWorker.php
(#29) Class RemoteArchiveWorker is not documented
(#46) Phpdocs for function RemoteArchiveWorker::__construct has incomplete parameters list
(#60) Phpdocs for function RemoteArchiveWorker::enqueue_archive_job has incomplete parameters list
mod/quiz/report/archiver/classes/Report.php
(#33) Class Report is not documented
(#72) There is no description in phpdocs for function __construct
mod/quiz/report/archiver/classes/TSPManager.php
(#2) Empty line found after PHP open tag
mod/quiz/report/archiver/classes/TimeStampProtocolClient.php
(#51) There is no description in phpdocs for function get_server_url
mod/quiz/report/archiver/classes/external/generate_attempt_report.php
(#12) Class generate_attempt_report is not documented
(#12) Package is not specified for class generate_attempt_report. It is also not specified in file-level phpdocs
mod/quiz/report/archiver/classes/external/get_attempts_metadata.php
(#13) Class get_attempts_metadata is not documented
(#13) Package is not specified for class get_attempts_metadata. It is also not specified in file-level phpdocs
mod/quiz/report/archiver/classes/external/get_backup_status.php
(#13) Class get_backup_status is not documented
(#13) Package is not specified for class get_backup_status. It is also not specified in file-level phpdocs
mod/quiz/report/archiver/classes/external/process_uploaded_artifact.php
(#13) Class process_uploaded_artifact is not documented
(#13) Package is not specified for class process_uploaded_artifact. It is also not specified in file-level phpdocs
mod/quiz/report/archiver/classes/external/update_job_status.php
(#12) Class update_job_status is not documented
(#12) Package is not specified for class update_job_status. It is also not specified in file-level phpdocs
mod/quiz/report/archiver/classes/form/archive_quiz_form.php
(#33) Class archive_quiz_form is not documented
(#40) There is no description in phpdocs for function __construct
(#41) Phpdocs for function archive_quiz_form::__construct has incomplete parameters list
mod/quiz/report/archiver/classes/form/job_delete_form.php
(#32) Class job_delete_form is not documented
mod/quiz/report/archiver/classes/form/job_sign_form.php
(#32) Class job_sign_form is not documented
mod/quiz/report/archiver/classes/output/job_overview_table.php
(#35) Class job_overview_table is not documented
(#81) Function job_overview_table::col_timecreated is not documented
(#85) Function job_overview_table::col_status is not documented
(#90) Function job_overview_table::col_user is not documented
(#94) Function job_overview_table::col_filesize is not documented
(#98) Function job_overview_table::col_actions is not documented
mod/quiz/report/archiver/db/upgrade.php
(#28) Phpdocs for function xmldb_quiz_archiver_upgrade has incomplete parameters list
mod/quiz/report/archiver/report.php
(#37) Class quiz_archiver_report is not documented
(#52) Function quiz_archiver_report::__construct is not documented

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(2 errors, 0 warnings)

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

mod/quiz/report/archiver/templates/job_details.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/quiz/report/archiver/templates/overview.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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