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

(94 errors, 240 warnings)

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

grade/grading/form/checklist/backup/moodle2/backup_gradingform_checklist_plugin.class.php
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
grade/grading/form/checklist/checklisteditor.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#45) method name "MoodleQuickForm_checklisteditor::MoodleQuickForm_checklisteditor" must be in lower-case letters only
(#45) PHP4 style constructors are not allowed; use "__construct()" instead
(#45) Visibility must be declared on method "MoodleQuickForm_checklisteditor"
(#45) Variable "elementName" must be all lower-case
(#45) Variable "elementLabel" must be all lower-case
(#46) PHP4 style calls to parent constructors are not allowed; use "parent::__construct()" instead
(#46) Variable "elementName" must be all lower-case
(#46) Variable "elementLabel" must be all lower-case
(#56) Public method name "MoodleQuickForm_checklisteditor::setHelpButton" must be in lower-case letters only
(#56) Expected 1 space after closing parenthesis; found 0
(#66) Public method name "MoodleQuickForm_checklisteditor::getHelpButton" must be in lower-case letters only
(#75) Public method name "MoodleQuickForm_checklisteditor::getElementTemplateType" must be in lower-case letters only
(#95) Public method name "MoodleQuickForm_checklisteditor::toHtml" must be in lower-case letters only
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Line exceeds 132 characters; contains 133 characters
(#103) Line exceeds 132 characters; contains 141 characters
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Inline comments must start with a capital letter, digit or 3-dots sequence
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Expected 1 space before "="; 0 found
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Line exceeds 132 characters; contains 145 characters
(#242) Inline comments must start with a capital letter, digit or 3-dots sequence
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) No space found before comment text; expected "// sortorder for items" but found "//sortorder for items"
(#294) Inline comments must start with a capital letter, digit or 3-dots sequence
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#329) Expected 1 space before "+"; 0 found
(#329) Expected 1 space after "+"; 0 found
(#372) Public method name "MoodleQuickForm_checklisteditor::exportValue" must be in lower-case letters only
(#372) Variable "submitValues" must be all lower-case
(#373) Expected 1 space after "="; 2 found
(#373) Variable "submitValues" must be all lower-case
grade/grading/form/checklist/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
grade/grading/form/checklist/edit.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#49) Line exceeds maximum limit of 180 characters; contains 224 characters
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
grade/grading/form/checklist/edit_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Line exceeds 132 characters; contains 158 characters
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line exceeds 132 characters; contains 173 characters
(#65) Line exceeds 132 characters; contains 173 characters
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) This comment is 72% valid code; is this commented out code?
(#71) No space found before comment text; expected "// $element->freeze(); // TODO freeze checklist editor if needed" but found "//$element->freeze(); // TODO freeze checklist editor if needed"
(#76) Line exceeds 132 characters; contains 142 characters
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) This comment is 67% valid code; is this commented out code?
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Protected method name "gradingform_checklist_editchecklist::findButton" must be in lower-case letters only
grade/grading/form/checklist/lang/en/gradingform_checklist.php
(#2) The opening <?php tag must be followed by exactly one newline.
grade/grading/form/checklist/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Expected 1 space before "="; 0 found
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Line exceeds 132 characters; contains 137 characters
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Line exceeds 132 characters; contains 157 characters
(#130) Line exceeds maximum limit of 180 characters; contains 186 characters
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Line exceeds 132 characters; contains 135 characters
(#213) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#219) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) Inline comments must start with a capital letter, digit or 3-dots sequence
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Inline comments must start with a capital letter, digit or 3-dots sequence
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) Inline comments must start with a capital letter, digit or 3-dots sequence
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Inline comments must start with a capital letter, digit or 3-dots sequence
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Inline comments must start with a capital letter, digit or 3-dots sequence
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#337) Inline comments must start with a capital letter, digit or 3-dots sequence
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#350) Inline comments must start with a capital letter, digit or 3-dots sequence
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Expected 1 space after "as"; 2 found
(#500) Inline comments must start with a capital letter, digit or 3-dots sequence
(#500) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Inline comments must start with a capital letter, digit or 3-dots sequence
(#516) Inline comments must end in full-stops, exclamation marks, or question marks
(#521) Inline comments must end in full-stops, exclamation marks, or question marks
(#562) Inline comments must start with a capital letter, digit or 3-dots sequence
(#562) Inline comments must end in full-stops, exclamation marks, or question marks
(#562) 4 slashes comments are not allowed; use "// Comment." instead
(#591) Inline comments must start with a capital letter, digit or 3-dots sequence
(#591) Inline comments must end in full-stops, exclamation marks, or question marks
(#595) Inline comments must start with a capital letter, digit or 3-dots sequence
(#595) Inline comments must end in full-stops, exclamation marks, or question marks
(#731) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#732) Inline comments must start with a capital letter, digit or 3-dots sequence
(#732) Inline comments must end in full-stops, exclamation marks, or question marks
(#732) No space found before comment text; expected "// handle deletions later" but found "//handle deletions later"
(#736) Line exceeds 132 characters; contains 149 characters
(#766) Inline comments must start with a capital letter, digit or 3-dots sequence
(#766) Inline comments must end in full-stops, exclamation marks, or question marks
(#768) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#769) Inline comments must start with a capital letter, digit or 3-dots sequence
(#769) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Line exceeds 132 characters; contains 143 characters
(#796) The use of function sizeof() is forbidden; use count() instead
(#801) Inline comments must start with a capital letter, digit or 3-dots sequence
(#801) Inline comments must end in full-stops, exclamation marks, or question marks
(#803) Line exceeds 132 characters; contains 140 characters
(#808) Expected 1 space before "-"; 0 found
(#808) Expected 1 space after "-"; 0 found
(#808) Expected 1 space before "/"; 0 found
(#808) Expected 1 space after "/"; 0 found
(#808) Expected 1 space before "-"; 0 found
(#808) Expected 1 space after "-"; 0 found
(#808) Expected 1 space before "*"; 0 found
(#808) Expected 1 space after "*"; 0 found
(#808) Expected 1 space before "-"; 0 found
(#808) Expected 1 space after "-"; 0 found
(#824) Expected 1 space before "=>"; 0 found
(#824) Expected 1 space after "=>"; 0 found
(#824) Expected 1 space before "=>"; 0 found
(#824) Expected 1 space after "=>"; 0 found
(#825) Line exceeds 132 characters; contains 145 characters
(#841) Line exceeds 132 characters; contains 156 characters
(#845) Line exceeds 132 characters; contains 155 characters
(#851) Inline control structures are not allowed
(#852) Inline comments must start with a capital letter, digit or 3-dots sequence
(#852) Inline comments must end in full-stops, exclamation marks, or question marks
(#856) Inline control structures are not allowed
(#856) Line exceeds 132 characters; contains 155 characters
(#857) Inline control structures are not allowed
(#857) Line exceeds 132 characters; contains 156 characters
(#858) Line indented incorrectly; expected 16 spaces, found 20
(#860) Closing brace indented incorrectly; expected 20 spaces, found 16
(#864) Line exceeds 132 characters; contains 155 characters
(#867) Line exceeds 132 characters; contains 150 characters
(#869) Line exceeds 132 characters; contains 147 characters
grade/grading/form/checklist/preview.php
(#2) The opening <?php tag must be followed by exactly one newline.
grade/grading/form/checklist/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Line exceeds 132 characters; contains 153 characters
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Line exceeds 132 characters; contains 135 characters
(#77) Line exceeds 132 characters; contains 144 characters
(#78) Line exceeds 132 characters; contains 149 characters
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Line exceeds 132 characters; contains 172 characters
(#86) Line exceeds 132 characters; contains 152 characters
(#90) Line exceeds 132 characters; contains 176 characters
(#91) Line exceeds 132 characters; contains 180 characters
(#99) Line exceeds 132 characters; contains 149 characters
(#109) Line exceeds 132 characters; contains 151 characters
(#110) Line exceeds 132 characters; contains 154 characters
(#114) Line exceeds 132 characters; contains 153 characters
(#121) Line exceeds 132 characters; contains 134 characters
(#124) Line exceeds 132 characters; contains 171 characters
(#127) Line exceeds 132 characters; contains 178 characters
(#128) Line exceeds 132 characters; contains 142 characters
(#129) Line exceeds maximum limit of 180 characters; contains 208 characters
(#130) Line exceeds 132 characters; contains 171 characters
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Line exceeds 132 characters; contains 144 characters
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Line exceeds 132 characters; contains 168 characters
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Line exceeds 132 characters; contains 133 characters
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Line exceeds maximum limit of 180 characters; contains 193 characters
(#189) Inline comments must start with a capital letter, digit or 3-dots sequence
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Line exceeds 132 characters; contains 157 characters
(#213) Line exceeds maximum limit of 180 characters; contains 188 characters
(#216) Line exceeds maximum limit of 180 characters; contains 194 characters
(#217) Line exceeds maximum limit of 180 characters; contains 184 characters
(#218) Line exceeds maximum limit of 180 characters; contains 192 characters
(#227) Line exceeds 132 characters; contains 142 characters
(#230) Line exceeds 132 characters; contains 138 characters
(#241) Line exceeds 132 characters; contains 174 characters
(#248) Line exceeds 132 characters; contains 140 characters
(#253) Line exceeds 132 characters; contains 161 characters
(#255) Line exceeds maximum limit of 180 characters; contains 225 characters
(#258) Line exceeds 132 characters; contains 180 characters
(#266) Line exceeds 132 characters; contains 145 characters
(#270) Line exceeds 132 characters; contains 159 characters
(#271) Line exceeds 132 characters; contains 163 characters
(#272) Line exceeds 132 characters; contains 136 characters
(#275) Line exceeds 132 characters; contains 152 characters
(#284) Line exceeds 132 characters; contains 176 characters
(#288) Line exceeds maximum limit of 180 characters; contains 185 characters
(#289) Line exceeds 132 characters; contains 142 characters
(#290) Line exceeds maximum limit of 180 characters; contains 205 characters
(#291) Line exceeds 132 characters; contains 170 characters
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Inline comments must start with a capital letter, digit or 3-dots sequence
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#327) Closing brace must be on a line by itself
(#329) Closing brace must be on a line by itself
(#332) Closing brace must be on a line by itself
(#332) Closing brace must be on a line by itself
(#334) Closing brace must be on a line by itself
(#336) Closing brace must be on a line by itself
(#338) Closing brace must be on a line by itself
(#340) Closing brace must be on a line by itself
(#343) Line exceeds 132 characters; contains 152 characters
(#347) Line exceeds 132 characters; contains 136 characters
(#348) Line exceeds 132 characters; contains 136 characters
(#371) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Line exceeds 132 characters; contains 134 characters
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) Line exceeds 132 characters; contains 143 characters
(#397) Inline comments must start with a capital letter, digit or 3-dots sequence
(#397) Inline comments must end in full-stops, exclamation marks, or question marks
(#399) Inline comments must start with a capital letter, digit or 3-dots sequence
(#399) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) The use of function sizeof() is forbidden; use count() instead
(#426) Expected 1 space after "-"; 0 found
(#437) The use of function sizeof() is forbidden; use count() instead
(#437) Expected 1 space after "-"; 0 found
(#439) Line exceeds maximum limit of 180 characters; contains 227 characters
(#441) Line exceeds 132 characters; contains 160 characters
(#441) Inline comments must start with a capital letter, digit or 3-dots sequence
(#441) Inline comments must end in full-stops, exclamation marks, or question marks
(#441) No space found before comment text; expected "// in mode DISPLAY_EVAL the class 'checked' will be added by JS if it is enabled. If JS is not enabled, the 'checked' class will only confuse" but found "//in mode DISPLAY_EVAL the class 'checked' will be added by JS if it is enabled. If JS is not enabled, the 'checked' class will only confuse"
(#451) Inline comments must start with a capital letter, digit or 3-dots sequence
(#451) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) Line exceeds 132 characters; contains 140 characters
(#468) Inline comments must start with a capital letter, digit or 3-dots sequence
(#468) Inline comments must end in full-stops, exclamation marks, or question marks
(#469) Line exceeds 132 characters; contains 170 characters
(#489) Expected 1 space before "%"; 0 found
(#489) Expected 1 space after "%"; 0 found
(#507) The use of function sizeof() is forbidden; use count() instead
(#544) Expected 1 space before "<="; 0 found
(#544) Expected 1 space after "<="; 0 found
grade/grading/form/checklist/version.php
(#2) The opening <?php tag must be followed by exactly one newline.

Javascript coding style problems

(0 errors, 54 warnings)

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

grade/grading/form/checklist/js/checklist.js
(#24) Expected '===' and instead saw '=='.
(#39) Expected '===' and instead saw '=='.
grade/grading/form/checklist/js/checklisteditor.js
(#31) Missing semicolon.
(#32) Missing semicolon.
(#44) Expected '===' and instead saw '=='.
(#49) Expected '===' and instead saw '=='.
(#49) Expected '===' and instead saw '=='.
(#75) Expected '{' and instead saw 'return'.
(#76) Expected '{' and instead saw 'return'.
(#92) Expected '{' and instead saw 'tbplain'.
(#149) Expected '!==' and instead saw '!='.
(#155) Expected '!==' and instead saw '!='.
(#155) Expected '!==' and instead saw '!='.
(#159) Expected '===' and instead saw '=='.
(#165) Expected '===' and instead saw '=='.
(#165) Expected '===' and instead saw '=='.
(#174) Expected '===' and instead saw '=='.
(#174) Expected '===' and instead saw '=='.
(#181) ['item'] is better written in dot notation.
(#181) 'newlevid' used out of scope.
(#183) ['group'] is better written in dot notation.
(#184) 'newid' used out of scope.
(#185) 'newid' used out of scope.
(#188) 'newid' used out of scope.
(#189) Expected '===' and instead saw '=='.
(#189) Expected '===' and instead saw '=='.
(#191) 'newscore' is already defined.
(#193) ['item'] is better written in dot notation.
(#194) 'newlevid' used out of scope.
(#199) Expected '===' and instead saw '=='.
(#199) Expected '===' and instead saw '=='.
(#206) Missing semicolon.
(#207) Expected '===' and instead saw '=='.
(#207) Expected '===' and instead saw '=='.
(#209) 'el' is already defined.
(#210) Expected '{' and instead saw 'el'.
(#211) Missing semicolon.
(#212) Expected '===' and instead saw '=='.
(#212) Expected '===' and instead saw '=='.
(#216) Missing semicolon.
(#218) ['message'] is better written in dot notation.
(#221) Expected '===' and instead saw '=='.
(#221) Expected '===' and instead saw '=='.
(#225) Missing semicolon.
(#227) ['message'] is better written in dot notation.
(#242) Expected '===' and instead saw '=='.
(#242) Expected '===' and instead saw '=='.
(#244) Expected '{' and instead saw 'node'.
(#244) Missing semicolon.
(#245) Don't make functions within a loop.
(#254) Expected '{' and instead saw 'newid'.
(#256) Missing semicolon.
(#166) 'newid' is defined but never used.
(#167) 'newlevid' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(38 errors, 11 warnings)

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

grade/grading/form/checklist/backup/moodle2/backup_gradingform_checklist_plugin.class.php
(#30) Class backup_gradingform_checklist_plugin does not have @copyright tag
(#30) Class backup_gradingform_checklist_plugin does not have @license tag
(#20) Package gradingform is not valid
grade/grading/form/checklist/backup/moodle2/restore_gradingform_checklist_plugin.class.php
(#30) Class restore_gradingform_checklist_plugin does not have @copyright tag
(#30) Class restore_gradingform_checklist_plugin does not have @license tag
(#20) Package gradingform is not valid
grade/grading/form/checklist/checklisteditor.php
(#2) Empty line found after PHP open tag
(#33) Class MoodleQuickForm_checklisteditor is not documented
(#45) Function MoodleQuickForm_checklisteditor::MoodleQuickForm_checklisteditor is not documented
(#34) Phpdocs for variable MoodleQuickForm_checklisteditor::$_helpbutton does not contain @var or incorrect
(#36) Phpdocs for variable MoodleQuickForm_checklisteditor::$validationerrors does not contain @var or incorrect
(#38) Phpdocs for variable MoodleQuickForm_checklisteditor::$wasvalidated does not contain @var or incorrect
(#40) Phpdocs for variable MoodleQuickForm_checklisteditor::$nonjsbuttonpressed does not contain @var or incorrect
(#42) Phpdocs for variable MoodleQuickForm_checklisteditor::$regradeconfirmation does not contain @var or incorrect
(#52) Not recommended phpdocs tag @access used
(#63) Not recommended phpdocs tag @access used
(#21) Package gradingform is not valid
grade/grading/form/checklist/db/upgrade.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package gradingform is not valid
grade/grading/form/checklist/edit.php
(#2) Empty line found after PHP open tag
(#21) Package gradingform is not valid
grade/grading/form/checklist/edit_form.php
(#2) Empty line found after PHP open tag
(#35) Class gradingform_checklist_editchecklist does not have @copyright tag
(#35) Class gradingform_checklist_editchecklist does not have @license tag
(#21) Package gradingform is not valid
grade/grading/form/checklist/lang/en/gradingform_checklist.php
(#2) Empty line found after PHP open tag
(#21) Package gradingform is not valid
grade/grading/form/checklist/lib.php
(#2) Empty line found after PHP open tag
(#660) Variable gradingform_checklist_instance::$checklist is not documented
(#562) Found comment starting with three or more slashes
(#651) No one-line description found in phpdocs for class gradingform_checklist_instance
(#33) Class gradingform_checklist_controller does not have @copyright tag
(#33) Class gradingform_checklist_controller does not have @license tag
(#651) Class gradingform_checklist_instance does not have @license tag
(#21) Package gradingform is not valid
grade/grading/form/checklist/preview.php
(#2) Empty line found after PHP open tag
(#21) Package gradingform is not valid
grade/grading/form/checklist/renderer.php
(#2) Empty line found after PHP open tag
(#542) Function gradingform_checklist_renderer::display_regrade_confirmation is not documented
(#31) Class gradingform_checklist_renderer does not have @copyright tag
(#31) Class gradingform_checklist_renderer does not have @license tag
(#51) Invalid inline phpdocs tag @see found
(#176) Invalid inline phpdocs tag @see found
(#316) Invalid inline phpdocs tag @see found
(#414) Invalid inline phpdocs tag @see found
(#21) Package gradingform is not valid
grade/grading/form/checklist/version.php
(#2) Empty line found after PHP open tag
(#21) Package gradingform is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


Mustache template problems

(0 errors, 0 warnings)

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