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

(775 errors, 143 warnings)

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

mod/accredible/classes/Html2Text/Html2Text.php
(#35) Variable "ignore_error" must not contain underscores.
(#40) Variable "is_office_document" must not contain underscores.
(#42) Variable "is_office_document" must not contain underscores.
(#52) Variable "ignore_error" must not contain underscores.
(#54) Variable "is_office_document" must not contain underscores.
(#80) method name "Html2Text::fixNewlines" must be in lower-case letters only
(#80) Visibility must be declared on method "fixNewlines"
(#96) method name "Html2Text::getDocument" must be in lower-case letters only
(#96) Visibility must be declared on method "getDocument"
(#96) Variable "ignore_error" must not contain underscores.
(#116) Variable "ignore_error" must not contain underscores.
(#120) Variable "old_internal_errors" must not contain underscores.
(#121) Variable "load_result" must not contain underscores.
(#122) Variable "old_internal_errors" must not contain underscores.
(#124) Variable "load_result" must not contain underscores.
(#127) Variable "load_result" must not contain underscores.
(#137) method name "Html2Text::isOfficeDocument" must be in lower-case letters only
(#137) Visibility must be declared on method "isOfficeDocument"
(#141) method name "Html2Text::isWhitespace" must be in lower-case letters only
(#141) Visibility must be declared on method "isWhitespace"
(#145) method name "Html2Text::nextChildName" must be in lower-case letters only
(#145) Visibility must be declared on method "nextChildName"
(#147) Variable "nextNode" must be all lower-case
(#148) Variable "nextNode" must be all lower-case
(#149) Variable "nextNode" must be all lower-case
(#150) Variable "nextNode" must be all lower-case
(#154) Variable "nextNode" must be all lower-case
(#157) Variable "nextNode" must be all lower-case
(#157) Variable "nextNode" must be all lower-case
(#159) Variable "nextName" must be all lower-case
(#160) Variable "nextNode" must be all lower-case
(#160) Variable "nextNode" must be all lower-case
(#160) Variable "nextNode" must be all lower-case
(#161) Variable "nextName" must be all lower-case
(#161) Variable "nextNode" must be all lower-case
(#164) Variable "nextName" must be all lower-case
(#167) method name "Html2Text::iterateOverNode" must be in lower-case letters only
(#167) Visibility must be declared on method "iterateOverNode"
(#167) Variable "prevName" must be all lower-case
(#167) Variable "in_pre" must not contain underscores.
(#167) Variable "is_office_document" must not contain underscores.
(#171) Variable "in_pre" must not contain underscores.
(#179) Variable "prevName" must be all lower-case
(#179) Variable "prevName" must be all lower-case
(#195) Variable "nextName" must be all lower-case
(#201) Variable "prevName" must be all lower-case
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#228) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Variable "is_office_document" must not contain underscores.
(#244) Inline comments must start with a capital letter, digit or 3-dots sequence
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#251) Inline comments must start with a capital letter, digit or 3-dots sequence
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Variable "previousSiblingName" must be all lower-case
(#272) Variable "previousSiblingName" must be all lower-case
(#272) Variable "in_pre" must not contain underscores.
(#272) Variable "is_office_document" must not contain underscores.
(#275) Empty IF statement detected
(#280) Variable "previousSiblingName" must be all lower-case
(#287) Variable "previousSiblingName" must be all lower-case
(#358) Variable "nextName" must be all lower-case
(#360) Line indented incorrectly; expected at least 44 spaces, found 20
mod/accredible/classes/apiRest/apiRest.php
(#23) Member variable "api_endpoint" must not contain underscores.
(#32) Expected "if (...) {\n"; found "if(...) {\n"
(#36) Expected "if (...) {\n"; found "if(...) {\n"
(#40) Variable "dev_api_endpoint" must not contain underscores.
(#41) Expected "if (...) {\n"; found "if(...) {\n"
(#41) Variable "dev_api_endpoint" must not contain underscores.
(#42) Variable "dev_api_endpoint" must not contain underscores.
(#43) Variable "dev_api_endpoint" must not contain underscores.
(#57) Visibility must be declared on method "get_credentials"
(#57) Variable "group_id" must not contain underscores.
(#57) Variable "page_size" must not contain underscores.
(#58) Variable "page_size" must not contain underscores.
(#58) Line exceeds 132 characters; contains 173 characters
(#65) Visibility must be declared on method "recipient_sso_link"
(#65) Variable "credential_id" must not contain underscores.
(#65) Variable "recipient_id" must not contain underscores.
(#65) Variable "recipient_email" must not contain underscores.
(#65) Variable "wallet_view" must not contain underscores.
(#65) Variable "group_id" must not contain underscores.
(#65) Variable "redirect_to" must not contain underscores.
(#65) Line exceeds 132 characters; contains 163 characters
(#68) Variable "credential_id" must not contain underscores.
(#69) Variable "recipient_id" must not contain underscores.
(#70) Variable "recipient_email" must not contain underscores.
(#71) Variable "wallet_view" must not contain underscores.
(#72) Variable "group_id" must not contain underscores.
(#73) Variable "redirect_to" must not contain underscores.
(#92) Visibility must be declared on method "update_group"
(#92) Variable "course_name" must not contain underscores.
(#92) Variable "course_description" must not contain underscores.
(#92) Variable "course_link" must not contain underscores.
(#92) Variable "design_id" must not contain underscores.
(#92) Line exceeds 132 characters; contains 135 characters
(#97) Variable "course_name" must not contain underscores.
(#98) Variable "course_description" must not contain underscores.
(#99) Variable "course_link" must not contain underscores.
(#100) Variable "design_id" must not contain underscores.
(#119) Visibility must be declared on method "create_group"
(#119) Variable "course_name" must not contain underscores.
(#119) Variable "course_description" must not contain underscores.
(#119) Variable "course_link" must not contain underscores.
(#124) Variable "course_name" must not contain underscores.
(#125) Variable "course_description" must not contain underscores.
(#126) Variable "course_link" must not contain underscores.
(#145) Visibility must be declared on method "create_credential"
(#145) Variable "recipient_name" must not contain underscores.
(#145) Variable "recipient_email" must not contain underscores.
(#145) Variable "course_id" must not contain underscores.
(#145) Variable "issued_on" must not contain underscores.
(#145) Variable "expired_on" must not contain underscores.
(#145) Variable "custom_attributes" must not contain underscores.
(#145) Line exceeds 132 characters; contains 145 characters
(#149) Variable "course_id" must not contain underscores.
(#151) Variable "recipient_name" must not contain underscores.
(#152) Variable "recipient_email" must not contain underscores.
(#154) Variable "issued_on" must not contain underscores.
(#155) Variable "expired_on" must not contain underscores.
(#156) Variable "custom_attributes" must not contain underscores.
(#170) Visibility must be declared on method "create_evidence_item"
(#170) Variable "evidence_item" must not contain underscores.
(#170) Variable "credential_id" must not contain underscores.
(#172) Variable "evidence_item" must not contain underscores.
(#183) Visibility must be declared on method "create_evidence_item_duration"
(#183) Variable "start_date" must not contain underscores.
(#183) Variable "end_date" must not contain underscores.
(#183) Variable "credential_id" must not contain underscores.
(#185) Variable "duration_info" must not contain underscores.
(#186) Variable "start_date" must not contain underscores.
(#187) Variable "end_date" must not contain underscores.
(#188) Variable "end_date" must not contain underscores.
(#188) Variable "start_date" must not contain underscores.
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Variable "duration_info" must not contain underscores.
(#192) Variable "duration_info" must not contain underscores.
(#194) Variable "evidence_item" must not contain underscores.
(#196) Variable "duration_info" must not contain underscores.
(#198) Variable "duration_info" must not contain underscores.
(#203) Variable "evidence_item" must not contain underscores.
(#203) Variable "credential_id" must not contain underscores.
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Variable "duration_info" must not contain underscores.
(#207) Variable "duration_info" must not contain underscores.
(#208) Variable "duration_info" must not contain underscores.
(#210) Variable "evidence_item" must not contain underscores.
(#214) Variable "duration_info" must not contain underscores.
(#219) Variable "evidence_item" must not contain underscores.
(#219) Variable "credential_id" must not contain underscores.
(#238) Visibility must be declared on method "create_credential_legacy"
(#238) Variable "recipient_name" must not contain underscores.
(#238) Variable "recipient_email" must not contain underscores.
(#238) Variable "achievement_name" must not contain underscores.
(#238) Variable "issued_on" must not contain underscores.
(#238) Variable "expired_on" must not contain underscores.
(#238) Variable "course_name" must not contain underscores.
(#238) Variable "course_description" must not contain underscores.
(#238) Variable "course_link" must not contain underscores.
(#238) Variable "custom_attributes" must not contain underscores.
(#238) Expected 1 space before opening brace; found 0
(#238) Line exceeds maximum limit of 180 characters; contains 228 characters
(#242) Variable "achievement_name" must not contain underscores.
(#244) Variable "recipient_name" must not contain underscores.
(#245) Variable "recipient_email" must not contain underscores.
(#247) Variable "issued_on" must not contain underscores.
(#248) Variable "expired_on" must not contain underscores.
(#249) Variable "custom_attributes" must not contain underscores.
(#250) Variable "course_name" must not contain underscores.
(#251) Variable "course_description" must not contain underscores.
(#252) Variable "course_link" must not contain underscores.
(#267) Visibility must be declared on method "get_groups"
(#267) Variable "page_size" must not contain underscores.
(#268) Variable "page_size" must not contain underscores.
(#277) Visibility must be declared on method "strip_empty_keys"
(#291) Visibility must be declared on method "create_evidence_item_grade"
(#291) Variable "credential_id" must not contain underscores.
(#295) Variable "evidence_item" must not contain underscores.
(#304) Variable "evidence_item" must not contain underscores.
(#304) Variable "credential_id" must not contain underscores.
mod/accredible/classes/client/client.php
(#26) Variable "postBody" must be all lower-case
(#27) Variable "postBody" must be all lower-case
(#30) Variable "putBody" must be all lower-case
(#31) Variable "putBody" must be all lower-case
(#34) Visibility must be declared on method "create_req"
(#34) Variable "postBody" must be all lower-case
(#51) Variable "postBody" must be all lower-case
(#54) Variable "postBody" must be all lower-case
(#57) Variable "postBody" must be all lower-case
(#60) Variable "postBody" must be all lower-case
(#66) Expected "if (...) {\n"; found "if(...) {\n"
mod/accredible/lib.php
(#44) Variable "group_id" must not contain underscores.
(#50) Variable "user_id" must not contain underscores.
(#50) Variable "issue_certificate" must not contain underscores.
(#51) Variable "issue_certificate" must not contain underscores.
(#52) Variable "user_id" must not contain underscores.
(#54) Variable "group_id" must not contain underscores.
(#57) Variable "credential_id" must not contain underscores.
(#60) Variable "users_grade" must not contain underscores.
(#61) Variable "grade_evidence" must not contain underscores.
(#61) Variable "users_grade" must not contain underscores.
(#61) Line exceeds 132 characters; contains 157 characters
(#62) Variable "users_grade" must not contain underscores.
(#63) Variable "grade_evidence" must not contain underscores.
(#65) Variable "credential_id" must not contain underscores.
(#65) Variable "grade_evidence" must not contain underscores.
(#67) Variable "user_id" must not contain underscores.
(#68) Variable "credential_id" must not contain underscores.
(#70) Variable "user_id" must not contain underscores.
(#70) Variable "credential_id" must not contain underscores.
(#71) Variable "user_id" must not contain underscores.
(#71) Variable "credential_id" must not contain underscores.
(#77) Variable "db_record" must not contain underscores.
(#78) Variable "db_record" must not contain underscores.
(#79) Variable "db_record" must not contain underscores.
(#80) Variable "db_record" must not contain underscores.
(#81) Variable "db_record" must not contain underscores.
(#82) Variable "db_record" must not contain underscores.
(#83) Variable "db_record" must not contain underscores.
(#84) Variable "db_record" must not contain underscores.
(#84) Variable "group_id" must not contain underscores.
(#86) Variable "db_record" must not contain underscores.
(#99) Variable "accredible_certificate" must not contain underscores.
(#104) Variable "accredible_certificate" must not contain underscores.
(#112) Variable "accredible_certificate" must not contain underscores.
(#113) Variable "accredible_certificate" must not contain underscores.
(#114) Variable "accredible_certificate" must not contain underscores.
(#115) Variable "accredible_certificate" must not contain underscores.
(#117) Variable "user_id" must not contain underscores.
(#117) Variable "issue_certificate" must not contain underscores.
(#118) Variable "issue_certificate" must not contain underscores.
(#119) Variable "user_id" must not contain underscores.
(#120) Variable "completed_timestamp" must not contain underscores.
(#120) Variable "accredible_certificate" must not contain underscores.
(#121) Variable "completed_date" must not contain underscores.
(#121) Variable "completed_timestamp" must not contain underscores.
(#122) Variable "accredible_certificate" must not contain underscores.
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Variable "completed_date" must not contain underscores.
(#125) Variable "credential_id" must not contain underscores.
(#129) Variable "users_grade" must not contain underscores.
(#130) Variable "grade_evidence" must not contain underscores.
(#130) Variable "users_grade" must not contain underscores.
(#130) Line exceeds 132 characters; contains 161 characters
(#131) Variable "users_grade" must not contain underscores.
(#132) Variable "grade_evidence" must not contain underscores.
(#134) Variable "credential_id" must not contain underscores.
(#134) Variable "grade_evidence" must not contain underscores.
(#136) Variable "user_id" must not contain underscores.
(#137) Variable "credential_id" must not contain underscores.
(#139) Variable "user_id" must not contain underscores.
(#139) Variable "credential_id" must not contain underscores.
(#140) Variable "user_id" must not contain underscores.
(#140) Variable "credential_id" must not contain underscores.
(#140) Variable "completed_timestamp" must not contain underscores.
(#141) Variable "accredible_certificate" must not contain underscores.
(#145) Empty ELSE statement detected
(#150) Variable "accredible_certificate" must not contain underscores.
(#150) Variable "completed_timestamp" must not contain underscores.
(#150) Line exceeds maximum limit of 180 characters; contains 181 characters
(#151) Variable "credential_id" must not contain underscores.
(#155) Variable "credential_id" must not contain underscores.
(#169) Variable "user_id" must not contain underscores.
(#169) Variable "issue_certificate" must not contain underscores.
(#170) Variable "issue_certificate" must not contain underscores.
(#171) Variable "user_id" must not contain underscores.
(#172) Variable "completed_timestamp" must not contain underscores.
(#172) Variable "accredible_certificate" must not contain underscores.
(#173) Variable "completed_date" must not contain underscores.
(#173) Variable "completed_timestamp" must not contain underscores.
(#174) Variable "accredible_certificate" must not contain underscores.
(#176) Variable "course_url" must not contain underscores.
(#177) Variable "course_link" must not contain underscores.
(#177) Variable "course_url" must not contain underscores.
(#179) Variable "course_link" must not contain underscores.
(#179) Variable "completed_date" must not contain underscores.
(#179) Line exceeds 132 characters; contains 163 characters
(#181) Variable "accredible_certificate" must not contain underscores.
(#181) Variable "completed_date" must not contain underscores.
(#185) Variable "credential_id" must not contain underscores.
(#188) Variable "users_grade" must not contain underscores.
(#189) Variable "grade_evidence" must not contain underscores.
(#189) Variable "users_grade" must not contain underscores.
(#189) Line exceeds 132 characters; contains 157 characters
(#190) Variable "users_grade" must not contain underscores.
(#191) Variable "grade_evidence" must not contain underscores.
(#193) Variable "credential_id" must not contain underscores.
(#193) Variable "grade_evidence" must not contain underscores.
(#195) Variable "user_id" must not contain underscores.
(#196) Variable "credential_id" must not contain underscores.
(#198) Variable "user_id" must not contain underscores.
(#198) Variable "credential_id" must not contain underscores.
(#199) Variable "user_id" must not contain underscores.
(#199) Variable "credential_id" must not contain underscores.
(#199) Variable "completed_timestamp" must not contain underscores.
(#203) Variable "credential_id" must not contain underscores.
(#204) Variable "user_id" must not contain underscores.
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Variable "accredible_certificate" must not contain underscores.
(#217) Variable "accredible_certificate" must not contain underscores.
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Variable "accredible_certificate" must not contain underscores.
(#227) Variable "db_record" must not contain underscores.
(#228) Variable "db_record" must not contain underscores.
(#229) Variable "db_record" must not contain underscores.
(#230) Variable "db_record" must not contain underscores.
(#231) Variable "db_record" must not contain underscores.
(#232) Variable "db_record" must not contain underscores.
(#233) Variable "db_record" must not contain underscores.
(#234) Variable "db_record" must not contain underscores.
(#235) Variable "db_record" must not contain underscores.
(#237) Variable "db_record" must not contain underscores.
(#238) Variable "db_record" must not contain underscores.
(#239) Variable "db_record" must not contain underscores.
(#240) Variable "db_record" must not contain underscores.
(#241) Variable "db_record" must not contain underscores.
(#242) Variable "db_record" must not contain underscores.
(#243) Variable "db_record" must not contain underscores.
(#244) Variable "db_record" must not contain underscores.
(#245) Variable "db_record" must not contain underscores.
(#248) Variable "db_record" must not contain underscores.
mod/accredible/locallib.php
(#39) Variable "instance_id" must not contain underscores.
(#39) Variable "group_id" must not contain underscores.
(#42) Variable "apiRest" must be all lower-case
(#50) Variable "instance_id" must not contain underscores.
(#52) Variable "accredible_certificate" must not contain underscores.
(#52) Variable "instance_id" must not contain underscores.
(#55) Variable "group_id" must not contain underscores.
(#55) Variable "group_id" must not contain underscores.
(#55) Variable "group_id" must not contain underscores.
(#55) Variable "accredible_certificate" must not contain underscores.
(#59) Variable "apiRest" must be all lower-case
(#59) Variable "group_id" must not contain underscores.
(#59) Line exceeds 132 characters; contains 137 characters
(#67) Line exceeds 132 characters; contains 137 characters
(#73) Variable "apiRest" must be all lower-case
(#73) Line exceeds 132 characters; contains 173 characters
(#81) Line exceeds 132 characters; contains 137 characters
(#93) Variable "group_id" must not contain underscores.
(#96) Variable "page_size" must not contain underscores.
(#99) Variable "loop_limit" must not contain underscores.
(#101) Variable "apiRest" must be all lower-case
(#110) Variable "credentials_page" must not contain underscores.
(#110) Variable "apiRest" must be all lower-case
(#110) Variable "group_id" must not contain underscores.
(#110) Variable "page_size" must not contain underscores.
(#112) Variable "credentials_page" must not contain underscores.
(#119) Variable "credentials_page" must not contain underscores.
(#119) Variable "loop_limit" must not contain underscores.
(#132) Variable "group_id" must not contain underscores.
(#134) Variable "credentials_page" must not contain underscores.
(#145) Variable "group_id" must not contain underscores.
(#148) Variable "apiRest" must be all lower-case
(#150) Variable "apiRest" must be all lower-case
(#150) Variable "group_id" must not contain underscores.
(#158) 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) Variable "group_id" must not contain underscores.
(#162) Variable "group_id" must not contain underscores.
(#192) Variable "users_grade" must not contain underscores.
(#193) Variable "grade_is_high_enough" must not contain underscores.
(#193) Variable "users_grade" must not contain underscores.
(#196) Variable "grade_is_high_enough" must not contain underscores.
(#202) Variable "completion_activities" must not contain underscores.
(#206) Variable "completion_activities" must not contain underscores.
(#207) Variable "completion_activities" must not contain underscores.
(#208) Variable "quiz_attempts" must not contain underscores.
(#209) Variable "quiz_attempts" must not contain underscores.
(#209) Variable "quiz_attempt" must not contain underscores.
(#211) Variable "quiz_attempt" must not contain underscores.
(#211) Variable "quiz_attempt" must not contain underscores.
(#215) Variable "completion_activities" must not contain underscores.
(#215) Variable "quiz_attempt" must not contain underscores.
(#216) Variable "completion_activities" must not contain underscores.
(#216) Variable "quiz_attempt" must not contain underscores.
(#221) Variable "course_complete" must not contain underscores.
(#222) Variable "completion_activities" must not contain underscores.
(#222) Variable "is_complete" must not contain underscores.
(#223) Variable "is_complete" must not contain underscores.
(#224) Variable "course_complete" must not contain underscores.
(#228) Variable "course_complete" must not contain underscores.
(#244) Variable "group_id" must not contain underscores.
(#244) Variable "issued_on" must not contain underscores.
(#247) Variable "apiRest" must be all lower-case
(#250) Variable "apiRest" must be all lower-case
(#250) Variable "group_id" must not contain underscores.
(#250) Variable "issued_on" must not contain underscores.
(#254) Variable "certificate_event" must not contain underscores.
(#258) Variable "issued_on" must not contain underscores.
(#260) Variable "certificate_event" must not contain underscores.
(#270) Variable "group_id" must not contain underscores.
(#270) Line exceeds 132 characters; contains 139 characters
(#280) Variable "achievement_name" must not contain underscores.
(#280) Variable "course_name" must not contain underscores.
(#280) Variable "course_description" must not contain underscores.
(#280) Variable "course_link" must not contain underscores.
(#280) Variable "issued_on" must not contain underscores.
(#280) Expected 1 space before opening brace; found 0
(#280) Line exceeds 132 characters; contains 136 characters
(#283) Variable "apiRest" must be all lower-case
(#286) Variable "apiRest" must be all lower-case
(#286) Variable "achievement_name" must not contain underscores.
(#286) Variable "issued_on" must not contain underscores.
(#286) Variable "course_name" must not contain underscores.
(#286) Variable "course_description" must not contain underscores.
(#286) Variable "course_link" must not contain underscores.
(#286) Line exceeds 132 characters; contains 174 characters
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) Variable "certificate_event" must not contain underscores.
(#294) Variable "certificate_event" must not contain underscores.
(#304) Line exceeds 132 characters; contains 163 characters
(#315) Variable "apiRest" must be all lower-case
(#317) Variable "apiRest" must be all lower-case
(#338) Variable "group_id" must not contain underscores.
(#341) Variable "apiRest" must be all lower-case
(#344) Variable "apiRest" must be all lower-case
(#344) Variable "group_id" must not contain underscores.
(#353) Inline comments must start with a capital letter, digit or 3-dots sequence
(#353) Inline comments must end in full-stops, exclamation marks, or question marks
(#385) Variable "user_id" must not contain underscores.
(#385) Variable "certificate_id" must not contain underscores.
(#385) Variable "quiz_name" must not contain underscores.
(#385) Variable "completed_timestamp" must not contain underscores.
(#385) Line exceeds 132 characters; contains 138 characters
(#388) Variable "completed_timestamp" must not contain underscores.
(#389) Variable "completed_timestamp" must not contain underscores.
(#391) Variable "issued_on" must not contain underscores.
(#391) Variable "completed_timestamp" must not contain underscores.
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#394) Variable "accredible_certificate" must not contain underscores.
(#394) Variable "certificate_id" must not contain underscores.
(#396) Variable "course_url" must not contain underscores.
(#396) Variable "accredible_certificate" must not contain underscores.
(#397) Variable "course_link" must not contain underscores.
(#397) Variable "course_url" must not contain underscores.
(#399) Variable "restApi" must be all lower-case
(#400) Variable "restApi" must be all lower-case
(#400) Variable "accredible_certificate" must not contain underscores.
(#400) Variable "issued_on" must not contain underscores.
(#400) Variable "accredible_certificate" must not contain underscores.
(#400) Variable "accredible_certificate" must not contain underscores.
(#400) Variable "course_link" must not contain underscores.
(#400) Line exceeds maximum limit of 180 characters; contains 220 characters
(#403) Variable "credential_id" must not contain underscores.
(#411) Variable "restApi" must be all lower-case
(#411) Variable "quiz_name" must not contain underscores.
(#411) Variable "credential_id" must not contain underscores.
(#414) Variable "accredible_certificate" must not contain underscores.
(#414) Variable "user_id" must not contain underscores.
(#414) Variable "accredible_certificate" must not contain underscores.
(#415) Variable "credential_id" must not contain underscores.
(#418) Variable "user_id" must not contain underscores.
(#418) Variable "accredible_certificate" must not contain underscores.
(#418) Variable "credential_id" must not contain underscores.
(#419) Variable "user_id" must not contain underscores.
(#419) Variable "accredible_certificate" must not contain underscores.
(#419) Variable "credential_id" must not contain underscores.
(#419) Variable "completed_timestamp" must not contain underscores.
(#427) Variable "certificate_id" must not contain underscores.
(#427) Variable "user_id" must not contain underscores.
(#427) Variable "course_id" must not contain underscores.
(#427) Variable "cm_id" must not contain underscores.
(#431) Variable "accredible_mod" must not contain underscores.
(#432) Variable "cm_id" must not contain underscores.
(#433) Variable "cm_id" must not contain underscores.
(#435) Variable "course_modules" must not contain underscores.
(#435) Variable "course_id" must not contain underscores.
(#435) Variable "accredible_mod" must not contain underscores.
(#436) Variable "course_modules" must not contain underscores.
(#441) Variable "certificate_id" must not contain underscores.
(#443) Variable "user_id" must not contain underscores.
(#460) Variable "accredible_certificate_records" must not contain underscores.
(#461) Variable "accredible_certificate_records" must not contain underscores.
(#470) Variable "existing_certificate" must not contain underscores.
(#473) Variable "existing_certificate" must not contain underscores.
(#474) Variable "users_grade" must not contain underscores.
(#475) Variable "grade_is_high_enough" must not contain underscores.
(#475) Variable "users_grade" must not contain underscores.
(#478) Variable "grade_is_high_enough" must not contain underscores.
(#483) Line exceeds 132 characters; contains 136 characters
(#483) Whitespace found at end of line
(#484) Variable "existing_certificate" must not contain underscores.
(#484) Variable "evidence_item" must not contain underscores.
(#485) Variable "evidence_item" must not contain underscores.
(#486) Variable "highest_grade" must not contain underscores.
(#488) Variable "evidence_item" must not contain underscores.
(#488) Variable "highest_grade" must not contain underscores.
(#489) Variable "existing_certificate" must not contain underscores.
(#489) Variable "evidence_item" must not contain underscores.
(#489) Variable "highest_grade" must not contain underscores.
(#489) Line exceeds 132 characters; contains 139 characters
(#496) Variable "completion_activities" must not contain underscores.
(#498) Variable "completion_activities" must not contain underscores.
(#499) Variable "completion_activities" must not contain underscores.
(#500) Variable "quiz_attempts" must not contain underscores.
(#501) Variable "quiz_attempts" must not contain underscores.
(#501) Variable "quiz_attempt" must not contain underscores.
(#503) Variable "quiz_attempt" must not contain underscores.
(#503) Variable "quiz_attempt" must not contain underscores.
(#507) Variable "completion_activities" must not contain underscores.
(#507) Variable "quiz_attempt" must not contain underscores.
(#508) Variable "completion_activities" must not contain underscores.
(#508) Variable "quiz_attempt" must not contain underscores.
(#513) Variable "course_complete" must not contain underscores.
(#514) Variable "completion_activities" must not contain underscores.
(#514) Variable "is_complete" must not contain underscores.
(#515) Variable "is_complete" must not contain underscores.
(#516) Variable "course_complete" must not contain underscores.
(#520) Variable "course_complete" must not contain underscores.
(#521) Variable "existing_certificate" must not contain underscores.
(#522) Inline comments must start with a capital letter, digit or 3-dots sequence
(#522) Inline comments must end in full-stops, exclamation marks, or question marks
(#523) Variable "existing_certificate" must not contain underscores.
(#524) Inline comments must start with a capital letter, digit or 3-dots sequence
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
(#533) Variable "existing_certificate" must not contain underscores.
(#538) Variable "existing_certificate" must not contain underscores.
(#539) Variable "users_grade" must not contain underscores.
(#540) Variable "grade_is_high_enough" must not contain underscores.
(#540) Variable "users_grade" must not contain underscores.
(#543) Variable "grade_is_high_enough" must not contain underscores.
(#545) Variable "api_response" must not contain underscores.
(#545) Variable "users_grade" must not contain underscores.
(#545) Line exceeds 132 characters; contains 168 characters
(#546) Variable "certificate_event" must not contain underscores.
(#547) Variable "api_response" must not contain underscores.
(#551) Variable "certificate_event" must not contain underscores.
(#555) Variable "existing_certificate" must not contain underscores.
(#555) Variable "evidence_item" must not contain underscores.
(#556) Variable "evidence_item" must not contain underscores.
(#557) Variable "highest_grade" must not contain underscores.
(#558) Inline comments must start with a capital letter, digit or 3-dots sequence
(#558) Inline comments must end in full-stops, exclamation marks, or question marks
(#559) Variable "evidence_item" must not contain underscores.
(#559) Variable "highest_grade" must not contain underscores.
(#560) Variable "existing_certificate" must not contain underscores.
(#560) Variable "evidence_item" must not contain underscores.
(#560) Variable "highest_grade" must not contain underscores.
(#560) Line exceeds 132 characters; contains 139 characters
(#567) Variable "completion_activities" must not contain underscores.
(#568) Inline comments must start with a capital letter, digit or 3-dots sequence
(#568) Inline comments must end in full-stops, exclamation marks, or question marks
(#569) Variable "completion_activities" must not contain underscores.
(#570) Variable "completion_activities" must not contain underscores.
(#571) Variable "quiz_attempts" must not contain underscores.
(#572) Variable "quiz_attempts" must not contain underscores.
(#572) Variable "quiz_attempt" must not contain underscores.
(#573) Inline comments must start with a capital letter, digit or 3-dots sequence
(#573) Inline comments must end in full-stops, exclamation marks, or question marks
(#574) Variable "quiz_attempt" must not contain underscores.
(#574) Variable "quiz_attempt" must not contain underscores.
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#577) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) Variable "completion_activities" must not contain underscores.
(#578) Variable "quiz_attempt" must not contain underscores.
(#579) Variable "completion_activities" must not contain underscores.
(#579) Variable "quiz_attempt" must not contain underscores.
(#583) Inline comments must start with a capital letter, digit or 3-dots sequence
(#584) Variable "course_complete" must not contain underscores.
(#585) Variable "completion_activities" must not contain underscores.
(#585) Variable "is_complete" must not contain underscores.
(#586) Variable "is_complete" must not contain underscores.
(#587) Variable "course_complete" must not contain underscores.
(#590) Inline comments must start with a capital letter, digit or 3-dots sequence
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#591) Variable "course_complete" must not contain underscores.
(#592) Variable "existing_certificate" must not contain underscores.
(#595) Inline comments must start with a capital letter, digit or 3-dots sequence
(#595) Inline comments must end in full-stops, exclamation marks, or question marks
(#596) Variable "existing_certificate" must not contain underscores.
(#597) Inline comments must start with a capital letter, digit or 3-dots sequence
(#597) Inline comments must end in full-stops, exclamation marks, or question marks
(#598) Variable "api_response" must not contain underscores.
(#598) Line exceeds 132 characters; contains 153 characters
(#599) Variable "certificate_event" must not contain underscores.
(#600) Variable "api_response" must not contain underscores.
(#604) Variable "certificate_event" must not contain underscores.
(#627) Inline comments must end in full-stops, exclamation marks, or question marks
(#628) Variable "accredible_certificate_records" must not contain underscores.
(#629) Variable "accredible_certificate_records" must not contain underscores.
(#630) Inline comments must start with a capital letter, digit or 3-dots sequence
(#630) Inline comments must end in full-stops, exclamation marks, or question marks
(#633) Inline comments must end in full-stops, exclamation marks, or question marks
(#635) Inline comments must start with a capital letter, digit or 3-dots sequence
(#635) Inline comments must end in full-stops, exclamation marks, or question marks
(#639) Variable "api_response" must not contain underscores.
(#639) Line exceeds 132 characters; contains 141 characters
(#640) Variable "certificate_event" must not contain underscores.
(#641) Variable "api_response" must not contain underscores.
(#645) Variable "certificate_event" must not contain underscores.
(#654) Variable "certificate_id" must not contain underscores.
(#654) Variable "evidence_item_id" must not contain underscores.
(#657) Variable "certificate_id" must not contain underscores.
(#657) Variable "evidence_item_id" must not contain underscores.
(#667) Variable "course_id" must not contain underscores.
(#667) Variable "user_id" must not contain underscores.
(#667) Variable "final_quiz_id" must not contain underscores.
(#670) Variable "total_items" must not contain underscores.
(#671) Variable "total_score" must not contain underscores.
(#672) Variable "items_completed" must not contain underscores.
(#673) Variable "transcript_items" must not contain underscores.
(#674) Variable "course_id" must not contain underscores.
(#676) Inline comments must start with a capital letter, digit or 3-dots sequence
(#676) Inline comments must end in full-stops, exclamation marks, or question marks
(#678) Variable "final_quiz_id" must not contain underscores.
(#679) Variable "highest_grade" must not contain underscores.
(#679) Variable "user_id" must not contain underscores.
(#680) Variable "highest_grade" must not contain underscores.
(#681) Variable "items_completed" must not contain underscores.
(#682) Variable "transcript_items" must not contain underscores.
(#684) Variable "highest_grade" must not contain underscores.
(#686) Variable "total_score" must not contain underscores.
(#686) Variable "highest_grade" must not contain underscores.
(#688) Variable "total_items" must not contain underscores.
(#692) Inline comments must start with a capital letter, digit or 3-dots sequence
(#693) Inline comments must end in full-stops, exclamation marks, or question marks
(#694) Variable "items_completed" must not contain underscores.
(#694) Variable "total_items" must not contain underscores.
(#694) Variable "total_score" must not contain underscores.
(#694) Variable "items_completed" must not contain underscores.
(#697) Variable "transcript_items" must not contain underscores.
(#707) Variable "credential_id" must not contain underscores.
(#707) Variable "evidence_item" must not contain underscores.
(#707) Variable "allow_exceptions" must not contain underscores.
(#710) Variable "credential_id" must not contain underscores.
(#712) Variable "evidence_item" must not contain underscores.
(#717) Variable "allow_exceptions" must not contain underscores.
(#718) Inline comments must start with a capital letter, digit or 3-dots sequence
(#721) Inline comments must end in full-stops, exclamation marks, or question marks
(#722) Variable "credential_id" must not contain underscores.
(#722) Line exceeds 132 characters; contains 144 characters
(#727) Variable "achievement_id" must not contain underscores.
(#729) Variable "existing_certificate" must not contain underscores.
(#730) Variable "achievement_id" must not contain underscores.
(#734) Variable "existing_certificate" must not contain underscores.
(#737) Variable "existing_certificate" must not contain underscores.
(#740) Variable "completion_array" must not contain underscores.
(#741) Variable "completion_array" must not contain underscores.
(#744) Variable "completion_object" must not contain underscores.
(#745) Variable "completion_object" must not contain underscores.
(#748) Variable "user_id" must not contain underscores.
(#748) Variable "course_id" must not contain underscores.
(#748) Variable "credential_id" must not contain underscores.
(#752) Variable "course_id" must not contain underscores.
(#754) Variable "evidence_item" must not contain underscores.
(#756) Variable "quiz_attempt" must not contain underscores.
(#756) Variable "user_id" must not contain underscores.
(#756) Line exceeds 132 characters; contains 135 characters
(#758) Variable "quiz_attempt" must not contain underscores.
(#778) Variable "quiz_attempt" must not contain underscores.
(#779) Variable "questions_output" must not contain underscores.
(#779) Line exceeds maximum limit of 180 characters; contains 372 characters
(#780) Variable "questions_output" must not contain underscores.
(#781) Variable "questions_output" must not contain underscores.
(#782) Variable "questions_output" must not contain underscores.
(#782) Line exceeds 132 characters; contains 153 characters
(#785) Variable "questions_output" must not contain underscores.
(#786) Variable "questions_output" must not contain underscores.
(#789) Variable "questions_output" must not contain underscores.
(#791) Variable "evidence_item" must not contain underscores.
(#791) Variable "questions_output" must not contain underscores.
(#792) Variable "evidence_item" must not contain underscores.
(#794) Inline comments must start with a capital letter, digit or 3-dots sequence
(#794) Inline comments must end in full-stops, exclamation marks, or question marks
(#795) Variable "credential_id" must not contain underscores.
(#795) Variable "evidence_item" must not contain underscores.
(#803) Variable "user_id" must not contain underscores.
(#803) Variable "course_id" must not contain underscores.
(#803) Variable "credential_id" must not contain underscores.
(#803) Variable "completed_timestamp" must not contain underscores.
(#809) Variable "user_id" must not contain underscores.
(#809) Variable "course_id" must not contain underscores.
(#810) Variable "enrolment_timestamp" must not contain underscores.
(#812) Variable "completed_timestamp" must not contain underscores.
(#813) Variable "completed_timestamp" must not contain underscores.
(#816) Variable "enrolment_timestamp" must not contain underscores.
(#816) Variable "enrolment_timestamp" must not contain underscores.
(#816) Variable "enrolment_timestamp" must not contain underscores.
(#816) Variable "completed_timestamp" must not contain underscores.
(#817) Variable "apiRest" must be all lower-case
(#819) Variable "apiRest" must be all lower-case
(#819) Variable "enrolment_timestamp" must not contain underscores.
(#819) Variable "completed_timestamp" must not contain underscores.
(#819) Variable "credential_id" must not contain underscores.
(#831) Variable "accredible_record" must not contain underscores.
(#834) Variable "completed_timestamp" must not contain underscores.
(#836) Variable "accredible_record" must not contain underscores.
(#839) Variable "accredible_record" must not contain underscores.
(#841) Variable "highest_attempt" must not contain underscores.
(#843) Variable "quiz_attempts" must not contain underscores.
(#843) Variable "accredible_record" must not contain underscores.
(#843) Line exceeds 132 characters; contains 153 characters
(#844) Variable "quiz_attempts" must not contain underscores.
(#844) Variable "quiz_attempt" must not contain underscores.
(#845) Variable "highest_attempt" must not contain underscores.
(#847) Variable "highest_attempt" must not contain underscores.
(#847) Variable "quiz_attempt" must not contain underscores.
(#851) Variable "quiz_attempt" must not contain underscores.
(#851) Variable "highest_attempt" must not contain underscores.
(#855) Inline comments must end in full-stops, exclamation marks, or question marks
(#856) Variable "highest_attempt" must not contain underscores.
(#856) Variable "quiz_attempt" must not contain underscores.
(#860) Variable "highest_attempt" must not contain underscores.
(#862) Variable "highest_attempt" must not contain underscores.
(#865) Variable "accredible_record" must not contain underscores.
(#866) Variable "completed_timestamp" must not contain underscores.
(#866) Variable "highest_attempt" must not contain underscores.
(#875) Variable "completed_timestamp" must not contain underscores.
(#876) Variable "completed_timestamp" must not contain underscores.
(#879) Variable "completed_timestamp" must not contain underscores.
(#901) Variable "api_endpoint" must not contain underscores.
(#903) Variable "api_endpoint" must not contain underscores.
(#906) Spaces must be used to indent lines; tabs are not allowed
(#906) Tab found within whitespace
(#906) Line indented incorrectly; expected at least 4 spaces, found 1
(#906) Variable "dev_api_endpoint" must not contain underscores.
(#907) Spaces must be used to indent lines; tabs are not allowed
(#907) Tab found within whitespace
(#907) Line indented incorrectly; expected 4 spaces, found 1
(#907) Expected "if (...) {\n"; found "if(...) {\n"
(#907) Variable "dev_api_endpoint" must not contain underscores.
(#908) Spaces must be used to indent lines; tabs are not allowed
(#908) Tab found within whitespace
(#908) Line indented incorrectly; expected at least 8 spaces, found 2
(#908) Variable "api_endpoint" must not contain underscores.
(#908) Variable "dev_api_endpoint" must not contain underscores.
(#909) Spaces must be used to indent lines; tabs are not allowed
(#909) Tab found within whitespace
(#909) Line indented incorrectly; expected 4 spaces, found 1
(#911) Variable "api_endpoint" must not contain underscores.
mod/accredible/mod_form.php
(#18) Expected 1 space(s) before asterisk; 0 found
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) 3 slashes comments are not allowed; use "// Comment." instead
(#27) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#30) "require_once" must be immediately followed by an open parenthesis
(#38) Visibility must be declared on method "definition"
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#52) Expected "if (...) {\n"; found "if(...){\n"
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Expected "if (...) {\n"; found "if(...) {\n"
(#58) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Variable "cm_id" must not contain underscores.
(#64) Variable "cm_id" must not contain underscores.
(#66) Expected 1 space before "=>"; 0 found
(#67) Variable "accredible_certificate" must not contain underscores.
(#67) Expected 1 space before "=>"; 0 found
(#68) Expected "} else if (...) {\n"; found "} else if(...) { // New form init\n"
(#68) Expected "if (...) {\n"; found "if(...) { // New form init\n"
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Expected 1 space after "="; 2 found
(#70) Expected 1 space before "=>"; 0 found
(#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
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "quiz_choices" must not contain underscores.
(#81) Expected "if (...) {\n"; found "if(...) {\n"
(#82) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#82) Space found after opening bracket of FOREACH loop
(#82) Space found before closing bracket of FOREACH loop
(#82) Whitespace found at end of line
(#83) Variable "quiz_choices" must not contain underscores.
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Line exceeds 132 characters; contains 136 characters
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#100) Expected "if (...) {\n"; found "if(...) {\n"
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Expected "if (...) {\n"; found "if(...){\n"
(#105) Variable "accredible_certificate" must not contain underscores.
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Variable "accredible_certificate" must not contain underscores.
(#114) Expected "if (...) {\n"; found "if(...){\n"
(#114) Variable "accredible_certificate" must not contain underscores.
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Expected "if (...) {\n"; found "if(...) {\n"
(#123) Line exceeds 132 characters; contains 133 characters
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#125) Line exceeds 132 characters; contains 135 characters
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#130) Line exceeds 132 characters; contains 176 characters
(#134) Expected "if (...) {\n"; found "if(...) {\n"
(#135) Line exceeds 132 characters; contains 152 characters
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Variable "accredible_certificate" must not contain underscores.
(#143) Variable "accredible_certificate" must not contain underscores.
(#145) Usage of ELSEIF not allowed; use ELSE IF instead
(#145) Variable "accredible_certificate" must not contain underscores.
(#146) Variable "accredible_certificate" must not contain underscores.
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Expected "if (...) {\n"; found "if(...) {\n"
(#154) Variable "accredible_certificate" must not contain underscores.
(#155) Variable "users_earned_certificate" must not contain underscores.
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Variable "users_earned_certificate" must not contain underscores.
(#161) Variable "users_earned_certificate" must not contain underscores.
(#162) Variable "unissued_header" must not contain underscores.
(#163) Variable "users_earned_certificate" must not contain underscores.
(#164) Variable "existing_certificate" must not contain underscores.
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Variable "existing_certificate" must not contain underscores.
(#175) Variable "existing_certificate" must not contain underscores.
(#176) Variable "unissued_header" must not contain underscores.
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Variable "unissued_header" must not contain underscores.
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Line exceeds 132 characters; contains 179 characters
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Expected "if (...) {\n"; found "if(...) {\n"
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Expected "if (...) {\n"; found "if(...){\n"
(#197) Variable "accredible_certificate" must not contain underscores.
(#198) Variable "accredible_certificate" must not contain underscores.
(#200) Variable "accredible_certificate" must not contain underscores.
(#202) Whitespace found at end of line
(#204) Variable "cert_id" must not contain underscores.
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Expected "if (...) {\n"; found "if(...) {\n"
(#208) Variable "cert_id" must not contain underscores.
(#209) Expected "if (...) {\n"; found "if(...) {\n"
(#210) Variable "cert_link" must not contain underscores.
(#212) Variable "cert_link" must not contain underscores.
(#212) Variable "cert_id" 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) Expected "if (...) {\n"; found "if(...) {\n"
(#217) Variable "cert_id" must not contain underscores.
(#218) Variable "cert_id" must not contain underscores.
(#218) Line exceeds maximum limit of 180 characters; contains 209 characters
(#220) Expected "} else {\n"; found "} // show a checkbox if they don't\n else {\n"
(#221) Line exceeds 132 characters; contains 171 characters
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Expected "} else {\n"; found "}\n // For new modules, just list all the users\n else {\n"
(#227) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#227) Space found after opening bracket of FOREACH loop
(#227) Space found before closing bracket of FOREACH loop
(#227) Whitespace found at end of line
(#228) Line exceeds 132 characters; contains 167 characters
(#233) Variable "quiz_choices" must not contain underscores.
(#239) Expected "if (...) {\n"; found "if(...) {\n"
(#242) Expected "if (...) {\n"; found "if(...) {\n"
(#242) Variable "accredible_certificate" must not contain underscores.
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) This comment is 61% valid code; is this commented out code?
(#248) Line exceeds 132 characters; contains 142 characters
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) This comment is 60% valid code; is this commented out code?
(#251) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#252) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#253) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Whitespace found at end of line
mod/accredible/view.php
(#33) Variable "accredible_certificate" must not contain underscores.
(#44) Variable "accredible_certificate" must not contain underscores.
(#51) Variable "accredible_certificate" must not contain underscores.
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Variable "accredible_certificate" must not contain underscores.
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Variable "accredible_certificate" must not contain underscores.
(#58) Line exceeds maximum limit of 180 characters; contains 182 characters
(#61) Variable "issue_date" must not contain underscores.
(#61) Space found before semicolon; expected ");" but found ") ;"
(#63) Variable "certificate_link" must not contain underscores.
(#65) Expected "} else {\n"; found "}\n else {\n"
(#66) Variable "certificate_link" must not contain underscores.
(#71) Variable "certificate_link" must not contain underscores.
(#72) Variable "issue_date" must not contain underscores.
(#77) Variable "accredible_certificate" must not contain underscores.
(#78) Expected "if (...) {\n"; found "if (...){\n"
(#78) Variable "accredible_certificate" must not contain underscores.
(#79) Variable "accredible_certificate" must not contain underscores.
(#81) Variable "accredible_certificate" must not contain underscores.
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Variable "users_certificate_link" must not contain underscores.
(#93) Expected "if (...) {\n"; found "if (...){ // legacy achievment ID\n"
(#93) Variable "accredible_certificate" must not contain underscores.
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Variable "accredible_certificate" must not contain underscores.
(#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
(#96) Variable "accredible_certificate" must not contain underscores.
(#99) Expected "if (...) {\n"; found "if (...){\n"
(#99) Variable "accredible_certificate" must not contain underscores.
(#100) Variable "users_certificate_link" must not contain underscores.
(#100) Variable "accredible_certificate" must not contain underscores.
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Line indented incorrectly; expected at least 8 spaces, found 4
(#106) Variable "users_certificate_link" must not contain underscores.
(#108) Expected "} else {\n"; found "}\n else {\n"
(#109) Variable "users_certificate_link" must not contain underscores.
(#118) Variable "users_certificate_link" must not contain underscores.
(#128) Expected "if (...) {\n"; found "if (...){\n"
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Line exceeds 132 characters; contains 162 characters
(#131) Line exceeds 132 characters; contains 140 characters
(#133) Line exceeds 132 characters; contains 140 characters
(#139) Variable "users_certificate_link" must not contain underscores.

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

(69 errors, 0 warnings)

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

mod/accredible/classes/Html2Text/Html2Text.php
(#19) Package is not specified for class Html2Text. It is also not specified in file-level phpdocs
(#19) Class Html2Text is not documented
(#141) Function Html2Text::isWhitespace is not documented
(#145) Function Html2Text::nextChildName is not documented
(#167) Function Html2Text::iterateOverNode is not documented
(#134) Phpdocs for function Html2Text::isOfficeDocument has incomplete parameters list
(#33) Inline phpdocs tag {@link DOMDocument} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/accredible/classes/apiRest/apiRest.php
(#22) Package is not specified for class apiRest. It is also not specified in file-level phpdocs
(#22) Class apiRest is not documented
(#27) Function apiRest::__construct is not documented
(#23) Variable apiRest::$api_endpoint is not documented
(#25) Variable apiRest::$token is not documented
(#61) Phpdocs for function apiRest::recipient_sso_link has incomplete parameters list
(#85) Phpdocs for function apiRest::update_group has incomplete parameters list
(#167) Phpdocs for function apiRest::create_evidence_item has incomplete parameters list
(#179) Phpdocs for function apiRest::create_evidence_item_duration has incomplete parameters list
(#230) Phpdocs for function apiRest::create_credential_legacy has incomplete parameters list
(#288) Phpdocs for function apiRest::create_evidence_item_grade has incomplete parameters list
mod/accredible/classes/client/client.php
(#20) Package is not specified for class client. It is also not specified in file-level phpdocs
(#20) Class client is not documented
(#22) Function client::get is not documented
(#26) Function client::post is not documented
(#30) Function client::put is not documented
(#34) Function client::create_req is not documented
mod/accredible/classes/event/certificate_created.php
(#20) Package mod is not valid
(#35) Function certificate_created::init is not documented
(#41) Function certificate_created::get_name is not documented
(#45) Function certificate_created::get_description is not documented
mod/accredible/db/access.php
(#20) Package mod is not valid
mod/accredible/db/events.php
(#20) Package mod is not valid
mod/accredible/db/log.php
(#20) Package mod is not valid
mod/accredible/db/services.php
(#17) File-level phpdocs block is not found
mod/accredible/db/upgrade.php
(#20) Package mod is not valid
(#28) Function xmldb_accredible_upgrade is not documented
mod/accredible/index.php
(#20) Package mod is not valid
mod/accredible/lang/en/accredible.php
(#20) Package mod is not valid
mod/accredible/lang/en/error.php
(#20) Package mod is not valid
mod/accredible/lib.php
(#20) Package mod is not valid
(#32) Phpdocs for function accredible_add_instance has incomplete parameters list
mod/accredible/locallib.php
(#20) Package mod is not valid
(#385) Function accredible_issue_default_certificate is not documented
(#427) Function accredible_log_creation is not documented
(#452) Function accredible_quiz_submission_handler is not documented
(#621) Function accredible_course_completed_handler is not documented
(#654) Function accredible_update_certificate_grade is not documented
(#667) Function accredible_get_transcript is not documented
(#707) Function accredible_post_evidence is not documented
(#727) Function accredible_check_for_existing_certificate is not documented
(#740) Function serialize_completion_array is not documented
(#744) Function unserialize_completion_array is not documented
(#748) Function accredible_post_essay_answers is not documented
(#803) Function accredible_course_duration_evidence is not documented
(#831) Function accredible_manual_issue_completion_timestamp is not documented
(#882) Function number_ending is not documented
(#886) Function seconds_to_str is not documented
(#898) Function get_api_endpoint is not documented
(#35) Phpdocs for function sync_course_with_accredible has incomplete parameters list
(#168) Phpdocs for function accredible_check_if_cert_earned has incomplete parameters list
(#240) Phpdocs for function create_credential has incomplete parameters list
(#276) Phpdocs for function create_credential_legacy has incomplete parameters list
(#308) Phpdocs for function accredible_get_groups has incomplete parameters list
(#334) Phpdocs for function accredible_get_recipient_sso_linik has incomplete parameters list
mod/accredible/mod_form.php
(#20) Package mod is not valid
(#36) Class mod_accredible_mod_form is not documented
(#38) Function mod_accredible_mod_form::definition is not documented
(#27) Found comment starting with three or more slashes
mod/accredible/settings.php
(#20) Package mod is not valid
mod/accredible/version.php
(#20) Package mod is not valid
mod/accredible/view.php
(#20) Package mod is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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