Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(159 errors, 592 warnings)

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

course/format/trail/backup/moodle2/backup_format_trail_plugin.class.php
(#44) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
course/format/trail/backup/moodle2/restore_format_trail_plugin.class.php
(#80) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
course/format/trail/classes/observer.php
(#55) Short array syntax must be used to define arrays
course/format/trail/classes/privacy/provider.php
(#43) There must not be a space before the colon in a return type declaration
course/format/trail/db/access.php
(#30) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#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.
(#47) 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
(#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.
(#56) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#71) 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.
(#74) 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
(#80) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#83) There should be a comma after the last array item in a multi-line array.
(#84) There should be a comma after the last array item in a multi-line array.
course/format/trail/db/events.php
(#33) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
course/format/trail/editimage.php
(#46) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
course/format/trail/js/gf_colourpopup.php
(#49) Expected "bool" but found "boolean" for @var tag in member variable comment
(#87) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
course/format/trail/lang/en/format_trail.php
(#33) Unexpected comment found. Auto-fixing will not work after this comment
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#42) Unexpected comment found. Auto-fixing will not work after this comment
(#44) Unexpected comment found. Auto-fixing will not work after this comment
(#45) The string key "sectionname" is not in the correct order, it should be before "topicoutline"
(#46) The string key "pluginname" is not in the correct order, it should be before "sectionname"
(#49) Unexpected comment found. Auto-fixing will not work after this comment
(#51) The string key "closeshadebox" is not in the correct order, it should be before "trailimagecontainer"
(#53) The string key "nextsection" is not in the correct order, it should be before "previoussection"
(#56) Unexpected comment found. Auto-fixing will not work after this comment
(#57) The string key "page-course-view-trail" is not in the correct order, it should be before "shadeboxcontent"
(#60) The string key "addsection" is not in the correct order, it should be before "page-course-view-trail-x"
(#61) Unexpected comment found. Auto-fixing will not work after this comment
(#62) Unexpected comment found. Auto-fixing will not work after this comment
(#63) The string key "currentsection" is not in the correct order, it should be before "showfromothers"
(#63) Unexpected comment found. Auto-fixing will not work after this comment
(#67) Unexpected comment found. Auto-fixing will not work after this comment
(#68) The string key "editsection" is not in the correct order, it should be before "markthissection"
(#69) The string key "deletesection" is not in the correct order, it should be before "editsection"
(#71) Unexpected comment found. Auto-fixing will not work after this comment
(#75) Unexpected comment found. Auto-fixing will not work after this comment
(#78) Unexpected comment found. Auto-fixing will not work after this comment
(#79) The string key "imagecannotbeused" is not in the correct order, it should be before "numbersections"
(#80) The string key "cannotfinduploadedimage" is not in the correct order, it should be before "imagecannotbeused"
(#81) The string key "cannotconvertuploadedimagetodisplayedimage" is not in the correct order, it should be before "cannotfinduploadedimage"
(#84) Unexpected comment found. Auto-fixing will not work after this comment
(#88) The string key "crop" is not in the correct order, it should be before "scale"
(#91) The string key "deleteimage" is not in the correct order, it should be before "imagefile_help"
(#95) The string key "defaultimagecontaineralignment" is not in the correct order, it should be before "gfreset_help"
(#99) The string key "defaultimagecontainerratio" is not in the correct order, it should be before "defaultimagecontainerwidth_desc"
(#103) The string key "defaultbordercolour" is not in the correct order, it should be before "defaultimageresizemethod_desc"
(#111) The string key "defaultcurrentselectedsectioncolour" is not in the correct order, it should be before "defaultimagecontainerbackgroundcolour_desc"
(#113) The string key "defaultcurrentselectedimagecontainertextcolour" is not in the correct order, it should be before "defaultcurrentselectedsectioncolour_desc"
(#115) The string key "defaultcurrentselectedimagecontainercolour" is not in the correct order, it should be before "defaultcurrentselectedimagecontainertextcolour_desc"
(#118) The string key "defaultcoursedisplay" is not in the correct order, it should be before "defaultcurrentselectedimagecontainercolour_desc"
(#131) The string key "setimagecontainerratio" is not in the correct order, it should be before "setimagecontainerwidth_help"
(#135) The string key "setbordercolour" is not in the correct order, it should be before "setimageresizemethod_help"
(#143) The string key "setcurrentselectedsectioncolour" is not in the correct order, it should be before "setimagecontainerbackgroundcolour_help"
(#145) The string key "setcurrentselectedimagecontainertextcolour" is not in the correct order, it should be before "setcurrentselectedsectioncolour_help"
(#147) The string key "setcurrentselectedimagecontainercolour" is not in the correct order, it should be before "setcurrentselectedimagecontainertextcolour_help"
(#153) The string key "setfitsectioncontainertowindow" is not in the correct order, it should be before "setnewactivity_help"
(#156) The string key "colourrule" is not in the correct order, it should be before "setfitsectioncontainertowindow_help"
(#160) Unexpected comment found. Auto-fixing will not work after this comment
(#161) The string key "hidesectiontitle" is not in the correct order, it should be before "sectiontitlefontsizerule"
(#163) The string key "defaulthidesectiontitle" is not in the correct order, it should be before "hidesectiontitle_help"
(#171) The string key "defaultsethidesectionlock" is not in the correct order, it should be before "sethidesectionlock_help"
(#176) The string key "defaultsectiontitletraillengthmaxoption" is not in the correct order, it should be before "sectiontitletraillengthmaxoption_help"
(#179) The string key "sectiontitleboxposition" is not in the correct order, it should be before "sectiontitletraillengthmaxoptionrule"
(#181) The string key "defaultsectiontitleboxposition" is not in the correct order, it should be before "sectiontitleboxposition_help"
(#185) The string key "sectiontitleboxinsideposition" is not in the correct order, it should be before "sectiontitleboxpositionoutside"
(#187) The string key "defaultsectiontitleboxinsideposition" is not in the correct order, it should be before "sectiontitleboxinsideposition_help"
(#190) The string key "sectiontitleboxinsidepositionmiddle" is not in the correct order, it should be before "sectiontitleboxinsidepositiontop"
(#191) The string key "sectiontitleboxinsidepositionbottom" is not in the correct order, it should be before "sectiontitleboxinsidepositionmiddle"
(#192) The string key "sectiontitleboxheight" is not in the correct order, it should be before "sectiontitleboxinsidepositionbottom"
(#194) The string key "defaultsectiontitleboxheight" is not in the correct order, it should be before "sectiontitleboxheight_help"
(#198) The string key "defaultsectiontitleboxopacity" is not in the correct order, it should be before "sectiontitleboxopacity_help"
(#202) The string key "defaultsectiontitlefontsize" is not in the correct order, it should be before "sectiontitlefontsize_help"
(#206) The string key "defaultsectiontitlealignment" is not in the correct order, it should be before "sectiontitlealignment_help"
(#210) The string key "defaultsectiontitleinsidetitletextcolour" is not in the correct order, it should be before "sectiontitleinsidetitletextcolour_help"
(#214) The string key "defaultsectiontitleinsidetitlebackgroundcolour" is not in the correct order, it should be before "sectiontitleinsidetitlebackgroundcolour_help"
(#218) The string key "defaultshowsectiontitlesummary" is not in the correct order, it should be before "showsectiontitlesummary_help"
(#222) The string key "defaultsetshowsectiontitlesummaryposition" is not in the correct order, it should be before "setshowsectiontitlesummaryposition_help"
(#226) The string key "defaultsectiontitlesummarymaxlength" is not in the correct order, it should be before "sectiontitlesummarymaxlength_help"
(#230) The string key "defaultsectiontitlesummarytextcolour" is not in the correct order, it should be before "sectiontitlesummarytextcolour_help"
(#234) The string key "defaultsectiontitlesummarybackgroundcolour" is not in the correct order, it should be before "sectiontitlesummarybackgroundcolour_help"
(#238) The string key "defaultsectiontitlesummarybackgroundopacity" is not in the correct order, it should be before "sectiontitlesummarybackgroundopacity_help"
(#241) The string key "bottom" is not in the correct order, it should be before "top"
(#246) Unexpected comment found. Auto-fixing will not work after this comment
(#250) The string key "tipo_quebra1" is not in the correct order, it should be before "tipo_rio"
(#253) The string key "defaultsetshowbackground" is not in the correct order, it should be before "tipo_tesouro"
(#257) Unexpected comment found. Auto-fixing will not work after this comment
(#258) The string key "none" is not in the correct order, it should be before "setshowbackground_help"
(#259) The string key "check" is not in the correct order, it should be before "none"
(#261) The string key "like" is not in the correct order, it should be before "star"
(#264) The string key "checked" is not in the correct order, it should be before "setshowcheckstar_help"
(#266) Unexpected comment found. Auto-fixing will not work after this comment
(#270) The string key "locked" is not in the correct order, it should be before "mini_lock_tesouro"
(#272) Unexpected comment found. Auto-fixing will not work after this comment
(#274) The string key "resetallgrp" is not in the correct order, it should be before "resetgrp"
(#277) The string key "resetallimagecontaineralignment" is not in the correct order, it should be before "resetimagecontaineralignment_help"
(#281) The string key "resetallimagecontainersize" is not in the correct order, it should be before "resetimagecontainersize_help"
(#285) The string key "resetallimageresizemethod" is not in the correct order, it should be before "resetimageresizemethod_help"
(#289) The string key "resetallimagecontainerstyle" is not in the correct order, it should be before "resetimagecontainerstyle_help"
(#293) The string key "resetallsectiontitleoptions" is not in the correct order, it should be before "resetsectiontitleoptions_help"
(#297) The string key "resetallnewactivity" is not in the correct order, it should be before "resetnewactivity_help"
(#301) The string key "resetallfitpopup" is not in the correct order, it should be before "resetfitpopup_help"
(#307) Unexpected comment found. Auto-fixing will not work after this comment
(#310) The string key "defaultsection0ownpagenotrailonesection" is not in the correct order, it should be before "setsection0ownpagenotrailonesection_help"
(#314) The string key "resetallimagecontainernavigation" is not in the correct order, it should be before "resetimagecontainernavigation_help"
(#317) Unexpected comment found. Auto-fixing will not work after this comment
(#322) The string key "trail:changeimagecontainerstyle" is not in the correct order, it should be before "trail:changeimageresizemethod"
(#325) Unexpected comment found. Auto-fixing will not work after this comment
(#326) The string key "greyouthidden" is not in the correct order, it should be before "trail:changesectiontitleoptions"
(#330) The string key "custommousepointers" is not in the correct order, it should be before "greyouthidden_help"
(#333) Unexpected comment found. Auto-fixing will not work after this comment
course/format/trail/lang/pt_br/format_trail.php
(#33) Unexpected comment found. Auto-fixing will not work after this comment
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#42) Unexpected comment found. Auto-fixing will not work after this comment
(#44) Unexpected comment found. Auto-fixing will not work after this comment
(#45) The string key "sectionname" is not in the correct order, it should be before "topicoutline"
(#46) The string key "pluginname" is not in the correct order, it should be before "sectionname"
(#49) Unexpected comment found. Auto-fixing will not work after this comment
(#51) The string key "closeshadebox" is not in the correct order, it should be before "trailimagecontainer"
(#53) The string key "nextsection" is not in the correct order, it should be before "previoussection"
(#56) Unexpected comment found. Auto-fixing will not work after this comment
(#57) The string key "page-course-view-trail" is not in the correct order, it should be before "shadeboxcontent"
(#60) The string key "addsection" is not in the correct order, it should be before "page-course-view-trail-x"
(#61) Unexpected comment found. Auto-fixing will not work after this comment
(#62) Unexpected comment found. Auto-fixing will not work after this comment
(#63) The string key "currentsection" is not in the correct order, it should be before "showfromothers"
(#63) Unexpected comment found. Auto-fixing will not work after this comment
(#67) Unexpected comment found. Auto-fixing will not work after this comment
(#68) The string key "editsection" is not in the correct order, it should be before "markthissection"
(#69) The string key "deletesection" is not in the correct order, it should be before "editsection"
(#71) Unexpected comment found. Auto-fixing will not work after this comment
(#75) Unexpected comment found. Auto-fixing will not work after this comment
(#78) Unexpected comment found. Auto-fixing will not work after this comment
(#79) The string key "imagecannotbeused" is not in the correct order, it should be before "numbersections"
(#80) The string key "cannotfinduploadedimage" is not in the correct order, it should be before "imagecannotbeused"
(#81) The string key "cannotconvertuploadedimagetodisplayedimage" is not in the correct order, it should be before "cannotfinduploadedimage"
(#84) Unexpected comment found. Auto-fixing will not work after this comment
(#88) The string key "crop" is not in the correct order, it should be before "scale"
(#91) The string key "deleteimage" is not in the correct order, it should be before "imagefile_help"
(#95) The string key "defaultimagecontaineralignment" is not in the correct order, it should be before "gfreset_help"
(#99) The string key "defaultimagecontainerratio" is not in the correct order, it should be before "defaultimagecontainerwidth_desc"
(#103) The string key "defaultbordercolour" is not in the correct order, it should be before "defaultimageresizemethod_desc"
(#111) The string key "defaultcurrentselectedsectioncolour" is not in the correct order, it should be before "defaultimagecontainerbackgroundcolour_desc"
(#113) The string key "defaultcurrentselectedimagecontainertextcolour" is not in the correct order, it should be before "defaultcurrentselectedsectioncolour_desc"
(#115) The string key "defaultcurrentselectedimagecontainercolour" is not in the correct order, it should be before "defaultcurrentselectedimagecontainertextcolour_desc"
(#118) The string key "defaultcoursedisplay" is not in the correct order, it should be before "defaultcurrentselectedimagecontainercolour_desc"
(#131) The string key "setimagecontainerratio" is not in the correct order, it should be before "setimagecontainerwidth_help"
(#135) The string key "setbordercolour" is not in the correct order, it should be before "setimageresizemethod_help"
(#143) The string key "setcurrentselectedsectioncolour" is not in the correct order, it should be before "setimagecontainerbackgroundcolour_help"
(#145) The string key "setcurrentselectedimagecontainertextcolour" is not in the correct order, it should be before "setcurrentselectedsectioncolour_help"
(#147) The string key "setcurrentselectedimagecontainercolour" is not in the correct order, it should be before "setcurrentselectedimagecontainertextcolour_help"
(#153) The string key "setfitsectioncontainertowindow" is not in the correct order, it should be before "setnewactivity_help"
(#156) The string key "colourrule" is not in the correct order, it should be before "setfitsectioncontainertowindow_help"
(#160) Unexpected comment found. Auto-fixing will not work after this comment
(#161) The string key "hidesectiontitle" is not in the correct order, it should be before "sectiontitlefontsizerule"
(#163) The string key "defaulthidesectiontitle" is not in the correct order, it should be before "hidesectiontitle_help"
(#171) The string key "defaultsethidesectionlock" is not in the correct order, it should be before "sethidesectionlock_help"
(#176) The string key "defaultsectiontitletraillengthmaxoption" is not in the correct order, it should be before "sectiontitletraillengthmaxoption_help"
(#179) The string key "sectiontitleboxposition" is not in the correct order, it should be before "sectiontitletraillengthmaxoptionrule"
(#181) The string key "defaultsectiontitleboxposition" is not in the correct order, it should be before "sectiontitleboxposition_help"
(#185) The string key "sectiontitleboxinsideposition" is not in the correct order, it should be before "sectiontitleboxpositionoutside"
(#187) The string key "defaultsectiontitleboxinsideposition" is not in the correct order, it should be before "sectiontitleboxinsideposition_help"
(#190) The string key "sectiontitleboxinsidepositionmiddle" is not in the correct order, it should be before "sectiontitleboxinsidepositiontop"
(#191) The string key "sectiontitleboxinsidepositionbottom" is not in the correct order, it should be before "sectiontitleboxinsidepositionmiddle"
(#192) The string key "sectiontitleboxheight" is not in the correct order, it should be before "sectiontitleboxinsidepositionbottom"
(#194) The string key "defaultsectiontitleboxheight" is not in the correct order, it should be before "sectiontitleboxheight_help"
(#198) The string key "defaultsectiontitleboxopacity" is not in the correct order, it should be before "sectiontitleboxopacity_help"
(#202) The string key "defaultsectiontitlefontsize" is not in the correct order, it should be before "sectiontitlefontsize_help"
(#206) The string key "defaultsectiontitlealignment" is not in the correct order, it should be before "sectiontitlealignment_help"
(#210) The string key "defaultsectiontitleinsidetitletextcolour" is not in the correct order, it should be before "sectiontitleinsidetitletextcolour_help"
(#214) The string key "defaultsectiontitleinsidetitlebackgroundcolour" is not in the correct order, it should be before "sectiontitleinsidetitlebackgroundcolour_help"
(#218) The string key "defaultshowsectiontitlesummary" is not in the correct order, it should be before "showsectiontitlesummary_help"
(#222) The string key "defaultsetshowsectiontitlesummaryposition" is not in the correct order, it should be before "setshowsectiontitlesummaryposition_help"
(#226) The string key "defaultsectiontitlesummarymaxlength" is not in the correct order, it should be before "sectiontitlesummarymaxlength_help"
(#230) The string key "defaultsectiontitlesummarytextcolour" is not in the correct order, it should be before "sectiontitlesummarytextcolour_help"
(#234) The string key "defaultsectiontitlesummarybackgroundcolour" is not in the correct order, it should be before "sectiontitlesummarybackgroundcolour_help"
(#238) The string key "defaultsectiontitlesummarybackgroundopacity" is not in the correct order, it should be before "sectiontitlesummarybackgroundopacity_help"
(#241) The string key "bottom" is not in the correct order, it should be before "top"
(#246) Unexpected comment found. Auto-fixing will not work after this comment
(#250) The string key "tipo_quebra1" is not in the correct order, it should be before "tipo_rio"
(#253) The string key "defaultsetshowbackground" is not in the correct order, it should be before "tipo_tesouro"
(#257) Unexpected comment found. Auto-fixing will not work after this comment
(#258) The string key "none" is not in the correct order, it should be before "setshowbackground_help"
(#259) The string key "check" is not in the correct order, it should be before "none"
(#261) The string key "like" is not in the correct order, it should be before "star"
(#264) The string key "checked" is not in the correct order, it should be before "setshowcheckstar_help"
(#266) Unexpected comment found. Auto-fixing will not work after this comment
(#270) The string key "locked" is not in the correct order, it should be before "mini_lock_tesouro"
(#271) Unexpected comment found. Auto-fixing will not work after this comment
(#273) The string key "resetallgrp" is not in the correct order, it should be before "resetgrp"
(#276) The string key "resetallimagecontaineralignment" is not in the correct order, it should be before "resetimagecontaineralignment_help"
(#280) The string key "resetallimagecontainersize" is not in the correct order, it should be before "resetimagecontainersize_help"
(#284) The string key "resetallimageresizemethod" is not in the correct order, it should be before "resetimageresizemethod_help"
(#288) The string key "resetallimagecontainerstyle" is not in the correct order, it should be before "resetimagecontainerstyle_help"
(#292) The string key "resetallsectiontitleoptions" is not in the correct order, it should be before "resetsectiontitleoptions_help"
(#296) The string key "resetallnewactivity" is not in the correct order, it should be before "resetnewactivity_help"
(#300) The string key "resetallfitpopup" is not in the correct order, it should be before "resetfitpopup_help"
(#306) Unexpected comment found. Auto-fixing will not work after this comment
(#309) The string key "defaultsection0ownpagenotrailonesection" is not in the correct order, it should be before "setsection0ownpagenotrailonesection_help"
(#313) The string key "resetallimagecontainernavigation" is not in the correct order, it should be before "resetimagecontainernavigation_help"
(#316) Unexpected comment found. Auto-fixing will not work after this comment
(#321) The string key "trail:changeimagecontainerstyle" is not in the correct order, it should be before "trail:changeimageresizemethod"
(#324) Unexpected comment found. Auto-fixing will not work after this comment
(#325) The string key "greyouthidden" is not in the correct order, it should be before "trail:changesectiontitleoptions"
(#329) The string key "custommousepointers" is not in the correct order, it should be before "greyouthidden_help"
(#332) Unexpected comment found. Auto-fixing will not work after this comment
course/format/trail/lib.php
(#47) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#110) Expected "bool" but found "boolean" for @var tag in member variable comment
(#158) 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.
(#492) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#521) Short array syntax must be used to define arrays
(#580) Short array syntax must be used to define arrays
(#589) Short array syntax must be used to define arrays
(#599) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#601) Short array syntax must be used to define arrays
(#601) There should be a comma after the last array item in a multi-line array.
(#627) Short array syntax must be used to define arrays
(#629) Short array syntax must be used to define arrays
(#630) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#636) There should be a comma after the last array item in a multi-line array.
(#638) Short array syntax must be used to define arrays
(#640) There should be a comma after the last array item in a multi-line array.
(#642) Short array syntax must be used to define arrays
(#644) There should be a comma after the last array item in a multi-line array.
(#646) Short array syntax must be used to define arrays
(#648) There should be a comma after the last array item in a multi-line array.
(#650) Short array syntax must be used to define arrays
(#652) There should be a comma after the last array item in a multi-line array.
(#654) Short array syntax must be used to define arrays
(#656) There should be a comma after the last array item in a multi-line array.
(#658) Short array syntax must be used to define arrays
(#660) There should be a comma after the last array item in a multi-line array.
(#662) Short array syntax must be used to define arrays
(#664) There should be a comma after the last array item in a multi-line array.
(#666) Short array syntax must be used to define arrays
(#668) There should be a comma after the last array item in a multi-line array.
(#670) Short array syntax must be used to define arrays
(#672) There should be a comma after the last array item in a multi-line array.
(#674) Short array syntax must be used to define arrays
(#676) There should be a comma after the last array item in a multi-line array.
(#678) Short array syntax must be used to define arrays
(#680) There should be a comma after the last array item in a multi-line array.
(#682) Short array syntax must be used to define arrays
(#684) There should be a comma after the last array item in a multi-line array.
(#686) Short array syntax must be used to define arrays
(#688) There should be a comma after the last array item in a multi-line array.
(#690) Short array syntax must be used to define arrays
(#692) There should be a comma after the last array item in a multi-line array.
(#694) Short array syntax must be used to define arrays
(#696) There should be a comma after the last array item in a multi-line array.
(#698) Short array syntax must be used to define arrays
(#700) There should be a comma after the last array item in a multi-line array.
(#702) Short array syntax must be used to define arrays
(#704) There should be a comma after the last array item in a multi-line array.
(#706) Short array syntax must be used to define arrays
(#708) There should be a comma after the last array item in a multi-line array.
(#710) Short array syntax must be used to define arrays
(#712) There should be a comma after the last array item in a multi-line array.
(#714) Short array syntax must be used to define arrays
(#716) There should be a comma after the last array item in a multi-line array.
(#718) Short array syntax must be used to define arrays
(#720) There should be a comma after the last array item in a multi-line array.
(#722) Short array syntax must be used to define arrays
(#724) There should be a comma after the last array item in a multi-line array.
(#726) Short array syntax must be used to define arrays
(#728) There should be a comma after the last array item in a multi-line array.
(#730) Short array syntax must be used to define arrays
(#732) There should be a comma after the last array item in a multi-line array.
(#734) Short array syntax must be used to define arrays
(#736) There should be a comma after the last array item in a multi-line array.
(#738) Short array syntax must be used to define arrays
(#740) There should be a comma after the last array item in a multi-line array.
(#742) Short array syntax must be used to define arrays
(#744) There should be a comma after the last array item in a multi-line array.
(#746) Short array syntax must be used to define arrays
(#748) There should be a comma after the last array item in a multi-line array.
(#750) Short array syntax must be used to define arrays
(#752) There should be a comma after the last array item in a multi-line array.
(#754) Short array syntax must be used to define arrays
(#756) There should be a comma after the last array item in a multi-line array.
(#758) Short array syntax must be used to define arrays
(#760) There should be a comma after the last array item in a multi-line array.
(#762) Short array syntax must be used to define arrays
(#764) There should be a comma after the last array item in a multi-line array.
(#766) Short array syntax must be used to define arrays
(#768) There should be a comma after the last array item in a multi-line array.
(#770) Short array syntax must be used to define arrays
(#772) There should be a comma after the last array item in a multi-line array.
(#774) Short array syntax must be used to define arrays
(#776) There should be a comma after the last array item in a multi-line array.
(#778) Short array syntax must be used to define arrays
(#780) There should be a comma after the last array item in a multi-line array.
(#781) There should be a comma after the last array item in a multi-line array.
(#794) Short array syntax must be used to define arrays
(#798) Short array syntax must be used to define arrays
(#799) Short array syntax must be used to define arrays
(#802) Short array syntax must be used to define arrays
(#804) Short array syntax must be used to define arrays
(#809) Short array syntax must be used to define arrays
(#810) Short array syntax must be used to define arrays
(#812) There should be a comma after the last array item in a multi-line array.
(#813) There should be a comma after the last array item in a multi-line array.
(#816) Short array syntax must be used to define arrays
(#819) Short array syntax must be used to define arrays
(#820) Short array syntax must be used to define arrays
(#821) There should be a comma after the last array item in a multi-line array.
(#822) There should be a comma after the last array item in a multi-line array.
(#826) There should be a comma after the last array item in a multi-line array.
(#830) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#835) There should be a comma after the last array item in a multi-line array.
(#838) Short array syntax must be used to define arrays
(#843) Short array syntax must be used to define arrays
(#848) Short array syntax must be used to define arrays
(#848) There should be a comma after the last array item in a multi-line array.
(#850) Short array syntax must be used to define arrays
(#855) Short array syntax must be used to define arrays
(#855) There should be a comma after the last array item in a multi-line array.
(#858) Short array syntax must be used to define arrays
(#860) Short array syntax must be used to define arrays
(#865) Short array syntax must be used to define arrays
(#870) Short array syntax must be used to define arrays
(#871) Short array syntax must be used to define arrays
(#873) There should be a comma after the last array item in a multi-line array.
(#874) There should be a comma after the last array item in a multi-line array.
(#875) There should be a comma after the last array item in a multi-line array.
(#878) Short array syntax must be used to define arrays
(#883) 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
(#889) There should be a comma after the last array item in a multi-line array.
(#890) There should be a comma after the last array item in a multi-line array.
(#893) Short array syntax must be used to define arrays
(#898) Short array syntax must be used to define arrays
(#898) There should be a comma after the last array item in a multi-line array.
(#901) Short array syntax must be used to define arrays
(#906) Short array syntax must be used to define arrays
(#907) Short array syntax must be used to define arrays
(#909) There should be a comma after the last array item in a multi-line array.
(#910) There should be a comma after the last array item in a multi-line array.
(#913) Short array syntax must be used to define arrays
(#918) Short array syntax must be used to define arrays
(#919) Short array syntax must be used to define arrays
(#919) There should be a comma after the last array item in a multi-line array.
(#920) There should be a comma after the last array item in a multi-line array.
(#923) Short array syntax must be used to define arrays
(#928) Short array syntax must be used to define arrays
(#929) Short array syntax must be used to define arrays
(#929) There should be a comma after the last array item in a multi-line array.
(#930) There should be a comma after the last array item in a multi-line array.
(#933) Short array syntax must be used to define arrays
(#938) Short array syntax must be used to define arrays
(#939) Short array syntax must be used to define arrays
(#939) There should be a comma after the last array item in a multi-line array.
(#940) There should be a comma after the last array item in a multi-line array.
(#943) Short array syntax must be used to define arrays
(#948) Short array syntax must be used to define arrays
(#949) Short array syntax must be used to define arrays
(#949) There should be a comma after the last array item in a multi-line array.
(#950) There should be a comma after the last array item in a multi-line array.
(#953) Short array syntax must be used to define arrays
(#955) Short array syntax must be used to define arrays
(#957) Short array syntax must be used to define arrays
(#959) Short array syntax must be used to define arrays
(#961) Short array syntax must be used to define arrays
(#963) Short array syntax must be used to define arrays
(#965) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#973) Short array syntax must be used to define arrays
(#974) Short array syntax must be used to define arrays
(#976) There should be a comma after the last array item in a multi-line array.
(#977) There should be a comma after the last array item in a multi-line array.
(#980) There should be a comma after the last array item in a multi-line array.
(#982) Short array syntax must be used to define arrays
(#985) Short array syntax must be used to define arrays
(#985) Short array syntax must be used to define arrays
(#987) There should be a comma after the last array item in a multi-line array.
(#989) Short array syntax must be used to define arrays
(#992) Short array syntax must be used to define arrays
(#993) Short array syntax must be used to define arrays
(#995) There should be a comma after the last array item in a multi-line array.
(#996) There should be a comma after the last array item in a multi-line array.
(#999) There should be a comma after the last array item in a multi-line array.
(#1001) Short array syntax must be used to define arrays
(#1004) Short array syntax must be used to define arrays
(#1005) Short array syntax must be used to define arrays
(#1008) There should be a comma after the last array item in a multi-line array.
(#1009) There should be a comma after the last array item in a multi-line array.
(#1012) There should be a comma after the last array item in a multi-line array.
(#1014) Short array syntax must be used to define arrays
(#1017) Short array syntax must be used to define arrays
(#1017) Short array syntax must be used to define arrays
(#1019) There should be a comma after the last array item in a multi-line array.
(#1021) Short array syntax must be used to define arrays
(#1024) Short array syntax must be used to define arrays
(#1026) There should be a comma after the last array item in a multi-line array.
(#1028) Short array syntax must be used to define arrays
(#1031) Short array syntax must be used to define arrays
(#1033) There should be a comma after the last array item in a multi-line array.
(#1035) Short array syntax must be used to define arrays
(#1040) Short array syntax must be used to define arrays
(#1040) There should be a comma after the last array item in a multi-line array.
(#1042) Short array syntax must be used to define arrays
(#1047) Short array syntax must be used to define arrays
(#1048) Short array syntax must be used to define arrays
(#1048) There should be a comma after the last array item in a multi-line array.
(#1049) There should be a comma after the last array item in a multi-line array.
(#1051) Short array syntax must be used to define arrays
(#1056) Short array syntax must be used to define arrays
(#1057) Short array syntax must be used to define arrays
(#1057) There should be a comma after the last array item in a multi-line array.
(#1058) There should be a comma after the last array item in a multi-line array.
(#1060) Short array syntax must be used to define arrays
(#1063) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1066) There should be a comma after the last array item in a multi-line array.
(#1067) There should be a comma after the last array item in a multi-line array.
(#1070) There should be a comma after the last array item in a multi-line array.
(#1072) Short array syntax must be used to define arrays
(#1075) Short array syntax must be used to define arrays
(#1076) Short array syntax must be used to define arrays
(#1080) There should be a comma after the last array item in a multi-line array.
(#1081) There should be a comma after the last array item in a multi-line array.
(#1084) There should be a comma after the last array item in a multi-line array.
(#1086) Short array syntax must be used to define arrays
(#1089) Short array syntax must be used to define arrays
(#1089) Short array syntax must be used to define arrays
(#1091) There should be a comma after the last array item in a multi-line array.
(#1093) Short array syntax must be used to define arrays
(#1098) Short array syntax must be used to define arrays
(#1099) Short array syntax must be used to define arrays
(#1099) There should be a comma after the last array item in a multi-line array.
(#1100) There should be a comma after the last array item in a multi-line array.
(#1102) Short array syntax must be used to define arrays
(#1107) Short array syntax must be used to define arrays
(#1108) Short array syntax must be used to define arrays
(#1108) There should be a comma after the last array item in a multi-line array.
(#1109) There should be a comma after the last array item in a multi-line array.
(#1111) Short array syntax must be used to define arrays
(#1114) Short array syntax must be used to define arrays
(#1116) There should be a comma after the last array item in a multi-line array.
(#1120) Short array syntax must be used to define arrays
(#1123) Short array syntax must be used to define arrays
(#1125) Short array syntax must be used to define arrays
(#1128) Short array syntax must be used to define arrays
(#1130) Short array syntax must be used to define arrays
(#1132) Short array syntax must be used to define arrays
(#1134) Short array syntax must be used to define arrays
(#1136) Short array syntax must be used to define arrays
(#1138) Short array syntax must be used to define arrays
(#1140) Short array syntax must be used to define arrays
(#1142) Short array syntax must be used to define arrays
(#1144) Short array syntax must be used to define arrays
(#1146) Short array syntax must be used to define arrays
(#1148) Short array syntax must be used to define arrays
(#1150) Short array syntax must be used to define arrays
(#1152) Short array syntax must be used to define arrays
(#1157) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1161) Short array syntax must be used to define arrays
(#1163) There should be a comma after the last array item in a multi-line array.
(#1164) There should be a comma after the last array item in a multi-line array.
(#1167) There should be a comma after the last array item in a multi-line array.
(#1170) Short array syntax must be used to define arrays
(#1175) Short array syntax must be used to define arrays
(#1176) Short array syntax must be used to define arrays
(#1178) There should be a comma after the last array item in a multi-line array.
(#1179) There should be a comma after the last array item in a multi-line array.
(#1180) There should be a comma after the last array item in a multi-line array.
(#1183) Short array syntax must be used to define arrays
(#1188) Short array syntax must be used to define arrays
(#1189) Short array syntax must be used to define arrays
(#1191) There should be a comma after the last array item in a multi-line array.
(#1192) There should be a comma after the last array item in a multi-line array.
(#1193) There should be a comma after the last array item in a multi-line array.
(#1197) Short array syntax must be used to define arrays
(#1202) Short array syntax must be used to define arrays
(#1203) Short array syntax must be used to define arrays
(#1205) There should be a comma after the last array item in a multi-line array.
(#1206) There should be a comma after the last array item in a multi-line array.
(#1207) There should be a comma after the last array item in a multi-line array.
(#1209) Short array syntax must be used to define arrays
(#1212) Short array syntax must be used to define arrays
(#1213) Short array syntax must be used to define arrays
(#1217) There should be a comma after the last array item in a multi-line array.
(#1218) There should be a comma after the last array item in a multi-line array.
(#1221) There should be a comma after the last array item in a multi-line array.
(#1223) Short array syntax must be used to define arrays
(#1226) Short array syntax must be used to define arrays
(#1227) Short array syntax must be used to define arrays
(#1233) Duplicate array key found. The value will be overwritten. The integer array key "5" was first seen on line 1229
(#1233) There should be a comma after the last array item in a multi-line array.
(#1234) There should be a comma after the last array item in a multi-line array.
(#1237) There should be a comma after the last array item in a multi-line array.
(#1239) Short array syntax must be used to define arrays
(#1242) Short array syntax must be used to define arrays
(#1243) Short array syntax must be used to define arrays
(#1247) There should be a comma after the last array item in a multi-line array.
(#1248) There should be a comma after the last array item in a multi-line array.
(#1251) There should be a comma after the last array item in a multi-line array.
(#1255) Short array syntax must be used to define arrays
(#1260) Short array syntax must be used to define arrays
(#1261) Short array syntax must be used to define arrays
(#1263) There should be a comma after the last array item in a multi-line array.
(#1264) There should be a comma after the last array item in a multi-line array.
(#1265) There should be a comma after the last array item in a multi-line array.
(#1268) Short array syntax must be used to define arrays
(#1282) Short array syntax must be used to define arrays
(#1392) Short array syntax must be used to define arrays
(#1500) Short array syntax must be used to define arrays
(#1594) Short array syntax must be used to define arrays
(#1828) Short array syntax must be used to define arrays
(#1843) Short array syntax must be used to define arrays
(#1905) Short array syntax must be used to define arrays
(#1950) Short array syntax must be used to define arrays
(#1975) Short array syntax must be used to define arrays
(#1977) Short array syntax must be used to define arrays
(#1982) Short array syntax must be used to define arrays
(#2126) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $params.
(#2144) Short array syntax must be used to define arrays
(#2165) Short array syntax must be used to define arrays
(#2182) Short array syntax must be used to define arrays
(#2197) Short array syntax must be used to define arrays
(#2237) Short array syntax must be used to define arrays
(#2240) There should be a comma after the last array item in a multi-line array.
(#2251) Short array syntax must be used to define arrays
(#2254) There should be a comma after the last array item in a multi-line array.
(#2267) Short array syntax must be used to define arrays
(#2332) Short array syntax must be used to define arrays
(#2396) Short array syntax must be used to define arrays
(#2458) Short array syntax must be used to define arrays
(#2499) Short array syntax must be used to define arrays
(#2505) Short array syntax must be used to define arrays
(#2536) Short array syntax must be used to define arrays
(#2547) Short array syntax must be used to define arrays
(#2574) Short array syntax must be used to define arrays
(#2583) Short array syntax must be used to define arrays
(#2617) Short array syntax must be used to define arrays
(#2644) Short array syntax must be used to define arrays
(#2882) Short array syntax must be used to define arrays
(#2999) Short array syntax must be used to define arrays
course/format/trail/mod_summary.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file mod_summary.php
(#40) Short array syntax must be used to define arrays
course/format/trail/renderer.php
(#46) Expected "bool" but found "boolean" for @var tag in member variable comment
(#63) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#164) 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
(#179) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#263) 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
(#272) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
(#362) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#407) Short array syntax must be used to define arrays
(#419) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#484) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#494) There should be a comma after the last array item in a multi-line array.
(#499) Short array syntax must be used to define arrays
(#505) Short array syntax must be used to define arrays
(#508) There should be a comma after the last array item in a multi-line array.
(#537) Short array syntax must be used to define arrays
(#548) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#590) Short array syntax must be used to define arrays
(#592) Short array syntax must be used to define arrays
(#593) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#602) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#643) Short array syntax must be used to define arrays
(#647) Short array syntax must be used to define arrays
(#654) Short array syntax must be used to define arrays
(#660) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#670) Short array syntax must be used to define arrays
(#783) Short array syntax must be used to define arrays
(#847) Short array syntax must be used to define arrays
(#849) There should be a comma after the last array item in a multi-line array.
(#861) Short array syntax must be used to define arrays
(#864) Short array syntax must be used to define arrays
(#868) Short array syntax must be used to define arrays
(#871) Short array syntax must be used to define arrays
(#902) Short array syntax must be used to define arrays
(#915) Short array syntax must be used to define arrays
(#925) Short array syntax must be used to define arrays
(#939) Short array syntax must be used to define arrays
(#953) Short array syntax must be used to define arrays
(#964) Short array syntax must be used to define arrays
(#990) Short array syntax must be used to define arrays
(#1000) Short array syntax must be used to define arrays
(#1007) Short array syntax must be used to define arrays
(#1022) Short array syntax must be used to define arrays
(#1033) Short array syntax must be used to define arrays
(#1065) Short array syntax must be used to define arrays
(#1111) Short array syntax must be used to define arrays
(#1117) Short array syntax must be used to define arrays
(#1121) Short array syntax must be used to define arrays
(#1136) Short array syntax must be used to define arrays
(#1142) Short array syntax must be used to define arrays
(#1146) Short array syntax must be used to define arrays
(#1165) Short array syntax must be used to define arrays
(#1169) Short array syntax must be used to define arrays
(#1218) Short array syntax must be used to define arrays
(#1228) Short array syntax must be used to define arrays
(#1231) Short array syntax must be used to define arrays
(#1234) Short array syntax must be used to define arrays
(#1239) Short array syntax must be used to define arrays
(#1246) Short array syntax must be used to define arrays
(#1247) Short array syntax must be used to define arrays
(#1248) Short array syntax must be used to define arrays
(#1310) Short array syntax must be used to define arrays
(#1367) Short array syntax must be used to define arrays
(#1377) Short array syntax must be used to define arrays
(#1538) Short array syntax must be used to define arrays
(#1540) Short array syntax must be used to define arrays
(#1541) Short array syntax must be used to define arrays
(#1548) Short array syntax must be used to define arrays
(#1550) Short array syntax must be used to define arrays
(#1551) Short array syntax must be used to define arrays
(#1556) Short array syntax must be used to define arrays
(#1580) Short array syntax must be used to define arrays
(#1680) Short array syntax must be used to define arrays
(#1683) Short array syntax must be used to define arrays
(#1688) Short array syntax must be used to define arrays
(#1704) Short array syntax must be used to define arrays
(#1716) Short array syntax must be used to define arrays
(#1725) Short array syntax must be used to define arrays
(#1726) Short array syntax must be used to define arrays
(#1729) Short array syntax must be used to define arrays
(#1730) Short array syntax must be used to define arrays
(#1740) Short array syntax must be used to define arrays
(#1744) Short array syntax must be used to define arrays
(#1745) Short array syntax must be used to define arrays
(#1750) Short array syntax must be used to define arrays
(#1754) Short array syntax must be used to define arrays
(#1755) Short array syntax must be used to define arrays
(#1767) Short array syntax must be used to define arrays
(#1771) Short array syntax must be used to define arrays
(#1772) Short array syntax must be used to define arrays
(#1780) Short array syntax must be used to define arrays
(#1784) Short array syntax must be used to define arrays
(#1785) Short array syntax must be used to define arrays
(#1797) Short array syntax must be used to define arrays
(#1802) Short array syntax must be used to define arrays
(#1806) Short array syntax must be used to define arrays
(#1807) Short array syntax must be used to define arrays
course/format/trail/settings.php
(#44) 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.
(#78) Short array syntax must be used to define arrays
(#80) 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
(#107) There should be a comma after the last array item in a multi-line array.
(#148) Short array syntax must be used to define arrays
(#150) There should be a comma after the last array item in a multi-line array.
(#166) Short array syntax must be used to define arrays
(#168) There should be a comma after the last array item in a multi-line array.
(#177) Short array syntax must be used to define arrays
(#180) There should be a comma after the last array item in a multi-line array.
(#236) Short array syntax must be used to define arrays
(#238) 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
(#251) 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
(#293) There should be a comma after the last array item in a multi-line array.
(#302) Short array syntax must be used to define arrays
(#304) There should be a comma after the last array item in a multi-line array.
(#313) Short array syntax must be used to define arrays
(#315) There should be a comma after the last array item in a multi-line array.
(#324) Short array syntax must be used to define arrays
(#326) 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
(#337) There should be a comma after the last array item in a multi-line array.
(#345) Short array syntax must be used to define arrays
(#351) Duplicate array key found. The value will be overwritten. The integer array key "5" was first seen on line 347
(#351) There should be a comma after the last array item in a multi-line array.
course/format/trail/upgrade/convert_legacy_image.php
(#80) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays

Javascript coding style problems

(6 errors, 107 warnings)

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

course/format/trail/Gruntfile.js
(#42) @package should be empty. (jsdoc/empty-tags)
course/format/trail/amd/src/tooltip.js
(#4) @package should be empty. (jsdoc/empty-tags)
(#29) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#74) Expected to return a value at the end of method 'handle'. (consistent-return)
(#220) Function expected no return value. (consistent-return)
(#260) Function expected no return value. (consistent-return)
(#269) Function has a complexity of 21. Maximum allowed is 20. (complexity)
(#326) Do not nest ternary expressions. (no-nested-ternary)
(#327) Do not nest ternary expressions. (no-nested-ternary)
(#328) Do not nest ternary expressions. (no-nested-ternary)
(#436) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#467) Function expected no return value. (consistent-return)
(#495) Do not nest ternary expressions. (no-nested-ternary)
(#503) Do not nest ternary expressions. (no-nested-ternary)
(#504) Do not nest ternary expressions. (no-nested-ternary)
(#627) Missing JSDoc comment. (jsdoc/require-jsdoc)
course/format/trail/module.js
(#63) Function has a complexity of 21. Maximum allowed is 20. (complexity)
(#185) Function expected a return value. (consistent-return)
course/format/trail/yui/src/trailkeys/js/event-nav-keys-min.js
(#1) This line has a length of 528. Maximum allowed is 132. (max-len)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'enter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'esc'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backspace'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'tab'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageUp'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'pageDown'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'left'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'up'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'right'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'down'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'space'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) This line has 11 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing space before value for key 'type'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'on'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Operator '===' must be spaced. (space-infix-ops)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'delegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detach'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'detachDelegate'. (key-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'requires'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 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]