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

(151 errors, 605 warnings)

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

theme/adaptable/classes/activity.php
(#33) Import statements must not begin with a leading backslash
(#139) Short array syntax must be used to define arrays
(#143) There should be a comma after the last array item in a multi-line array.
(#146) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#319) There should be a comma after the last array item in a multi-line array.
(#335) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#557) There should be a comma after the last array item in a multi-line array.
(#580) This comment is 50% valid code; is this commented out code?
(#584) Short array syntax must be used to define arrays
(#594) Short array syntax must be used to define arrays
(#671) Short array syntax must be used to define arrays
(#681) Short array syntax must be used to define arrays
(#688) Short array syntax must be used to define arrays
(#743) Short array syntax must be used to define arrays
(#830) Short array syntax must be used to define arrays
(#960) Short array syntax must be used to define arrays
(#960) Short array syntax must be used to define arrays
(#963) Short array syntax must be used to define arrays
(#963) Short array syntax must be used to define arrays
theme/adaptable/classes/activity_meta.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/admin_setting_markdown.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/admin_settingspage_tabs.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Line exceeds 132 characters; contains 147 characters
(#48) Variable "req_capability" must not contain underscores.
(#48) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#48) Line exceeds 132 characters; contains 138 characters
(#50) Variable "req_capability" must not contain underscores.
(#62) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#126) Line exceeds 132 characters; contains 151 characters
theme/adaptable/classes/hvp_toolbox.php
(#47) Short array syntax must be used to define arrays
(#49) There should be a comma after the last array item in a multi-line array.
theme/adaptable/classes/observer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/core/course_renderer.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#133) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#148) There should be a comma after the last array item in a multi-line array.
(#160) Short array syntax must be used to define arrays
(#161) There should be a comma after the last array item in a multi-line array.
(#164) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#254) There should be a comma after the last array item in a multi-line array.
(#258) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#270) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#292) Short array syntax must be used to define arrays
(#293) There should be a comma after the last array item in a multi-line array.
(#297) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#297) Line exceeds 132 characters; contains 133 characters
(#298) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#305) There should be a comma after the last array item in a multi-line array.
(#308) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#404) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#520) Short array syntax must be used to define arrays
(#527) Short array syntax must be used to define arrays
(#529) There should be a comma after the last array item in a multi-line array.
(#534) Short array syntax must be used to define arrays
(#535) There should be a comma after the last array item in a multi-line array.
(#547) Short array syntax must be used to define arrays
(#551) There should be a comma after the last array item in a multi-line array.
(#556) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#596) Short array syntax must be used to define arrays
(#598) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#610) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
theme/adaptable/classes/output/core_renderer.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/core_renderer_maintenance.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/core_renderer_toolbox.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#68) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#245) Short array syntax must be used to define arrays
(#246) There should be a comma after the last array item in a multi-line array.
(#247) Short array syntax must be used to define arrays
(#248) There should be a comma after the last array item in a multi-line array.
(#249) Short array syntax must be used to define arrays
(#250) There should be a comma after the last array item in a multi-line array.
(#251) Short array syntax must be used to define arrays
(#252) There should be a comma after the last array item in a multi-line array.
(#253) Short array syntax must be used to define arrays
(#254) There should be a comma after the last array item in a multi-line array.
(#256) Short array syntax must be used to define arrays
(#257) There should be a comma after the last array item in a multi-line array.
(#259) Short array syntax must be used to define arrays
(#260) There should be a comma after the last array item in a multi-line array.
(#261) Short array syntax must be used to define arrays
(#262) There should be a comma after the last array item in a multi-line array.
(#263) Short array syntax must be used to define arrays
(#264) There should be a comma after the last array item in a multi-line array.
(#265) Short array syntax must be used to define arrays
(#266) There should be a comma after the last array item in a multi-line array.
(#267) Short array syntax must be used to define arrays
(#268) There should be a comma after the last array item in a multi-line array.
(#269) Short array syntax must be used to define arrays
(#270) There should be a comma after the last array item in a multi-line array.
(#271) Short array syntax must be used to define arrays
(#272) There should be a comma after the last array item in a multi-line array.
(#273) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#280) Short array syntax must be used to define arrays
(#281) There should be a comma after the last array item in a multi-line array.
(#286) Short array syntax must be used to define arrays
(#287) There should be a comma after the last array item in a multi-line array.
(#290) Short array syntax must be used to define arrays
(#291) There should be a comma after the last array item in a multi-line array.
(#365) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#450) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#541) Short array syntax must be used to define arrays
(#801) Short array syntax must be used to define arrays
(#804) Short array syntax must be used to define arrays
(#888) Short array syntax must be used to define arrays
(#889) Short array syntax must be used to define arrays
(#908) Short array syntax must be used to define arrays
(#923) Short array syntax must be used to define arrays
(#925) Short array syntax must be used to define arrays
(#997) Short array syntax must be used to define arrays
(#1040) Short array syntax must be used to define arrays
(#1115) Short array syntax must be used to define arrays
(#1187) Short array syntax must be used to define arrays
(#1256) Short array syntax must be used to define arrays
(#1416) Short array syntax must be used to define arrays
(#1469) Short array syntax must be used to define arrays
(#1471) There should be a comma after the last array item in a multi-line array.
(#1477) Short array syntax must be used to define arrays
(#1479) There should be a comma after the last array item in a multi-line array.
(#1874) Short array syntax must be used to define arrays
(#1882) Short array syntax must be used to define arrays
(#1891) Short array syntax must be used to define arrays
(#1901) Short array syntax must be used to define arrays
(#1912) Short array syntax must be used to define arrays
(#1916) Short array syntax must be used to define arrays
(#1947) Short array syntax must be used to define arrays
(#1953) Short array syntax must be used to define arrays
(#2013) Short array syntax must be used to define arrays
(#2024) Short array syntax must be used to define arrays
(#2025) Short array syntax must be used to define arrays
(#2026) Short array syntax must be used to define arrays
(#2027) Short array syntax must be used to define arrays
(#2028) Short array syntax must be used to define arrays
(#2029) Short array syntax must be used to define arrays
(#2029) There should be a comma after the last array item in a multi-line array.
(#2105) Short array syntax must be used to define arrays
(#2117) Short array syntax must be used to define arrays
(#2119) There should be a comma after the last array item in a multi-line array.
(#2300) Line exceeds 132 characters; contains 140 characters
(#2310) Line exceeds 132 characters; contains 139 characters
(#2431) Short array syntax must be used to define arrays
(#2491) Short array syntax must be used to define arrays
(#2493) Short array syntax must be used to define arrays
(#2501) There should be a comma after the last array item in a multi-line array.
(#2543) Short array syntax must be used to define arrays
(#2695) Short array syntax must be used to define arrays
(#2696) Short array syntax must be used to define arrays
(#2731) Short array syntax must be used to define arrays
(#2847) Short array syntax must be used to define arrays
(#2921) Short array syntax must be used to define arrays
(#2929) There should be a comma after the last array item in a multi-line array.
(#2944) Short array syntax must be used to define arrays
(#2961) Short array syntax must be used to define arrays
(#2962) There should be a comma after the last array item in a multi-line array.
(#2965) Short array syntax must be used to define arrays
(#2990) Short array syntax must be used to define arrays
(#2993) There should be a comma after the last array item in a multi-line array.
(#3080) Short array syntax must be used to define arrays
(#3084) Short array syntax must be used to define arrays
(#3099) Short array syntax must be used to define arrays
(#3099) Short array syntax must be used to define arrays
(#3102) Short array syntax must be used to define arrays
(#3102) Short array syntax must be used to define arrays
(#3108) Short array syntax must be used to define arrays
(#3110) Short array syntax must be used to define arrays
(#3142) Short array syntax must be used to define arrays
(#3183) Short array syntax must be used to define arrays
(#3188) Short array syntax must be used to define arrays
(#3189) Short array syntax must be used to define arrays
(#3275) Short array syntax must be used to define arrays
(#3290) Short array syntax must be used to define arrays
(#3355) Short array syntax must be used to define arrays
(#3357) Short array syntax must be used to define arrays
(#3518) Short array syntax must be used to define arrays
(#3548) There should be a comma after the last array item in a multi-line array.
theme/adaptable/classes/output/core_user/myprofile/editprofile.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#56) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#75) Short array syntax must be used to define arrays
(#79) There should be a comma after the last array item in a multi-line array.
(#86) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
(#92) Short array syntax must be used to define arrays
(#95) There should be a comma after the last array item in a multi-line array.
(#98) Short array syntax must be used to define arrays
(#104) There should be a comma after the last array item in a multi-line array.
(#131) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#186) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#194) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#240) Short array syntax must be used to define arrays
theme/adaptable/classes/output/core_user/myprofile/editprofile_form.php
(#31) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#103) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
theme/adaptable/classes/output/core_user/myprofile/renderer.php
(#76) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#232) There should be a comma after the last array item in a multi-line array.
(#241) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#248) There should be a comma after the last array item in a multi-line array.
(#252) There should be a comma after the last array item in a multi-line array.
(#259) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#264) Short array syntax must be used to define arrays
(#266) There should be a comma after the last array item in a multi-line array.
(#291) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#372) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#583) Line exceeds 132 characters; contains 135 characters
(#586) Line exceeds 132 characters; contains 141 characters
(#634) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#680) Short array syntax must be used to define arrays
(#682) Short array syntax must be used to define arrays
theme/adaptable/classes/output/courseinfo.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#61) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
theme/adaptable/classes/output/mod_forum/email/renderer_htmlemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mod_forum/email/renderer_textemail.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mod_forum/emaildigestbasic/renderer_htmlemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mod_forum/emaildigestbasic/renderer_textemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mod_forum/emaildigestfull/renderer_htmlemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mod_forum/emaildigestfull/renderer_textemail.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/mustache_filesystemstring_loader.php
(#40) Short array syntax must be used to define arrays
theme/adaptable/classes/output/mustache_renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/output/topcoll_course_renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#58) Short array syntax must be used to define arrays
theme/adaptable/classes/privacy/provider.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/toolbox.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#97) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#256) There should be a comma after the last array item in a multi-line array.
(#293) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#300) There should be a comma after the last array item in a multi-line array.
(#400) Short array syntax must be used to define arrays
(#402) There should be a comma after the last array item in a multi-line array.
(#425) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#455) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
theme/adaptable/classes/traits/null_object.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/classes/traits/single_section_page.php
(#78) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#109) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#138) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#309) There should be a comma after the last array item in a multi-line array.
(#315) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#338) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
theme/adaptable/config.php
(#45) Short array syntax must be used to define arrays
(#73) There should be a comma after the last array item in a multi-line array.
(#77) Short array syntax must be used to define arrays
(#93) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#121) There should be a comma after the last array item in a multi-line array.
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#131) There should be a comma after the last array item in a multi-line array.
(#141) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#175) There should be a comma after the last array item in a multi-line array.
(#178) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#181) There should be a comma after the last array item in a multi-line array.
(#185) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#195) There should be a comma after the last array item in a multi-line array.
(#198) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#210) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
(#223) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#257) There should be a comma after the last array item in a multi-line array.
theme/adaptable/db/caches.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#45) Short array syntax must be used to define arrays
(#49) There should be a comma after the last array item in a multi-line array.
(#52) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#57) There should be a comma after the last array item in a multi-line array.
theme/adaptable/db/events.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
theme/adaptable/db/upgrade.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/jquery/plugins.php
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
theme/adaptable/layout/course.php
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#51) There should be a comma after the last array item in a multi-line array.
(#51) There should be a comma after the last array item in a multi-line array.
(#98) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#234) There should be a comma after the last array item in a multi-line array.
theme/adaptable/layout/dashboard.php
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#37) Line exceeds 132 characters; contains 137 characters
(#57) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
theme/adaptable/layout/embedded.php
(#41) Short array syntax must be used to define arrays
theme/adaptable/layout/includes/footer.php
(#89) There should be a comma after the last array item in a multi-line array.
theme/adaptable/layout/includes/head.php
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
theme/adaptable/layout/includes/header.php
(#46) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#144) There should be a comma after the last array item in a multi-line array.
(#159) There should be a comma after the last array item in a multi-line array.
(#168) There should be a comma after the last array item in a multi-line array.
(#191) Short array syntax must be used to define arrays
(#192) There should be a comma after the last array item in a multi-line array.
(#238) There should be a comma after the last array item in a multi-line array.
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#323) Line exceeds 132 characters; contains 146 characters
(#331) There should be a comma after the last array item in a multi-line array.
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#333) Line exceeds 132 characters; contains 142 characters
(#340) There should be a comma after the last array item in a multi-line array.
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#342) Line exceeds 132 characters; contains 142 characters
(#347) There should be a comma after the last array item in a multi-line array.
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#349) Line exceeds 132 characters; contains 142 characters
(#359) There should be a comma after the last array item in a multi-line array.
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
(#361) Line exceeds 132 characters; contains 142 characters
theme/adaptable/layout/includes/noheader.php
(#57) Short array syntax must be used to define arrays
theme/adaptable/lib.php
(#58) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#100) Line exceeds 132 characters; contains 133 characters
(#101) Line exceeds 132 characters; contains 139 characters
(#102) Line exceeds 132 characters; contains 139 characters
(#127) Short array syntax must be used to define arrays
(#331) There should be a comma after the last array item in a multi-line array.
(#442) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#459) There should be a comma after the last array item in a multi-line array.
(#462) Short array syntax must be used to define arrays
(#463) There should be a comma after the last array item in a multi-line array.
(#472) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#511) This comment is 50% valid code; is this commented out code?
(#647) Short array syntax must be used to define arrays
(#665) Short array syntax must be used to define arrays
(#715) Short array syntax must be used to define arrays
(#717) Short array syntax must be used to define arrays
(#788) Short array syntax must be used to define arrays
(#796) Short array syntax must be used to define arrays
(#888) Short array syntax must be used to define arrays
theme/adaptable/libs/admin_confightmleditor.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#83) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#237) There should be a comma after the last array item in a multi-line array.
theme/adaptable/renderers.php
(#33) Import statements must not begin with a leading backslash
theme/adaptable/settings/adaptable_admin_setting_configtemplate.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#117) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#126) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/adaptable_admin_setting_getprops.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#114) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#124) There should be a comma after the last array item in a multi-line array.
(#129) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
theme/adaptable/settings/adaptable_admin_setting_putprops.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
theme/adaptable/settings/alert_box.php
(#55) Short array syntax must be used to define arrays
(#59) There should be a comma after the last array item in a multi-line array.
(#120) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#133) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/array_definitions.php
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#118) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
(#130) Short array syntax must be used to define arrays
(#136) There should be a comma after the last array item in a multi-line array.
(#139) Short array syntax must be used to define arrays
(#145) There should be a comma after the last array item in a multi-line array.
(#149) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#213) There should be a comma after the last array item in a multi-line array.
(#216) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
(#221) Short array syntax must be used to define arrays
(#224) There should be a comma after the last array item in a multi-line array.
(#227) Short array syntax must be used to define arrays
(#229) There should be a comma after the last array item in a multi-line array.
(#232) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#250) There should be a comma after the last array item in a multi-line array.
(#252) Short array syntax must be used to define arrays
(#253) There should be a comma after the last array item in a multi-line array.
(#259) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#282) Short array syntax must be used to define arrays
(#284) There should be a comma after the last array item in a multi-line array.
(#288) Short array syntax must be used to define arrays
(#1566) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/buttons.php
(#192) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#223) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/category_headers.php
(#41) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) There should be a comma after the last array item in a multi-line array.
(#77) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
(#81) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
(#91) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#94) Short array syntax must be used to define arrays
(#95) There should be a comma after the last array item in a multi-line array.
(#102) Short array syntax must be used to define arrays
(#103) There should be a comma after the last array item in a multi-line array.
(#105) Short array syntax must be used to define arrays
(#106) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#110) There should be a comma after the last array item in a multi-line array.
(#118) Short array syntax must be used to define arrays
(#119) There should be a comma after the last array item in a multi-line array.
(#122) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
theme/adaptable/settings/course_formats.php
(#50) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#559) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/fonts.php
(#66) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/footer.php
(#46) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
theme/adaptable/settings/frontpage_courses.php
(#41) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#55) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#105) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/frontpage_ticker.php
(#53) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/header.php
(#47) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#99) There should be a comma after the last array item in a multi-line array.
(#116) Short array syntax must be used to define arrays
(#119) There should be a comma after the last array item in a multi-line array.
(#128) Short array syntax must be used to define arrays
(#131) There should be a comma after the last array item in a multi-line array.
(#147) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
(#165) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#203) There should be a comma after the last array item in a multi-line array.
(#212) Short array syntax must be used to define arrays
(#214) There should be a comma after the last array item in a multi-line array.
(#223) Short array syntax must be used to define arrays
(#225) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/header_user.php
(#39) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/layout.php
(#48) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/layout_responsive.php
(#82) Short array syntax must be used to define arrays
theme/adaptable/settings/login.php
(#51) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#86) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
theme/adaptable/settings/navbar_links.php
(#44) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
theme/adaptable/settings/navbar_settings.php
(#104) Short array syntax must be used to define arrays
(#106) There should be a comma after the last array item in a multi-line array.
(#145) Short array syntax must be used to define arrays
(#148) There should be a comma after the last array item in a multi-line array.
(#176) Short array syntax must be used to define arrays
(#179) There should be a comma after the last array item in a multi-line array.
(#206) Short array syntax must be used to define arrays
(#212) There should be a comma after the last array item in a multi-line array.
(#227) Short array syntax must be used to define arrays
(#231) There should be a comma after the last array item in a multi-line array.
(#273) Short array syntax must be used to define arrays
(#275) There should be a comma after the last array item in a multi-line array.
(#284) Short array syntax must be used to define arrays
(#286) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/print.php
(#39) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
theme/adaptable/settings/templates.php
(#34) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
theme/adaptable/tests/behat/behat_theme_adaptable_behat_admin.php
(#64) Line exceeds 132 characters; contains 140 characters
theme/adaptable/tests/behat/behat_theme_adaptable_behat_blocks.php
(#46) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
theme/adaptable/tests/behat/behat_theme_adaptable_behat_grade.php
(#51) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
theme/adaptable/tests/behat/behat_theme_adaptable_behat_mod_quiz.php
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
theme/adaptable/tests/behat/behat_theme_adaptable_behat_navigation.php
(#28) "require_once" must be immediately followed by an open parenthesis
theme/adaptable/tests/behat/behat_theme_adaptable_behat_permissions.php
(#47) Short array syntax must be used to define arrays
(#85) Line exceeds 132 characters; contains 152 characters
(#96) Short array syntax must be used to define arrays
theme/adaptable/tests/behat/core_auth/behat_theme_adaptable_behat_auth.php
(#37) Duplicate class name "behat_theme_adaptable_behat_auth" found; first defined in /var/lib/jenkins/git_repositories/prechecker/theme/adaptable/tests/behat/behat_theme_adaptable_behat_auth.php on line 34
(#48) Short array syntax must be used to define arrays
(#48) Line exceeds 132 characters; contains 133 characters
theme/adaptable/tests/theme_adaptable_toolbox_test.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) PHPUnit class "theme_adaptable_toolbox_test" does not have any namespace. It is recommended to add it to the "theme_adaptable" namespace, using more levels if needed, in order to match the code being tested
theme/adaptable/version.php
(#37) This comment is 50% valid code; is this commented out code?
(#39) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(18 errors, 104 warnings)

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

theme/adaptable/amd/src/adaptable.js
(#79) Expected space(s) after "catch". (keyword-spacing)
(#106) Unexpected space before function parentheses. (space-before-function-paren)
theme/adaptable/amd/src/bsoptions.js
(#55) Requires a space after '{'. (block-spacing)
(#55) Statement inside of curly braces should be on next line. (brace-style)
(#55) Requires a space before '}'. (block-spacing)
(#55) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#58) Requires a space after '{'. (block-spacing)
(#58) Statement inside of curly braces should be on next line. (brace-style)
(#58) Requires a space before '}'. (block-spacing)
(#58) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#111) There should be no space after '{'. (babel/object-curly-spacing)
(#128) There should be no space after '{'. (babel/object-curly-spacing)
(#133) There should be no space before this paren. (space-in-parens)
(#152) There should be no space after this paren. (space-in-parens)
(#152) There should be no space before this paren. (space-in-parens)
(#152) There should be no space after this paren. (space-in-parens)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#154) There should be no space after this paren. (space-in-parens)
(#154) There should be no space before this paren. (space-in-parens)
(#155) There should be no space after this paren. (space-in-parens)
(#158) There should be no space after this paren. (space-in-parens)
(#158) There should be no space before this paren. (space-in-parens)
(#163) There should be no space after this paren. (space-in-parens)
(#163) Unexpected space before function parentheses. (space-before-function-paren)
(#167) There should be no space after this paren. (space-in-parens)
(#168) There should be no space before '}'. (babel/object-curly-spacing)
(#172) There should be no space before this paren. (space-in-parens)
(#180) Requires a space after '{'. (block-spacing)
(#180) Statement inside of curly braces should be on next line. (brace-style)
(#180) Requires a space before '}'. (block-spacing)
(#180) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
theme/adaptable/amd/src/savebutton.js
(#23) Unexpected confirm. (no-alert)
theme/adaptable/amd/src/utils.js
(#14) There should be no space after this paren. (space-in-parens)
(#14) There should be no space before this paren. (space-in-parens)
(#22) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Missing space before opening brace. (space-before-blocks)
theme/adaptable/amd/src/zoomin.js
(#27) There should be no space before this paren. (space-in-parens)
theme/adaptable/jquery/adaptable_v2_1_1_2.js
(#27) 'jQuery' is not defined. (no-undef)
(#31) Expected space(s) after "if". (keyword-spacing)
(#38) This line has a length of 151. Maximum allowed is 132. (max-len)
(#38) Extra space after key 'namespace'. (key-spacing)
(#38) Multiple spaces found before '// New: {NEW} ...'. (no-multi-spaces)
(#39) This line has a length of 165. Maximum allowed is 132. (max-len)
(#39) Extra space after key 'selector'. (key-spacing)
(#39) Multiple spaces found before '// New: {NEW} ...'. (no-multi-spaces)
(#40) Extra space after key 'animation'. (key-spacing)
(#40) Multiple spaces found before '// String: Sel...'. (no-multi-spaces)
(#41) This line has a length of 161. Maximum allowed is 132. (max-len)
(#41) Extra space after key 'easing'. (key-spacing)
(#41) Multiple spaces found before '// {NEW} Strin...'. (no-multi-spaces)
(#42) Extra space after key 'direction'. (key-spacing)
(#42) Multiple spaces found before '// String: Sel...'. (no-multi-spaces)
(#43) Extra space after key 'reverse'. (key-spacing)
(#43) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#44) This line has a length of 160. Maximum allowed is 132. (max-len)
(#44) Extra space after key 'animationLoop'. (key-spacing)
(#44) Multiple spaces found before '// Boolean: Sh...'. (no-multi-spaces)
(#45) This line has a length of 136. Maximum allowed is 132. (max-len)
(#45) Extra space after key 'smoothHeight'. (key-spacing)
(#45) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#46) This line has a length of 140. Maximum allowed is 132. (max-len)
(#46) Extra space after key 'startAt'. (key-spacing)
(#46) Multiple spaces found before '// Integer: Th...'. (no-multi-spaces)
(#47) Extra space after key 'slideshow'. (key-spacing)
(#47) Multiple spaces found before '// Boolean: An...'. (no-multi-spaces)
(#48) Extra space after key 'slideshowSpeed'. (key-spacing)
(#48) Multiple spaces found before '// Integer: Se...'. (no-multi-spaces)
(#49) Extra space after key 'animationSpeed'. (key-spacing)
(#49) Multiple spaces found before '// Integer: Se...'. (no-multi-spaces)
(#50) Extra space after key 'initDelay'. (key-spacing)
(#50) Multiple spaces found before '// {NEW} Integ...'. (no-multi-spaces)
(#51) Extra space after key 'randomize'. (key-spacing)
(#51) Multiple spaces found before '// Boolean: Ra...'. (no-multi-spaces)
(#54) This line has a length of 144. Maximum allowed is 132. (max-len)
(#54) Extra space after key 'pauseOnAction'. (key-spacing)
(#54) Multiple spaces found before '// Boolean: Pa...'. (no-multi-spaces)
(#55) This line has a length of 147. Maximum allowed is 132. (max-len)
(#55) Extra space after key 'pauseOnHover'. (key-spacing)
(#55) Multiple spaces found before '// Boolean: Pa...'. (no-multi-spaces)
(#56) Extra space after key 'useCSS'. (key-spacing)
(#56) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#57) This line has a length of 138. Maximum allowed is 132. (max-len)
(#57) Extra space after key 'touch'. (key-spacing)
(#57) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#58) This line has a length of 160. Maximum allowed is 132. (max-len)
(#58) Extra space after key 'video'. (key-spacing)
(#58) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#61) This line has a length of 158. Maximum allowed is 132. (max-len)
(#61) Extra space after key 'controlNav'. (key-spacing)
(#61) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#62) Extra space after key 'directionNav'. (key-spacing)
(#62) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#63) Extra space after key 'prevText'. (key-spacing)
(#63) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#64) Extra space after key 'nextText'. (key-spacing)
(#64) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#67) Extra space after key 'keyboard'. (key-spacing)
(#67) Multiple spaces found before '// Boolean: Al...'. (no-multi-spaces)
(#68) This line has a length of 205. Maximum allowed is 132. (max-len)
(#68) Extra space after key 'multipleKeyboard'. (key-spacing)
(#68) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#69) This line has a length of 198. Maximum allowed is 132. (max-len)
(#69) Extra space after key 'mousewheel'. (key-spacing)
(#69) Multiple spaces found before '// {UPDATED} B...'. (no-multi-spaces)
(#70) Extra space after key 'pausePlay'. (key-spacing)
(#70) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#71) Extra space after key 'pauseText'. (key-spacing)
(#71) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#72) Extra space after key 'playText'. (key-spacing)
(#72) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#75) This line has a length of 309. Maximum allowed is 132. (max-len)
(#75) Extra space after key 'controlsContainer'. (key-spacing)
(#75) Multiple spaces found before '// {UPDATED} S...'. (no-multi-spaces)
(#76) This line has a length of 251. Maximum allowed is 132. (max-len)
(#76) Extra space after key 'manualControls'. (key-spacing)
(#76) Multiple spaces found before '// Selector: D...'. (no-multi-spaces)
(#77) This line has a length of 151. Maximum allowed is 132. (max-len)
(#77) Extra space after key 'sync'. (key-spacing)
(#77) Multiple spaces found before '// {NEW} Selec...'. (no-multi-spaces)
(#78) This line has a length of 167. Maximum allowed is 132. (max-len)
(#78) Extra space after key 'asNavFor'. (key-spacing)
(#78) Multiple spaces found before '// {NEW} Selec...'. (no-multi-spaces)

CSS problems

(25 errors, 2 warnings)

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

theme/adaptable/style/custom.css
(#30) Unknown word (CssSyntaxError)
theme/adaptable/scss/nosettings/_blocks.scss
(#26) Expected "#EEE" to be "#eee" (color-hex-case)
(#27) Expected "#BFBDBD" to be "#bfbdbd" (color-hex-case)
theme/adaptable/scss/nosettings/_core.scss
(#42) Unexpected !important (declaration-no-important)
theme/adaptable/scss/nosettings/_form.scss
(#27) Unexpected !important (declaration-no-important)
(#64) Unexpected !important (declaration-no-important)
(#32) Expected indentation of 8 spaces (indentation)
(#33) Expected indentation of 8 spaces (indentation)
(#34) Expected indentation of 8 spaces (indentation)
theme/adaptable/scss/nosettings/_messages.scss
(#70) Unexpected !important (declaration-no-important)
(#77) Unexpected !important (declaration-no-important)
(#83) Unexpected !important (declaration-no-important)
(#91) Unexpected !important (declaration-no-important)
theme/adaptable/scss/nosettings/_user.scss
(#101) Unexpected !important (declaration-no-important)
(#105) Unexpected !important (declaration-no-important)
theme/adaptable/scss/settings/adaptable.scss
(#31) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/blocks.scss
(#49) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/button.scss
(#34) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/categorycustom.scss
(#29) Unknown word (CssSyntaxError)
theme/adaptable/scss/settings/course.scss
(#32) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/extras.scss
(#47) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/login.scss
(#49) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/menu.scss
(#28) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/print.scss
(#118) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/responsive.scss
(#78) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/search.scss
(#26) Missed semicolon (CssSyntaxError)
theme/adaptable/scss/settings/tabs.scss
(#27) Missed semicolon (CssSyntaxError)

PHPDocs style problems

(10 errors, 6 warnings)

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

theme/adaptable/classes/admin_settingspage_tabs.php
(#17) No one-line description found in phpdocs for file
(#26) No one-line description found in phpdocs for class theme_adaptable_admin_settingspage_tabs
(#39) Phpdocs for function theme_adaptable_admin_settingspage_tabs::__construct has incomplete parameters list
theme/adaptable/classes/output/courseinfo.php
(#44) Phpdocs for function courseinfo::export_for_template has incomplete parameters list
theme/adaptable/tests/behat/behat_theme_adaptable_behat_auth.php
(#35) Function behat_theme_adaptable_behat_auth::i_log_out is not documented
(#28) Package is not specified for class behat_theme_adaptable_behat_auth. It is also not specified in file-level phpdocs
theme/adaptable/tests/behat/behat_theme_adaptable_behat_blocks.php
(#30) Package is not specified for class behat_theme_adaptable_behat_blocks. It is also not specified in file-level phpdocs
theme/adaptable/tests/behat/behat_theme_adaptable_behat_grade.php
(#20) Package theme_classic is not valid
theme/adaptable/tests/behat/behat_theme_adaptable_behat_mod_quiz.php
(#32) No one-line description found in phpdocs for class behat_theme_adaptable_behat_mod_quiz
theme/adaptable/tests/behat/behat_theme_adaptable_behat_navigation.php
(#72) Function behat_theme_adaptable_behat_navigation::i_navigate_to_in_current_page_administration is not documented
(#85) Function behat_theme_adaptable_behat_navigation::select_node_in_navigation is not documented
(#96) Function behat_theme_adaptable_behat_navigation::get_top_navigation_node is not documented
(#146) Function behat_theme_adaptable_behat_navigation::i_follow_in_the_user_menu is not documented
(#30) Package is not specified for class behat_theme_adaptable_behat_navigation. It is also not specified in file-level phpdocs
theme/adaptable/tests/behat/behat_theme_adaptable_behat_permissions.php
(#40) Function behat_theme_adaptable_behat_permissions::i_set_the_following_system_permissions_of_role is not documented
(#32) Package is not specified for class behat_theme_adaptable_behat_permissions. It is also not specified in file-level phpdocs

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:scss" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 7 warnings)

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

theme/adaptable/templates/core/loginform.mustache
(#1) HTML Validation info, line 38: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="checkbox" name="rememberusername" id="rememberusername" value="1" /> )
(#1) HTML Validation info, line 57: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="username" value="guest" /> )
(#1) HTML Validation info, line 58: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="password" value="guest" /> )
theme/adaptable/templates/core_course/activity_navigation.mustache
(#1) ESLint warning [consistent-return]: Expected to return a value at the end of function. ( $('#url_select_test').on(CustomEvents.events.accessibleChange, function() {
theme/adaptable/templates/core_message/message_drawer.mustache
(#1) HTML Validation info, line 97: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <span class="badge badge-primary bg-primary ml-2 hidden" data-region="contact-request-count" aria-label="((+pendingcontactrequests%2C+core_message%2C+%7B%7Bcontactrequestcount%7D%7D+))"> )
(#1) HTML Validation info, line 194: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <span class="badge badge-primary bg-primary ml-2 hidden" data-region="contact-request-count" aria-label="((+pendingcontactrequests%2C+core_message%2C+%7B%7Bcontactrequestcount%7D%7D+))"> )
(#1) HTML Validation info, line 614: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <small class="hidden ml-1" data-region="section-total-count-container" aria-label="((+totalconversations%2C+core_message%2C+%7B%7Bcount.total%7D%7D+))"> )
(#1) HTML Validation info, line 677: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <small class="hidden ml-1" data-region="section-total-count-container" aria-label="((+totalconversations%2C+core_message%2C+%7B%7Bcount.total%7D%7D+))"> )
(#1) HTML Validation info, line 740: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <small class="hidden ml-1" data-region="section-total-count-container" aria-label="((+totalconversations%2C+core_message%2C+%7B%7Bcount.total%7D%7D+))"> )
(#1) HTML Validation error, line 901: Bad value “” for attribute “maxlength” on element “textarea”: The empty string is not a valid non-negative integer. ( <textarea dir="auto" data-region="send-message-txt" class="form-control bg-light" rows="3" data-auto-rows data-min-rows="3" data-max-rows="5" aria-label="((+writeamessage%2C+core_message+))" placeholder="((+writeamessage%2C+core_message+))" style="resize: none" maxlength="" ></text)
theme/adaptable/templates/core_message/message_popover.mustache
(#1) HTML Validation info, line 7: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (> <div class="count-container " data-region="count-container" aria-label="((+unreadconversations%2C+core_message%2C+%7B%7Bunreadcount%7D%7D+))">3</div)
theme/adaptable/templates/corepartials/loginguest.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ing"> <input type="hidden" name="username" value="guest" /> <)
(#1) HTML Validation info, line 6: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (t" /> <input type="hidden" name="password" value="guest" /> <)
theme/adaptable/templates/corepartials/loginup.mustache
(#1) HTML Validation info, line 24: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="checkbox" name="rememberusername" id="rememberusername" value="1" /> )
theme/adaptable/templates/headerloginform.mustache
(#1) HTML Validation info, line 3: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ost"> <input type="hidden" name="logintoken" value=""/> <)
theme/adaptable/templates/overlaymenu.mustache
(#1) HTML Validation error, line 16: Attribute value missing. ( <a href="" title=></a> )
theme/adaptable/templates/overlaymenuitem.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class="level-1"> <)
theme/adaptable/templates/savediscard.mustache
(#1) HTML Validation info, line 6: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (p: 5px;"><input id="adminresetbutton" class="form-submit" style="float: right; margin-right: 20px;" type="reset" form="adminsettings" value=" Cancel" /><inpu)
(#1) HTML Validation info, line 7: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ancel" /><input id="adminsubmitbutton" style="float: right; margin-right: 20px;" type="submit" form="adminsettings" value=" Save" /></div)
(#1) HTML Validation error, line 6: The “form” attribute must refer to a form element. (p: 5px;"><input id="adminresetbutton" class="form-submit" style="float: right; margin-right: 20px;" type="reset" form="adminsettings" value=" Cancel" /><inpu)
(#1) HTML Validation error, line 7: The “form” attribute must refer to a form element. (ancel" /><input id="adminsubmitbutton" style="float: right; margin-right: 20px;" type="submit" form="adminsettings" value=" Save" /></div)
theme/adaptable/templates/tabs.mustache
(#1) HTML Validation error, line 2: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><style>#user)
theme/adaptable/templates/tool_usertours/tourstep.mustache
(#1) HTML Validation info, line 6: Empty heading. ( <h5 class="modal-title" data-placeholder="title"></h5>)

Gherkin .feature problems

(0 errors, 0 warnings)

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