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

(1161 errors, 300 warnings)

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

mod/cado/approve.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#20) Expected 1 space(s) before asterisk; 0 found
(#44) Variable "mform_cado" must not contain underscores.
(#47) Variable "mform_cado" must not contain underscores.
(#48) Whitespace found at end of line
(#49) Whitespace found at end of line
(#50) Variable "mform_cado" must not contain underscores.
(#53) Whitespace found at end of line
(#54) Expected 1 space after "=>"; 0 found
(#56) Whitespace found at end of line
(#57) Expected 1 space after "=>"; 0 found
(#60) Commas (,) must be followed by white space.
(#60) Commas (,) must be followed by white space.
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// redirect is included in workflownotify" but found "//redirect is included in workflownotify"
(#66) Variable "mform_cado" must not contain underscores.
(#67) Variable "mform_cado" must not contain underscores.
(#69) Whitespace found at end of line
mod/cado/backup/moodle2/backup_cado_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Whitespace found at end of line
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Line indented incorrectly; expected 0 spaces, found 1
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Line indented incorrectly; expected at least 8 spaces, found 0
(#48) Commas (,) must be followed by white space.
(#51) Expected 1 space before "="; 0 found
(#51) Expected 1 space after "="; 0 found
(#52) Expected 1 space before "="; 0 found
(#60) Closing brace indented incorrectly; expected 1 spaces, found 0
mod/cado/backup/moodle2/backup_cado_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Whitespace found at end of line
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Whitespace found at end of line
(#24) Whitespace found at end of line
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/cado/backup/moodle2/backup_cado_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Line indented incorrectly; expected 0 spaces, found 1
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// core information that can form CADO" but found "//core information that can form CADO"
(#36) Whitespace found at end of line
(#37) Commas (,) must be followed by white space.
(#38) Whitespace found at end of line
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Space found after object operator
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#49) This comment is 46% valid code; is this commented out code?
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line indented incorrectly; expected at least 8 spaces, found 0
(#50) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Line indented incorrectly; expected 0 spaces, found 1
mod/cado/backup/moodle2/restore_cado_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) 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
(#55) Expected 1 space after "="; 0 found
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Line exceeds 132 characters; contains 142 characters
mod/cado/backup/moodle2/restore_cado_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Whitespace found at end of line
(#56) Whitespace found at end of line
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// possibly do a reset of generateuser and proposetime etc here manually" but found "//possibly do a reset of generateuser and proposetime etc here manually"
(#66) No space found before comment text; expected "// Keep approval comments in case they are of use for a new version of course based on old version, but add a note to them." but found "//Keep approval comments in case they are of use for a new version of course based on old version, but add a note to them."
(#67) Whitespace found at end of line
(#68) Whitespace found at end of line
(#69) Whitespace found at end of line
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Line indented incorrectly; expected at least 8 spaces, found 0
(#81) Expected 1 space before comment text but found 8; use block comment if you need indentation
mod/cado/classes/approve_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#34) Whitespace found at end of line
(#36) Line exceeds 132 characters; contains 148 characters
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// set to false to make it closed on page load, default is false for optional params, true for required" but found "//set to false to make it closed on page load, default is false for optional params, true for required"
(#36) Whitespace found at end of line
(#42) Whitespace found at end of line
(#44) Whitespace found at end of line
(#46) Whitespace found at end of line
(#47) Visibility must be declared on method "set_last_data"
(#50) Commas (,) must be followed by white space.
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// add update line at beginning to make it easy to add stuff" but found "//add update line at beginning to make it easy to add stuff"
(#52) Commas (,) must be followed by white space.
mod/cado/classes/cado.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#28) Line indented incorrectly; expected 0 spaces, found 1
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// read from db" but found "//read from db"
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) No space found before comment text; expected "// cm_info" but found "//cm_info"
(#40) Whitespace found at end of line
(#41) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) Line indented incorrectly; expected 4 spaces, found 0
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#48) Whitespace found at end of line
(#49) Closing brace indented incorrectly; expected 0 spaces, found 4
(#51) Line indented incorrectly; expected at least 4 spaces, found 0
(#55) Line indented incorrectly; expected 4 spaces, found 0
(#58) Closing brace indented incorrectly; expected 0 spaces, found 4
(#60) Line indented incorrectly; expected at least 4 spaces, found 0
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#67) Whitespace found at end of line
(#69) Line indented incorrectly; expected at least 4 spaces, found 1
(#70) Expected 2 space(s) before asterisk; 1 found
(#71) Expected 2 space(s) before asterisk; 1 found
(#72) Expected 2 space(s) before asterisk; 1 found
(#73) Line indented incorrectly; expected 4 spaces, found 0
(#74) Line indented incorrectly; expected at least 8 spaces, found 4
(#75) Line indented incorrectly; expected at least 8 spaces, found 4
(#76) Line indented incorrectly; expected at least 8 spaces, found 4
(#77) Line indented incorrectly; expected 4 spaces, found 0
(#79) Line indented incorrectly; expected at least 4 spaces, found 2
(#80) Expected 3 space(s) before asterisk; 1 found
(#81) Expected 3 space(s) before asterisk; 1 found
(#82) Expected 3 space(s) before asterisk; 1 found
(#83) Line indented incorrectly; expected 4 spaces, found 0
(#83) Visibility must be declared on method "proposeupdate"
(#84) Line indented incorrectly; expected at least 8 spaces, found 4
(#85) Line indented incorrectly; expected at least 8 spaces, found 4
(#86) Line indented incorrectly; expected at least 8 spaces, found 4
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// this should be 0 already" but found "//this should be 0 already"
(#87) Line indented incorrectly; expected at least 8 spaces, found 4
(#88) Line indented incorrectly; expected at least 8 spaces, found 4
(#89) Line indented incorrectly; expected at least 8 spaces, found 4
(#90) Line indented incorrectly; expected 4 spaces, found 0
(#91) Line indented incorrectly; expected at least 4 spaces, found 0
(#95) Line indented incorrectly; expected 4 spaces, found 0
(#95) Visibility must be declared on method "approveupdate"
(#96) Line indented incorrectly; expected at least 8 spaces, found 4
(#97) Line indented incorrectly; expected 8 spaces, found 4
(#98) Line indented incorrectly; expected at least 12 spaces, found 8
(#99) Line indented incorrectly; expected 8 spaces, found 4
(#100) Line indented incorrectly; expected at least 12 spaces, found 8
(#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
(#100) No space found before comment text; expected "// should be 0 already" but found "//should be 0 already"
(#101) Line indented incorrectly; expected at least 12 spaces, found 8
(#102) Line indented incorrectly; expected 8 spaces, found 4
(#103) Line indented incorrectly; expected at least 8 spaces, found 4
(#104) Line indented incorrectly; expected at least 8 spaces, found 4
(#104) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) 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
(#106) This comment is 75% valid code; is this commented out code?
(#106) No space found before comment text; expected "// strftime("%d %b %y %H:%M")" but found "//strftime("%d %b %y %H:%M")"
(#108) Line indented incorrectly; expected at least 8 spaces, found 4
(#109) Line indented incorrectly; expected 4 spaces, found 0
(#111) Line indented incorrectly; expected at least 4 spaces, found 0
(#123) Commas (,) must be followed by white space.
(#124) Closing brace must be on a line by itself
(#125) Commas (,) must be followed by white space.
(#126) Closing brace must be on a line by itself
(#127) Must use "self::" for local static member reference
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// note can't refer to self as keep public static" but found "//note can't refer to self as keep public static"
(#130) Line indented incorrectly; expected at least 4 spaces, found 0
(#135) Line indented incorrectly; expected 4 spaces, found 0
(#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
(#139) No space found before comment text; expected "// only regenerates if not approved" but found "//only regenerates if not approved"
(#140) Whitespace found at end of line
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) No space found before comment text; expected "// leave any old information in database, in case it is required later" but found "//leave any old information in database, in case it is required later"
(#142) Line exceeds 132 characters; contains 153 characters
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// We have to test for options, because if it is not available then it won't be present in the form, and we don't want to overwrite with nulls" but found "//We have to test for options, because if it is not available then it won't be present in the form, and we don't want to overwrite with nulls"
(#143) Commas (,) must be followed by white space.
(#143) Whitespace found at end of line
(#144) Commas (,) must be followed by white space.
(#144) Closing brace must be on a line by itself
(#145) Commas (,) must be followed by white space.
(#146) Commas (,) must be followed by white space.
(#146) Closing brace must be on a line by itself
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) No space found before comment text; expected "// grouping handled by cm" but found "//grouping handled by cm"
(#151) Closing brace indented incorrectly; expected 0 spaces, found 4
(#153) Line indented incorrectly; expected at least 4 spaces, found 0
(#158) Line indented incorrectly; expected 4 spaces, found 0
(#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
(#172) No space found before comment text; expected "// set to 0 to reset the proposal time back to the 'not proposed' value of 0" but found "//set to 0 to reset the proposal time back to the 'not proposed' value of 0"
(#174) Expected 1 space after "="; 0 found
(#175) Whitespace found at end of line
(#176) Closing brace indented incorrectly; expected 0 spaces, found 4
(#178) Line indented incorrectly; expected at least 4 spaces, found 0
(#180) Whitespace found at end of line
(#189) Commas (,) must be followed by white space.
(#189) Expected 1 space before "=>"; 0 found
(#189) Expected 1 space after "=>"; 0 found
(#189) Commas (,) must be followed by white space.
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Line indented incorrectly; expected at least 8 spaces, found 4
(#190) No space found before comment text; expected "// SCHEDULE and TAGS SETUP" but found "//SCHEDULE and TAGS SETUP"
(#193) Space found after object operator
(#193) Line exceeds 132 characters; contains 133 characters
(#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
(#193) No space found before comment text; expected "// so that schedule can have week information removed if not relevant" but found "//so that schedule can have week information removed if not relevant"
(#195) Line indented incorrectly; expected at least 8 spaces, found 4
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) No space found before comment text; expected "// get all the groups that may access each activity module" but found "//get all the groups that may access each activity module"
(#197) Line exceeds 132 characters; contains 137 characters
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#198) The use of the AS keyword to alias tables is bad for cross-db
(#199) Whitespace found at end of line within string
(#199) The use of the AS keyword to alias tables is bad for cross-db
(#200) Whitespace found at end of line within string
(#200) The use of the AS keyword to alias tables is bad for cross-db
(#201) Whitespace found at end of line within string
(#201) The use of the AS keyword to alias tables is bad for cross-db
(#202) Whitespace found at end of line within string
(#202) The use of the AS keyword to alias tables is bad for cross-db
(#203) Whitespace found at end of line within string
(#203) The use of the AS keyword to alias tables is bad for cross-db
(#204) Whitespace found at end of line within string
(#205) Whitespace found at end of line within string
(#206) Whitespace found at end of line within string
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) No space found before comment text; expected "// get all the groups that are in our target grouping" but found "//get all the groups that are in our target grouping"
(#208) Whitespace found at end of line within string
(#209) Whitespace found at end of line within string
(#209) The use of the AS keyword to alias tables is bad for cross-db
(#210) Whitespace found at end of line within string
(#210) The use of the AS keyword to alias tables is bad for cross-db
(#211) Whitespace found at end of line within string
(#211) The use of the AS keyword to alias tables is bad for cross-db
(#212) Whitespace found at end of line within string
(#213) Whitespace found at end of line within string
(#214) Whitespace found at end of line within string
(#215) Inline comments must start with a capital letter, digit or 3-dots sequence
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Line exceeds maximum limit of 180 characters; contains 186 characters
(#215) No space found before comment text; expected "// find all the activities that have groups accessing that activity that are in our target grouping, or activities that do not have grouping restrictions" but found "//find all the activities that have groups accessing that activity that are in our target grouping, or activities that do not have grouping restrictions"
(#216) Whitespace found at end of line within string
(#217) Whitespace found at end of line within string
(#218) Whitespace found at end of line within string
(#219) Whitespace found at end of line within string
(#220) Whitespace found at end of line within string
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// access all the mod info now given that we have already gathered half the information" but found "//access all the mod info now given that we have already gathered half the information"
(#222) Whitespace found at end of line within string
(#223) Line exceeds 132 characters; contains 163 characters
(#223) Whitespace found at end of line within string
(#224) Whitespace found at end of line within string
(#225) Whitespace found at end of line within string
(#226) Whitespace found at end of line within string
(#227) Whitespace found at end of line within string
(#227) The use of the AS keyword to alias tables is bad for cross-db
(#228) Whitespace found at end of line within string
(#228) The use of the AS keyword to alias tables is bad for cross-db
(#229) Whitespace found at end of line within string
(#229) The use of the AS keyword to alias tables is bad for cross-db
(#230) Whitespace found at end of line
(#232) Commas (,) must be followed by white space.
(#232) Expected 1 space before "=>"; 0 found
(#232) Expected 1 space after "=>"; 0 found
(#232) Commas (,) must be followed by white space.
(#232) Expected 1 space before "=>"; 0 found
(#232) Expected 1 space after "=>"; 0 found
(#232) Expected 1 space before "=>"; 0 found
(#232) Expected 1 space after "=>"; 0 found
(#232) Whitespace found at end of line
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Line indented incorrectly; expected at least 8 spaces, found 4
(#234) No space found before comment text; expected "// FORUM" but found "//FORUM"
(#236) Commas (,) must be followed by white space.
(#238) Whitespace found at end of line
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) No space found before comment text; expected "// sched is updated directly" but found "//sched is updated directly"
(#243) Space found after object operator
(#243) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) No space found before comment text; expected "// include for mustache header" but found "//include for mustache header"
(#244) Space found after object operator
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) This comment is 75% valid code; is this commented out code?
(#244) No space found before comment text; expected "// cadosort($temparray, 'orderdate');" but found "//cadosort($temparray, 'orderdate');"
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Line indented incorrectly; expected at least 8 spaces, found 4
(#246) No space found before comment text; expected "// QUIZ" but found "//QUIZ"
(#246) Whitespace found at end of line
(#247) Commas (,) must be followed by white space.
(#248) Whitespace found at end of line
(#251) Whitespace found at end of line
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) No space found before comment text; expected "// sched is updated directly" but found "//sched is updated directly"
(#255) Space found after object operator
(#255) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#256) Space found after object operator
(#256) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) This comment is 67% valid code; is this commented out code?
(#258) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) Line indented incorrectly; expected at least 8 spaces, found 4
(#258) No space found before comment text; expected "// ASSIGN" but found "//ASSIGN"
(#258) Whitespace found at end of line
(#259) Commas (,) must be followed by white space.
(#260) Whitespace found at end of line
(#263) Whitespace found at end of line
(#264) Inline comments must start with a capital letter, digit or 3-dots sequence
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) No space found before comment text; expected "// sched is updated directly" but found "//sched is updated directly"
(#267) Space found after object operator
(#267) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#267) Whitespace found at end of line
(#268) Space found after object operator
(#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
(#268) This comment is 67% valid code; is this commented out code?
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Line indented incorrectly; expected at least 8 spaces, found 4
(#270) No space found before comment text; expected "// ALL" but found "//ALL"
(#270) Whitespace found at end of line
(#272) Space found after object operator
(#273) Space found after object operator
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#274) Line exceeds maximum limit of 180 characters; contains 195 characters
(#274) No space found before comment text; expected "// checks to see if there actually are any relevant tags, when tags are turned on in the schedule" but found "//checks to see if there actually are any relevant tags, when tags are turned on in the schedule"
(#278) Space found after object operator
(#279) Space found after object operator
(#279) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#281) Whitespace found at end of line
(#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
(#286) This comment is 63% valid code; is this commented out code?
(#286) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#288) Whitespace found at end of line
(#291) Expected 5 space(s) before asterisk; 4 found
(#292) Expected 5 space(s) before asterisk; 4 found
(#292) Whitespace found at end of line
(#293) Expected 5 space(s) before asterisk; 4 found
(#299) Inline comments must start with a capital letter, digit or 3-dots sequence
(#299) No space found before comment text; expected "// want cs.id, cs.section, cs.name, c.format, c.startdate, c.relativedatesmode ?" but found "//want cs.id, cs.section, cs.name, c.format, c.startdate, c.relativedatesmode ?"
(#300) Commas (,) must be followed by white space.
(#300) Expected 1 space before "=>"; 0 found
(#300) Expected 1 space after "=>"; 0 found
(#302) Line exceeds 132 characters; contains 147 characters
(#302) Inline comments must start with a capital letter, digit or 3-dots sequence
(#302) Inline comments must end in full-stops, exclamation marks, or question marks
(#302) No space found before comment text; expected "// use the topic name in the schedule, if empty use the summary" but found "//use the topic name in the schedule, if empty use the summary"
(#307) Line exceeds 132 characters; contains 153 characters
(#309) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#310) Whitespace found at end of line
(#314) Expected 1 space before "=>"; 0 found
(#314) Expected 1 space after "=>"; 0 found
(#314) Expected 1 space before "=>"; 0 found
(#314) Expected 1 space after "=>"; 0 found
(#314) Commas (,) must be followed by white space.
(#314) Expected 1 space before "=>"; 0 found
(#314) Expected 1 space before "=>"; 0 found
(#314) Expected 1 space after "=>"; 0 found
(#314) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#318) Line indented incorrectly; expected at least 4 spaces, found 0
(#320) Whitespace found at end of line
(#325) Expected 1 space(s) before asterisk; 0 found
(#326) Visibility must be declared on method "getmoddetails"
(#329) Inline comments must start with a capital letter, digit or 3-dots sequence
(#329) No space found before comment text; expected "// returned" but found "//returned"
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) No space found before comment text; expected "// for forum and assign take as !$quiz; no options have assign alone in below" but found "//for forum and assign take as !$quiz; no options have assign alone in below"
(#332) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#334) Inline comments must start with a capital letter, digit or 3-dots sequence
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) No space found before comment text; expected "// from the sql we get either null or the matching details so we can use max" but found "//from the sql we get either null or the matching details so we can use max"
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#340) No space found before comment text; expected "// seems to need automatically defined keys for mustache" but found "//seems to need automatically defined keys for mustache"
(#341) Expected 1 space before "=>"; 0 found
(#341) Expected 1 space after "=>"; 0 found
(#342) Expected 1 space before "=>"; 0 found
(#342) Expected 1 space after "=>"; 0 found
(#342) Whitespace found at end of line
(#343) Expected 1 space before "=>"; 0 found
(#343) Expected 1 space after "=>"; 0 found
(#344) Expected 1 space before "=>"; 0 found
(#344) Expected 1 space after "=>"; 0 found
(#344) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#345) Expected 1 space before "=>"; 0 found
(#345) Expected 1 space after "=>"; 2 found
(#346) Expected 1 space before "=>"; 0 found
(#346) Expected 1 space before "=>"; 0 found
(#346) Expected 1 space after "=>"; 0 found
(#346) Expected 1 space before "=>"; 0 found
(#346) Expected 1 space after "=>"; 0 found
(#346) Expected 1 space before "=>"; 0 found
(#346) Expected 1 space after "=>"; 0 found
(#346) Line exceeds maximum limit of 180 characters; contains 227 characters
(#347) Whitespace found at end of line
(#348) Inline comments must start with a capital letter, digit or 3-dots sequence
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#348) No space found before comment text; expected "// forum and assign" but found "//forum and assign"
(#349) Expected 1 space before "=>"; 0 found
(#349) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#349) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#349) Whitespace found at end of line
(#350) Expected 1 space before "=>"; 0 found
(#350) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#350) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#350) Whitespace found at end of line
(#351) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#351) Whitespace found at end of line
(#352) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#352) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#353) Whitespace found at end of line
(#354) Inline comments must start with a capital letter, digit or 3-dots sequence
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#354) No space found before comment text; expected "// forum" but found "//forum"
(#355) Expected 1 space before "=>"; 0 found
(#355) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#355) Whitespace found at end of line
(#356) Expected 1 space before "=>"; 0 found
(#356) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#356) Whitespace found at end of line
(#357) Expected 1 space before "=>"; 0 found
(#357) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#358) Whitespace found at end of line
(#359) Inline comments must start with a capital letter, digit or 3-dots sequence
(#359) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) No space found before comment text; expected "// quiz" but found "//quiz"
(#360) Expected 1 space before "=>"; 0 found
(#360) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#360) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#360) Whitespace found at end of line
(#361) Expected 1 space before "=>"; 0 found
(#361) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#361) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#361) Whitespace found at end of line
(#362) Expected 1 space before "=>"; 0 found
(#362) Commas (,) must be followed by white space.
(#362) Expected 1 space before "/"; 0 found
(#362) Expected 1 space after "/"; 0 found
(#362) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#362) Line exceeds 132 characters; contains 142 characters
(#362) Whitespace found at end of line
(#363) Expected 1 space before "=>"; 0 found
(#363) Commas (,) must be followed by white space.
(#363) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#366) Whitespace found at end of line
(#367) Whitespace found at end of line
(#368) Whitespace found at end of line
(#370) Whitespace found at end of line
(#372) Expected 1 space after "?"; 0 found
(#372) Whitespace found at end of line
(#374) Whitespace found at end of line
(#377) Expected 1 space before "=>"; 0 found
(#380) Whitespace found at end of line
(#381) Expected "if (...) {\n"; found "if (...){\n"
(#384) Inline comments must start with a capital letter, digit or 3-dots sequence
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) No space found before comment text; expected "// then add up tag values" but found "//then add up tag values"
(#388) Space found before semicolon; expected "];" but found "] ;"
(#395) Whitespace found at end of line
(#396) Line indented incorrectly; expected at least 4 spaces, found 0
(#398) Whitespace found at end of line
(#399) Expected 1 space(s) before asterisk; 0 found
(#400) Expected 1 space(s) before asterisk; 0 found
(#403) Whitespace found at end of line within string
(#404) Whitespace found at end of line within string
(#405) Whitespace found at end of line within string
(#406) Whitespace found at end of line within string
(#407) Whitespace found at end of line within string
(#408) Whitespace found at end of line within string
(#409) Whitespace found at end of line within string
(#409) The use of the AS keyword to alias tables is bad for cross-db
(#410) Whitespace found at end of line within string
(#410) The use of the AS keyword to alias tables is bad for cross-db
(#411) Whitespace found at end of line within string
(#411) The use of the AS keyword to alias tables is bad for cross-db
(#412) Whitespace found at end of line within string
(#412) The use of the AS keyword to alias tables is bad for cross-db
(#413) Whitespace found at end of line within string
(#413) The use of the AS keyword to alias tables is bad for cross-db
(#414) Whitespace found at end of line within string
(#416) Commas (,) must be followed by white space.
(#416) Commas (,) must be followed by white space.
(#417) Whitespace found at end of line
(#418) Inline comments must start with a capital letter, digit or 3-dots sequence
(#418) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) No space found before comment text; expected "// now loop through, rearranging into nested arrays for mustache table layout" but found "//now loop through, rearranging into nested arrays for mustache table layout"
(#421) Line exceeds 132 characters; contains 161 characters
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) No space found before comment text; expected "// for some unknown reason, mustache can't take any array keys unless automatically created, otherwise it treats the array as an object" but found "//for some unknown reason, mustache can't take any array keys unless automatically created, otherwise it treats the array as an object"
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#422) Line indented incorrectly; expected at least 8 spaces, found 0
(#422) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#423) Line indented incorrectly; expected 8 spaces, found 12
(#424) Line indented incorrectly; expected 12 spaces, found 16
(#424) Line exceeds 132 characters; contains 161 characters
(#424) Inline comments must start with a capital letter, digit or 3-dots sequence
(#424) Inline comments must end in full-stops, exclamation marks, or question marks
(#424) No space found before comment text; expected "// first time through for each criterion (item->crit gives the current criterion)" but found "//first time through for each criterion (item->crit gives the current criterion)"
(#426) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) No space found before comment text; expected "// crit = criterion id" but found "//crit = criterion id"
(#428) Inline comments must start with a capital letter, digit or 3-dots sequence
(#428) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) No space found before comment text; expected "// reset for each criterion" but found "//reset for each criterion"
(#429) Expected 1 space before "=>"; 0 found
(#429) Expected 1 space after "=>"; 0 found
(#429) Commas (,) must be followed by white space.
(#429) Expected 1 space before "=>"; 0 found
(#429) Expected 1 space after "=>"; 0 found
(#430) Expected 1 space before "=>"; 0 found
(#430) Expected 1 space after "=>"; 0 found
(#430) Commas (,) must be followed by white space.
(#430) Expected 1 space before "=>"; 0 found
(#430) Commas (,) must be followed by white space.
(#430) Inline comments must start with a capital letter, digit or 3-dots sequence
(#430) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Line exceeds maximum limit of 180 characters; contains 252 characters
(#430) No space found before comment text; expected "// the first $item->score will be the greatest because it has been ordered so in the SQL, the later sort is ascending, so make negative" but found "//the first $item->score will be the greatest because it has been ordered so in the SQL, the later sort is ascending, so make negative"
(#431) Line indented incorrectly; expected 12 spaces, found 16
(#432) Expected 1 space before "=>"; 0 found
(#432) Expected 1 space after "=>"; 0 found
(#432) Commas (,) must be followed by white space.
(#432) Expected 1 space before "=>"; 0 found
(#432) Expected 1 space after "=>"; 0 found
(#433) Inline comments must start with a capital letter, digit or 3-dots sequence
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#433) No space found before comment text; expected "// update criterion with new array after it has been added to" but found "//update criterion with new array after it has been added to"
(#434) Line indented incorrectly; expected 12 spaces, found 16
(#435) Line indented incorrectly; expected 8 spaces, found 12
(#436) Commas (,) must be followed by white space.
(#436) Inline comments must start with a capital letter, digit or 3-dots sequence
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) No space found before comment text; expected "// now sort the criteria by the most negative" but found "//now sort the criteria by the most negative"
(#441) Whitespace found at end of line
(#442) Expected 5 space(s) before asterisk; 4 found
(#443) Expected 5 space(s) before asterisk; 4 found
(#444) Visibility must be declared on method "compare"
(#444) Expected 1 space before opening brace; found 0
(#446) Commas (,) must be followed by white space.
(#446) Expected 1 space before "=>"; 0 found
(#446) Expected 1 space after "=>"; 0 found
(#447) Must use "self::" for local static member reference
(#455) Expected 1 space before "="; 0 found
(#456) Commas (,) must be followed by white space.
(#458) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#458) Inline comments must start with a capital letter, digit or 3-dots sequence
(#458) Inline comments must end in full-stops, exclamation marks, or question marks
(#458) No space found before comment text; expected "// just to see if everything matches except cmid, this is the case for an exact backup between courses" but found "//just to see if everything matches except cmid, this is the case for an exact backup between courses"
(#459) Whitespace found at end of line
(#460) Line exceeds 132 characters; contains 141 characters
(#460) Inline comments must start with a capital letter, digit or 3-dots sequence
(#460) No space found before comment text; expected "// check to see if not all identical. Complete identicality will only occur in the same course, otherwise the cmids will be different" but found "//check to see if not all identical. Complete identicality will only occur in the same course, otherwise the cmids will be different"
(#461) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) No space found before comment text; expected "// Note we don't care about case, otherwise use strcmp" but found "//Note we don't care about case, otherwise use strcmp"
(#464) Inline comments must start with a capital letter, digit or 3-dots sequence
(#464) Inline comments must end in full-stops, exclamation marks, or question marks
(#464) No space found before comment text; expected "// now to setup the id labels arrays" but found "//now to setup the id labels arrays"
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#465) Commas (,) must be followed by white space.
(#471) Line exceeds 132 characters; contains 180 characters
(#471) This comment is 50% valid code; is this commented out code?
(#471) Inline comments must start with a capital letter, digit or 3-dots sequence
(#471) Line indented incorrectly; expected at least 16 spaces, found 0
(#471) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#472) Line indented incorrectly; expected at least 16 spaces, found 0
(#472) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#473) Line indented incorrectly; expected at least 16 spaces, found 0
(#473) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Line indented incorrectly; expected at least 16 spaces, found 0
(#474) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#474) Whitespace found at end of line
(#475) Space found before semicolon; expected ");" but found ") ;"
(#476) Line exceeds 132 characters; contains 139 characters
(#476) Inline comments must start with a capital letter, digit or 3-dots sequence
(#476) Inline comments must end in full-stops, exclamation marks, or question marks
(#476) No space found before comment text; expected "// need to keep tags here so we can break down further" but found "//need to keep tags here so we can break down further"
(#477) Whitespace found at end of line
(#478) Space found before semicolon; expected ");" but found ") ;"
(#480) Expected 1 space before "="; 0 found
(#480) Expected 1 space after "="; 0 found
(#481) Expected 1 space before "="; 0 found
(#481) Expected 1 space after "="; 0 found
(#484) Commas (,) must be followed by white space.
(#484) Commas (,) must be followed by white space.
(#485) Commas (,) must be followed by white space.
(#486) Commas (,) must be followed by white space.
(#487) Commas (,) must be followed by white space.
(#488) Commas (,) must be followed by white space.
(#490) Inline comments must start with a capital letter, digit or 3-dots sequence
(#490) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) No space found before comment text; expected "// make new arrays with key as cmid" but found "//make new arrays with key as cmid"
(#493) Expected "if (...) {\n"; found "if (...) {"
(#493) Closing brace must be on a line by itself
(#493) Line exceeds 132 characters; contains 168 characters
(#494) Expected 1 space before "="; 0 found
(#494) Expected 1 space after "="; 0 found
(#498) Expected "if (...) {\n"; found "if (...) {"
(#498) Closing brace must be on a line by itself
(#498) Line exceeds 132 characters; contains 168 characters
(#499) Expected 1 space before "="; 0 found
(#499) Expected 1 space after "="; 0 found
(#501) Whitespace found at end of line
(#502) Inline comments must start with a capital letter, digit or 3-dots sequence
(#502) Inline comments must end in full-stops, exclamation marks, or question marks
(#502) No space found before comment text; expected "// now check for matches from origin to other" but found "//now check for matches from origin to other"
(#505) Inline comments must start with a capital letter, digit or 3-dots sequence
(#505) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) No space found before comment text; expected "// content match" but found "//content match"
(#507) Inline comments must start with a capital letter, digit or 3-dots sequence
(#507) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) No space found before comment text; expected "// now go to next $orival1" but found "//now go to next $orival1"
(#509) Expected "if (...) {\n"; found "if (...){\n"
(#509) Expected 1 space before "=="; 0 found
(#509) Expected 1 space after "=="; 0 found
(#510) Inline comments must start with a capital letter, digit or 3-dots sequence
(#510) No space found before comment text; expected "// then activities match, but we know the content doesn't" but found "//then activities match, but we know the content doesn't"
(#512) No space found before comment text; expected "// a component of an activity is missing." but found "//a component of an activity is missing."
(#513) Expected 1 space before "="; 0 found
(#513) Expected 1 space after "="; 0 found
(#516) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#517) Inline comments must start with a capital letter, digit or 3-dots sequence
(#517) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) No space found before comment text; expected "// mark the descriptor as different" but found "//mark the descriptor as different"
(#518) Expected 1 space before "="; 0 found
(#518) Expected 1 space after "="; 0 found
(#521) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#524) Line exceeds 132 characters; contains 138 characters
(#524) No space found before comment text; expected "// now set the name as 'done' so that we don't find it again" but found "//now set the name as 'done' so that we don't find it again"
(#525) No space found before comment text; expected "// now go to next $orival1" but found "//now go to next $orival1"
(#526) Line exceeds 132 characters; contains 134 characters
(#528) Inline comments must start with a capital letter, digit or 3-dots sequence
(#528) Inline comments must end in full-stops, exclamation marks, or question marks
(#528) No space found before comment text; expected "// if arrived here then missing entire activities from other" but found "//if arrived here then missing entire activities from other"
(#529) Expected 1 space before "="; 0 found
(#529) Expected 1 space after "="; 0 found
(#532) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#534) Inline comments must start with a capital letter, digit or 3-dots sequence
(#534) Inline comments must end in full-stops, exclamation marks, or question marks
(#534) No space found before comment text; expected "// now check for missing matches from other to origin" but found "//now check for missing matches from other to origin"
(#536) Expected "if (...) {\n"; found "if (...) { "
(#536) Closing brace must be on a line by itself
(#536) Line exceeds 132 characters; contains 141 characters
(#538) Commas (,) must be followed by white space.
(#538) Whitespace found at end of line
(#539) Space found before semicolon; expected "'</div><br>';" but found "'</div><br>' ;"
(#539) Inline comments must start with a capital letter, digit or 3-dots sequence
(#539) No space found before comment text; expected "// add a new comment and apply class to it." but found "//add a new comment and apply class to it."
(#541) Line exceeds 132 characters; contains 151 characters
(#541) Inline comments must start with a capital letter, digit or 3-dots sequence
(#541) No space found before comment text; expected "// if there is no appropriate heading, then the above will be 0, so just insert after the first div of the section instead;" but found "//if there is no appropriate heading, then the above will be 0, so just insert after the first div of the section instead;"
(#541) Whitespace found at end of line
(#542) No space found before comment text; expected "// need to insert after the search sequence, so add the number of characters in the search sequence." but found "//need to insert after the search sequence, so add the number of characters in the search sequence."
(#543) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#543) Line exceeds 132 characters; contains 144 characters
(#543) Whitespace found at end of line
(#544) Line exceeds 132 characters; contains 136 characters
(#545) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#547) Inline comments must start with a capital letter, digit or 3-dots sequence
(#547) No space found before comment text; expected "// not a module so don't have to do such exhaustive treatment if there is no match" but found "//not a module so don't have to do such exhaustive treatment if there is no match"
(#548) Expected 1 space before "="; 0 found
(#548) Expected 1 space after "="; 0 found
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#548) No space found before comment text; expected "// *****May need to add some text as well */" but found "//*****May need to add some text as well */"
(#550) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#558) Expected 1 space before "=>"; 0 found
(#558) Expected 1 space after "=>"; 0 found
(#558) Expected 1 space before "=>"; 0 found
(#558) Expected 1 space after "=>"; 0 found
(#558) Commas (,) must be followed by white space.
(#558) Expected 1 space before "=>"; 0 found
(#558) Expected 1 space after "=>"; 0 found
(#560) Expected 1 space before "=>"; 0 found
(#560) Expected 1 space after "=>"; 0 found
(#560) Expected 1 space before "=>"; 0 found
(#560) Expected 1 space after "=>"; 0 found
(#560) Commas (,) must be followed by white space.
(#560) Expected 1 space before "=>"; 0 found
(#560) Expected 1 space after "=>"; 0 found
(#563) Line indented incorrectly; expected at least 4 spaces, found 0
(#565) Whitespace found at end of line
(#568) Whitespace found at end of line
(#569) Expected 1 space(s) before asterisk; 0 found
(#571) Commas (,) must be followed by white space.
(#571) Space found before semicolon; expected ");" but found ") ;"
(#572) Expected "if (...) {\n"; found "if (...) {"
(#572) Closing brace must be on a line by itself
(#573) Commas (,) must be followed by white space.
(#573) Space found before semicolon; expected ");" but found ") ;"
(#574) Commas (,) must be followed by white space.
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#577) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) No space found before comment text; expected "// +2 because we have two characters being searched for rather than one" but found "//+2 because we have two characters being searched for rather than one"
(#579) This comment is 57% valid code; is this commented out code?
(#579) Inline comments must start with a capital letter, digit or 3-dots sequence
(#579) Line indented incorrectly; expected at least 8 spaces, found 0
(#579) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#579) Whitespace found at end of line
(#580) Commas (,) must be followed by white space.
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#580) No space found before comment text; expected "// Remove the last character in list because I added it" but found "//Remove the last character in list because I added it"
(#581) Commas (,) must be followed by white space.
(#581) Commas (,) must be followed by white space.
(#582) Whitespace found at end of line
(#584) Whitespace found at end of line
(#585) Inline comments must start with a capital letter, digit or 3-dots sequence
(#585) Inline comments must end in full-stops, exclamation marks, or question marks
(#585) No space found before comment text; expected "// if it is a name, then leave the white space in it because it gets used for display when there is an item missing" but found "//if it is a name, then leave the white space in it because it gets used for display when there is an item missing"
(#586) Commas (,) must be followed by white space.
(#586) Commas (,) must be followed by white space.
(#591) Whitespace found at end of line
(#592) Whitespace found at end of line
(#595) This comment is 67% valid code; is this commented out code?
(#595) Inline comments must start with a capital letter, digit or 3-dots sequence
(#596) Inline comments must end in full-stops, exclamation marks, or question marks
(#596) This comment is 60% valid code; is this commented out code?
(#599) Opening brace must be the last content on the line
(#599) Inline comments must start with a capital letter, digit or 3-dots sequence
(#599) Inline comments must end in full-stops, exclamation marks, or question marks
(#599) No space found before comment text; expected "// this gets used for the quick whole document check" but found "//this gets used for the quick whole document check"
(#600) Whitespace found at end of line
(#602) Commas (,) must be followed by white space.
(#602) Commas (,) must be followed by white space.
(#603) Whitespace found at end of line
(#607) Line indented incorrectly; expected at least 4 spaces, found 0
(#609) Whitespace found at end of line
(#613) Whitespace found at end of line
(#614) Expected 1 space(s) before asterisk; 0 found
(#615) Line indented incorrectly; expected 4 spaces, found 0
(#618) Whitespace found at end of line
(#619) Closing brace indented incorrectly; expected 0 spaces, found 4
(#620) Whitespace found at end of line
(#622) Line indented incorrectly; expected at least 4 spaces, found 0
(#624) Whitespace found at end of line
(#629) Expected 1 space(s) before asterisk; 0 found
(#630) Visibility must be declared on method "workflownotify"
(#630) Expected 1 space before opening brace; found 0
(#632) Expected "if (...) {\n"; found "if (...){\n"
(#633) Commas (,) must be followed by white space.
(#634) Commas (,) must be followed by white space.
(#637) Commas (,) must be followed by white space.
(#638) Commas (,) must be followed by white space.
(#644) Whitespace found at end of line
(#645) Commas (,) must be followed by white space.
(#652) Commas (,) must be followed by white space.
(#653) Whitespace found at end of line
(#654) Commas (,) must be followed by white space.
(#655) Commas (,) must be followed by white space.
(#655) Commas (,) must be followed by white space.
(#661) Line indented incorrectly; expected at least 4 spaces, found 0
(#663) Whitespace found at end of line
(#669) Expected 1 space(s) before asterisk; 0 found
(#670) Line indented incorrectly; expected 4 spaces, found 0
(#670) Visibility must be declared on method "notify"
(#670) Expected 1 space before opening brace; found 0
(#671) Commas (,) must be followed by white space.
(#672) Commas (,) must be followed by white space.
(#672) Commas (,) must be followed by white space.
(#673) Commas (,) must be followed by white space.
(#673) Commas (,) must be followed by white space.
(#674) Commas (,) must be followed by white space.
(#674) Commas (,) must be followed by white space.
(#675) Whitespace found at end of line
(#675) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#692) This comment is 52% valid code; is this commented out code?
(#692) Inline comments must start with a capital letter, digit or 3-dots sequence
(#692) Line indented incorrectly; expected at least 8 spaces, found 0
(#692) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#693) Inline comments must end in full-stops, exclamation marks, or question marks
(#693) Line indented incorrectly; expected at least 8 spaces, found 0
(#693) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#695) Inline comments must start with a capital letter, digit or 3-dots sequence
(#695) Inline comments must end in full-stops, exclamation marks, or question marks
(#695) Line indented incorrectly; expected at least 8 spaces, found 0
(#699) Line indented incorrectly; expected 4 spaces, found 0
(#701) This comment is 62% valid code; is this commented out code?
(#701) Line indented incorrectly; expected at least 4 spaces, found 0
(#710) Line indented incorrectly; expected at least 4 spaces, found 0
(#765) Closing brace indented incorrectly; expected 1 spaces, found 0
mod/cado/classes/check.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#21) Line exceeds 132 characters; contains 154 characters
(#26) Expected 1 space(s) before asterisk; 0 found
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected at least 8 spaces, found 2
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 8 spaces, found 2
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected 8 spaces, found 2
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected at least 12 spaces, found 3
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected 8 spaces, found 2
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected at least 8 spaces, found 2
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected 4 spaces, found 1
(#37) Closing brace indented incorrectly; expected 4 spaces, found 1
(#39) Commas (,) must be followed by white space.
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 4 spaces, found 1
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#42) Whitespace found at end of line
(#53) Whitespace found at end of line
(#60) Commas (,) must be followed by white space.
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) No space found before comment text; expected "// schedule wanted" but found "//schedule wanted"
(#61) Expected 1 space before ":"; 0 found
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// tags in schedule or not" but found "//tags in schedule or not"
(#62) Commas (,) must be followed by white space.
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// check to see if tags wanted at all and tags are present" but found "//check to see if tags wanted at all and tags are present"
(#63) Whitespace found at end of line
(#65) Expected 1 space after "="; 2 found
(#65) Whitespace found at end of line
(#69) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Line exceeds maximum limit of 180 characters; contains 209 characters
(#69) No space found before comment text; expected "// will set these to TRUE if some activity has this tag, used to determine whether to include heading in schedule" but found "//will set these to TRUE if some activity has this tag, used to determine whether to include heading in schedule"
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#76) Commas (,) must be followed by white space.
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#76) Commas (,) must be followed by white space.
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#76) Whitespace found at end of line
(#79) Whitespace found at end of line
(#80) Commas (,) must be followed by white space.
(#80) Whitespace found at end of line
(#81) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#82) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#94) Expected "} else {\n"; found "} else { "
(#94) Closing brace must be on a line by itself
(#99) Whitespace found at end of line
(#102) Visibility must be declared on method "get_tags"
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) No space found before comment text; expected "// checks to see if there actually are any relevant tags" but found "//checks to see if there actually are any relevant tags"
(#106) Inline control structures are not allowed
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Line exceeds 132 characters; contains 147 characters
(#109) Space found before semicolon; expected "$thisarray;" but found "$thisarray ;"
(#110) Expected "} else {\n"; found "} else {"
(#110) Closing brace must be on a line by itself
(#115) Whitespace found at end of line
(#123) Whitespace found at end of line
(#127) Whitespace found at end of line
(#134) Must use "self::" for local static member reference
(#134) Commas (,) must be followed by white space.
(#134) Expected 1 space before ":"; 0 found
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) No space found before comment text; expected "// this only gets called after check if there is a schedule" but found "//this only gets called after check if there is a schedule"
(#142) This comment is 50% valid code; is this commented out code?
(#142) Line indented incorrectly; expected at least 4 spaces, found 0
(#153) Line indented incorrectly; expected at least 4 spaces, found 0
(#155) Whitespace found at end of line
(#160) Expected "if (...) {\n"; found "if (...) {"
(#160) Closing brace must be on a line by itself
(#161) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space before opening brace; found 0
(#170) Whitespace found at end of line
mod/cado/classes/compare_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#18) Expected 1 space(s) before asterisk; 0 found
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// cado id" but found "//cado id"
(#33) Visibility must be declared on method "__construct"
(#39) Whitespace found at end of line
(#41) Whitespace found at end of line
(#48) Line exceeds 132 characters; contains 145 characters
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// set to false to make it closed on page load, default is false for optional params, true for required" but found "//set to false to make it closed on page load, default is false for optional params, true for required"
(#50) Whitespace found at end of line
(#51) Expected 1 space before "-"; 0 found
(#51) Expected 1 space after "-"; 0 found
(#51) Expected 1 space before "+"; 0 found
(#51) Expected 1 space after "+"; 0 found
(#52) Whitespace found at end of line
(#53) Space found after object operator
(#58) Commas (,) must be followed by white space.
(#60) Whitespace found at end of line
(#61) Space found after object operator
(#62) Whitespace found at end of line
(#64) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#65) Whitespace found at end of line
(#68) This comment is 52% valid code; is this commented out code?
(#68) Line indented incorrectly; expected at least 4 spaces, found 0
(#74) Line indented incorrectly; expected at least 4 spaces, found 0
(#85) Expected 1 space after "="; 0 found
(#87) Whitespace found at end of line
(#91) Whitespace found at end of line
(#96) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Line indented incorrectly; expected at least 4 spaces, found 0
(#107) Line indented incorrectly; expected 4 spaces, found 0
(#109) Line indented incorrectly; expected at least 8 spaces, found 4
(#109) No space found before comment text; expected "// NQ at some point following will have to put semester month start in settings" but found "//NQ at some point following will have to put semester month start in settings"
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Line indented incorrectly; expected at least 8 spaces, found 4
(#110) No space found before comment text; expected "// This gives the earliest possible start month for the semester as value, semester given as key" but found "//This gives the earliest possible start month for the semester as value, semester given as key"
(#111) Line indented incorrectly; expected at least 8 spaces, found 4
(#111) Expected 1 space before "="; 0 found
(#111) Expected 1 space after "="; 0 found
(#112) Line indented incorrectly; expected at least 8 spaces, found 4
(#112) Expected 1 space before "="; 0 found
(#112) Expected 1 space after "="; 0 found
(#113) Line indented incorrectly; expected at least 8 spaces, found 4
(#113) Expected 1 space before "="; 0 found
(#113) Expected 1 space after "="; 0 found
(#114) Line indented incorrectly; expected at least 8 spaces, found 4
(#114) Expected 1 space before "="; 0 found
(#114) Expected 1 space after "="; 0 found
(#116) Line indented incorrectly; expected at least 8 spaces, found 4
(#117) Line indented incorrectly; expected at least 8 spaces, found 4
(#117) Expected 1 space before "<>"; 0 found
(#117) Expected 1 space after "<>"; 0 found
(#118) Line indented incorrectly; expected at least 8 spaces, found 4
(#118) Expected 1 space before "<>"; 0 found
(#118) Expected 1 space after "<>"; 0 found
(#118) Expected 1 space before "+"; 0 found
(#118) Expected 1 space after "+"; 0 found
(#120) Line indented incorrectly; expected at least 8 spaces, found 4
(#121) Line indented incorrectly; expected at least 8 spaces, found 4
(#122) Line indented incorrectly; expected at least 8 spaces, found 4
(#124) Line indented incorrectly; expected 4 spaces, found 0
(#126) Line indented incorrectly; expected at least 4 spaces, found 0
(#128) Whitespace found at end of line
(#132) Line indented incorrectly; expected 4 spaces, found 0
(#132) Visibility must be declared on method "choose_course"
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#140) The use of the AS keyword to alias tables is bad for cross-db
(#141) Whitespace found at end of line within string
(#141) The use of the AS keyword to alias tables is bad for cross-db
(#142) Whitespace found at end of line within string
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) No space found before comment text; expected "// the last line performs a moodle multi database type like query" but found "//the last line performs a moodle multi database type like query"
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Space found after object operator
(#148) Space found after object operator
(#148) Space found after object operator
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) No space found before comment text; expected "// add the not chosen option" but found "//add the not chosen option"
(#152) Whitespace found at end of line
(#153) Closing brace indented incorrectly; expected 0 spaces, found 4
mod/cado/classes/event/approve_cado.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#54) Whitespace found at end of line within string
(#81) This comment is 59% valid code; is this commented out code?
(#81) Line indented incorrectly; expected at least 4 spaces, found 0
mod/cado/classes/event/notapprove_cado.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#54) Whitespace found at end of line within string
mod/cado/classes/event/propose_cado.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#53) Line exceeds 132 characters; contains 144 characters
(#53) Whitespace found at end of line within string
(#80) This comment is 59% valid code; is this commented out code?
(#80) Line indented incorrectly; expected at least 4 spaces, found 0
mod/cado/classes/get_recipients_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#35) Whitespace found at end of line
(#37) Whitespace found at end of line
(#41) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#42) Expected "} else {\n"; found "} else {"
(#42) Empty ELSE statement detected
(#42) Closing brace must be on a line by itself
(#44) Whitespace found at end of line
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#52) Whitespace found at end of line
(#55) Visibility must be declared on method "getapproveusers"
(#56) Commas (,) must be followed by white space.
(#56) Line exceeds 132 characters; contains 134 characters
mod/cado/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#40) Line exceeds 132 characters; contains 141 characters
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Whitespace found at end of line
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#87) Whitespace found at end of line
(#89) Whitespace found at end of line
(#92) Whitespace found at end of line
(#107) Whitespace found at end of line
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#128) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) No space found before comment text; expected "// approved_contextlist includes both the user record, and a list of contexts, which can be retrieved by either" but found "//approved_contextlist includes both the user record, and a list of contexts, which can be retrieved by either"
(#151) Whitespace found at end of line
(#152) No space found before comment text; expected "// processing it as an Iterator, or by calling get_contextids() or get_contexts() as required." but found "//processing it as an Iterator, or by calling get_contextids() or get_contexts() as required."
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) No space found before comment text; expected "// Data is exported using a \core_privacy\local\request\content_writer" but found "//Data is exported using a \core_privacy\local\request\content_writer"
(#176) Expected 1 space before "=>"; 0 found
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#181) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#197) Whitespace found at end of line
(#198) Whitespace found at end of line
(#199) Whitespace found at end of line
(#214) Commas (,) must be followed by white space.
(#244) Whitespace found at end of line
(#272) Whitespace found at end of line within string
(#273) Whitespace found at end of line within string
(#274) Whitespace found at end of line within string
(#275) Whitespace found at end of line within string
(#276) Whitespace found at end of line within string
(#277) Whitespace found at end of line within string
(#278) Whitespace found at end of line within string
(#279) Whitespace found at end of line within string
(#297) Commas (,) must be followed by white space.
(#303) Line exceeds 132 characters; contains 164 characters
(#303) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) No space found before comment text; expected "// if $userid 0, then all records matching the cadoid are affected; $cadoid 0 then all matching useride affected; if both are 0 then all user info anonymised" but found "//if $userid 0, then all records matching the cadoid are affected; $cadoid 0 then all matching useride affected; if both are 0 then all user info anonymised"
(#307) Commas (,) must be followed by white space.
(#309) Commas (,) must be followed by white space.
mod/cado/compare.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#33) Line exceeds 132 characters; contains 146 characters
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// if a person has capability compare, then they can compare course cado to any cados on the site" but found "//if a person has capability compare, then they can compare course cado to any cados on the site"
(#37) Commas (,) must be followed by white space.
(#43) Variable "mform_cado" must not contain underscores.
(#43) Commas (,) must be followed by white space.
(#45) Variable "mform_cado" must not contain underscores.
(#46) Whitespace found at end of line
(#47) Whitespace found at end of line
(#48) Variable "mform_cado" must not contain underscores.
(#50) Variable "mform_cado" must not contain underscores.
(#50) Commas (,) must be followed by white space.
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#50) Line exceeds 132 characters; contains 138 characters
(#52) Variable "mform_cado" must not contain underscores.
(#55) Expected "} else {\n"; found "}\n else {\n"
(#56) Commas (,) must be followed by white space.
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#57) Whitespace found at end of line
(#58) Line indented incorrectly; expected 4 spaces, found 8
(#58) Closing brace indented incorrectly; expected 4 spaces, found 8
(#62) Variable "mform_cado" must not contain underscores.
(#64) Whitespace found at end of line
mod/cado/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Whitespace found at end of line
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) No space found before comment text; expected "// this is because we allow users to add rich content eg to description." but found "//this is because we allow users to add rich content eg to description."
(#40) Whitespace found at end of line
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) No space found before comment text; expected "// this is because we allow users to add rich content eg to approve comment." but found "//this is because we allow users to add rich content eg to approve comment."
(#52) Whitespace found at end of line
(#53) Whitespace found at end of line
(#63) Whitespace found at end of line
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) No space found before comment text; expected "// this is because we allow users to add rich content eg to description." but found "//this is because we allow users to add rich content eg to description."
(#73) Whitespace found at end of line
mod/cado/db/messages.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Line exceeds 132 characters; contains 154 characters
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// cado workflow notifications a) informing approvers that a CADO is ready for approval, or b)i. approvers notifying that CADO is approved or b)ii. not" but found "//cado workflow notifications a) informing approvers that a CADO is ready for approval, or b)i. approvers notifying that CADO is approved or b)ii. not"
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// cado users sharing cado with others" but found "//cado users sharing cado with others"
mod/cado/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Whitespace found at end of line
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#7) Whitespace found at end of line
(#8) This comment is 42% valid code; is this commented out code?
(#8) Line indented incorrectly; expected at least 4 spaces, found 0
(#26) A closing tag is not permitted at the end of a PHP file
mod/cado/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#20) Whitespace found at end of line
(#27) Whitespace found at end of line
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Whitespace found at end of line
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) No space found before comment text; expected "// only checking visibility not capability!" but found "//only checking visibility not capability!"
(#49) Commas (,) must be followed by white space.
mod/cado/lang/en/cado.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#75) Whitespace found at end of line
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#134) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
mod/cado/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Closing brace must be on a line by itself
(#30) Closing brace must be on a line by itself
(#31) Closing brace must be on a line by itself
(#32) Closing brace must be on a line by itself
(#33) Closing brace must be on a line by itself
(#34) Closing brace must be on a line by itself
(#35) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#37) Closing brace must be on a line by itself
(#39) Closing brace must be on a line by itself
(#43) Opening brace must be the last content on the line
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// passed cado edit settings form when created" but found "//passed cado edit settings form when created"
(#51) Opening brace must be the last content on the line
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// $id = cm->instance in course/lib.php" but found "//$id = cm->instance in course/lib.php"
(#63) Expected 1 space before opening brace; found 0
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Line indented incorrectly; expected at least 4 spaces, found 0
(#66) No space found before comment text; expected "// approve link" but found "//approve link"
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#68) Line exceeds 132 characters; contains 144 characters
(#69) Line indented incorrectly; expected 4 spaces, found 3
(#69) Closing brace indented incorrectly; expected 4 spaces, found 3
(#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) Line indented incorrectly; expected at least 4 spaces, found 0
(#71) No space found before comment text; expected "// printview link" but found "//printview link"
(#72) Line indented incorrectly; expected at least 4 spaces, found 3
(#72) Expected 1 space before "=>"; 0 found
(#72) Expected 1 space after "=>"; 0 found
(#72) Line exceeds 132 characters; contains 161 characters
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Line indented incorrectly; expected at least 4 spaces, found 1
(#74) No space found before comment text; expected "// compare link" but found "//compare link"
(#75) Line indented incorrectly; expected 4 spaces, found 1
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#76) Line indented incorrectly; expected at least 8 spaces, found 4
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#76) Line exceeds 132 characters; contains 140 characters
(#77) Closing brace indented incorrectly; expected 1 spaces, found 4
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Line indented incorrectly; expected at least 4 spaces, found 0
(#78) No space found before comment text; expected "// send message to approvers" but found "//send message to approvers"
(#79) Line indented incorrectly; expected 4 spaces, found 1
(#79) Expected "if (...) {\n"; found "if(...){\n"
(#80) Line indented incorrectly; expected at least 8 spaces, found 4
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#80) Line exceeds 132 characters; contains 136 characters
(#81) Closing brace indented incorrectly; expected 1 spaces, found 4
mod/cado/mod_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Whitespace found at end of line
(#32) Visibility must be declared on method "definition"
(#34) Whitespace found at end of line
(#36) Whitespace found at end of line
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#43) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#44) Whitespace found at end of line
(#45) Commas (,) must be followed by white space.
(#49) Whitespace found at end of line
(#50) Commas (,) must be followed by white space.
(#54) Whitespace found at end of line
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) This comment is 84% valid code; is this commented out code?
(#58) No space found before comment text; expected "// $this->standard_hidden_coursemodule_elements();" but found "//$this->standard_hidden_coursemodule_elements();"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// never allow editing of groupmode, because we want to allow editing of grouping" but found "//never allow editing of groupmode, because we want to allow editing of grouping"
(#74) Whitespace found at end of line
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// then it is not new" but found "//then it is not new"
(#76) Expected 1 space after "="; 2 found
(#78) Expected "if (...) {\n"; found "if (...) {"
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#78) Closing brace must be on a line by itself
(#79) Expected "if (...) {\n"; found "if (...) { "
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#79) Closing brace must be on a line by itself
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#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
(#82) No space found before comment text; expected "// check for approved, if approved don't allow editing of these" but found "//check for approved, if approved don't allow editing of these"
(#86) Expected "if (...) {\n"; found "if (...) { "
(#86) Closing brace must be on a line by itself
(#87) Expected "if (...) {\n"; found "if (...) { "
(#87) Closing brace must be on a line by itself
mod/cado/propose.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#33) Whitespace found at end of line
(#37) Commas (,) must be followed by white space.
(#38) Commas (,) must be followed by white space.
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#44) Commas (,) must be followed by white space.
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#44) Commas (,) must be followed by white space.
(#51) Whitespace found at end of line
(#52) Expected 1 space after "=>"; 0 found
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// redirect is included in workflownotify" but found "//redirect is included in workflownotify"
(#56) Whitespace found at end of line
mod/cado/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected 1 space(s) before asterisk; 0 found
(#29) Line indented incorrectly; expected 0 spaces, found 1
(#31) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) Line indented incorrectly; expected 4 spaces, found 1
(#40) Closing brace indented incorrectly; expected 1 spaces, found 4
(#47) Line indented incorrectly; expected 4 spaces, found 8
(#47) Closing brace indented incorrectly; expected 4 spaces, found 8
(#56) Line indented incorrectly; expected at least 4 spaces, found 0
(#61) Line indented incorrectly; expected 4 spaces, found 0
(#61) Visibility must be declared on method "render_state"
(#65) Closing brace indented incorrectly; expected 0 spaces, found 4
(#67) Line indented incorrectly; expected 0 spaces, found 1
mod/cado/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// doco found in lib/adminlib.php" but found "//doco found in lib/adminlib.php"
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Commas (,) must be followed by white space.
(#38) Commas (,) must be followed by white space.
(#38) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#49) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#60) Whitespace found at end of line
(#61) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#69) Whitespace found at end of line
(#70) Line exceeds 132 characters; contains 158 characters
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// default param_raw and size textbox fine otherwise add cols, rows" but found "//default param_raw and size textbox fine otherwise add cols, rows"
mod/cado/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// range from 3.5 to 3.9" but found "//range from 3.5 to 3.9"
mod/cado/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected 1 space before "="; 0 found
(#40) Expected "} else {\n"; found "} else {"
(#40) Closing brace must be on a line by itself
(#48) Space found before semicolon; expected ");" but found ") ;"
(#54) Expected 1 space before "=="; 0 found
(#54) Expected 1 space after "=="; 0 found
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// try to get this looking ok on printout try: 19cm; 670px" but found "//try to get this looking ok on printout try: 19cm; 670px"
(#58) No space found before comment text; expected "// This tests whether a report has yet been generated, if not and capability exists then it will generate" but found "//This tests whether a report has yet been generated, if not and capability exists then it will generate"
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// It also tests whether generation and approval status statements should be included, and if so, it works them out" but found "//It also tests whether generation and approval status statements should be included, and if so, it works them out"
(#65) No space found before comment text; expected "// If not approved" but found "//If not approved"
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// if can't generate then simply display status state" but found "//if can't generate then simply display status state"
(#67) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#67) Line exceeds 132 characters; contains 145 characters
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) No space found before comment text; expected "// if can generate then ensure generation then display appropriate status state" but found "//if can generate then ensure generation then display appropriate status state"
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// if not generated, then first generate" but found "//if not generated, then first generate"
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// status state for not yet proposed" but found "//status state for not yet proposed"
(#75) Commas (,) must be followed by white space.
(#75) Commas (,) must be followed by white space.
(#75) Expected 1 space before "=>"; 0 found
(#75) Expected 1 space after "=>"; 0 found
(#75) Line exceeds 132 characters; contains 146 characters
(#76) Line exceeds 132 characters; contains 137 characters
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) No space found before comment text; expected "// add time separately so that it can be formatted by user specification" but found "//add time separately so that it can be formatted by user specification"
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// status state for has been proposed" but found "//status state for has been proposed"
(#78) Commas (,) must be followed by white space.
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#79) Whitespace found at end of line
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#81) Line exceeds 132 characters; contains 136 characters
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// add time separately so that it can be formatted by user specification" but found "//add time separately so that it can be formatted by user specification"
(#84) Line exceeds 132 characters; contains 148 characters
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) No space found before comment text; expected "// if there is an approve comment available, even if it is not currently approved, then add here" but found "//if there is an approve comment available, even if it is not currently approved, then add here"
(#85) Commas (,) must be followed by white space.
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Line exceeds maximum limit of 180 characters; contains 246 characters
(#85) No space found before comment text; expected "// cannot add who didn't approve because it may show someone to whom the cado was subsequently proposed. So add this information automatically to approve/not approved comment" but found "//cannot add who didn't approve because it may show someone to whom the cado was subsequently proposed. So add this information automatically to approve/not approved comment"
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) No space found before comment text; expected "// can show workflow status" but found "//can show workflow status"
(#90) Whitespace found at end of line
(#91) Commas (,) must be followed by white space.
(#91) Commas (,) must be followed by white space.
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Line exceeds 132 characters; contains 138 characters
(#93) No space found before comment text; expected "// add time separately so that it can be formatted by user specification" but found "//add time separately so that it can be formatted by user specification"
(#94) Expected "} else {\n"; found "} else {"
(#94) Closing brace must be on a line by itself
(#95) Whitespace found at end of line
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// Now set view completion and then output" but found "//Now set view completion and then output"
(#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
(#102) No space found before comment text; expected "// now outputting the main report" but found "//now outputting the main report"
(#106) Whitespace found at end of line
(#109) Expected 1 space before "=="; 0 found
(#109) Expected 1 space after "=="; 0 found

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(102 errors, 1 warnings)

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

mod/cado/styles.css
(#89) Expected empty line before at-rule (at-rule-empty-line-before)
(#47) Expected single space before "{" (block-opening-brace-space-before)
(#97) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#13) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#25) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#41) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#48) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#55) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#75) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#76) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#80) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#84) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#87) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#91) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#94) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#104) Expected line length to be no more than 132 characters (max-line-length)
(#3) Expected newline after "," (selector-list-comma-newline-after)
(#15) Expected newline after "," (selector-list-comma-newline-after)
(#18) Expected newline after "," (selector-list-comma-newline-after)
(#40) Expected newline after "," (selector-list-comma-newline-after)
(#44) Expected newline after "," (selector-list-comma-newline-after)
(#44) Expected newline after "," (selector-list-comma-newline-after)
(#47) Expected newline after "," (selector-list-comma-newline-after)
(#47) Expected newline after "," (selector-list-comma-newline-after)
(#101) Expected newline after "," (selector-list-comma-newline-after)
(#101) Expected newline after "," (selector-list-comma-newline-after)
(#104) Expected newline after "," (selector-list-comma-newline-after)
(#104) Expected newline after "," (selector-list-comma-newline-after)
(#104) Expected newline after "," (selector-list-comma-newline-after)
(#104) Expected newline after "," (selector-list-comma-newline-after)
(#47) Unexpected whitespace before "," (selector-list-comma-space-before)
(#101) Unexpected whitespace before "," (selector-list-comma-space-before)
(#101) Unexpected whitespace before "," (selector-list-comma-space-before)
(#7) Expected indentation of 0 spaces (indentation)
(#8) Expected indentation of 0 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 0 spaces (indentation)
(#20) Expected indentation of 0 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 0 spaces (indentation)
(#23) Expected indentation of 0 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 0 spaces (indentation)
(#26) Expected indentation of 0 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 0 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 0 spaces (indentation)
(#36) Expected indentation of 0 spaces (indentation)
(#38) Expected indentation of 0 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 8 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 8 spaces (indentation)
(#95) Expected indentation of 8 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 8 spaces (indentation)
(#99) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 8 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 8 spaces (indentation)
(#106) Expected indentation of 8 spaces (indentation)
(#107) Expected indentation of 8 spaces (indentation)

PHPDocs style problems

(114 errors, 5 warnings)

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

mod/cado/approve.php
(#17) No one-line description found in phpdocs for file
(#21) Package mod_CADO is not valid
mod/cado/backup/moodle2/backup_cado_activity_task.class.php
(#32) Class backup_cado_activity_task is not documented
(#34) Function backup_cado_activity_task::define_my_settings is not documented
(#45) Function backup_cado_activity_task::encode_content_links is not documented
(#17) No one-line description found in phpdocs for file
mod/cado/backup/moodle2/backup_cado_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/cado/backup/moodle2/backup_cado_stepslib.php
(#17) File-level phpdocs block is not found
(#28) Class backup_cado_activity_structure_step is not documented
(#29) Function backup_cado_activity_structure_step::define_structure is not documented
(#28) Package is not specified for class backup_cado_activity_structure_step. It is also not specified in file-level phpdocs
mod/cado/backup/moodle2/restore_cado_activity_task.class.php
(#2) Empty line found after PHP open tag
(#29) No one-line description found in phpdocs for class restore_cado_activity_task
(#78) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#80) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#94) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#96) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/cado/backup/moodle2/restore_cado_stepslib.php
(#2) Empty line found after PHP open tag
(#35) Function restore_cado_activity_structure_step::define_structure is not documented
(#44) Function restore_cado_activity_structure_step::process_cado is not documented
(#79) Function restore_cado_activity_structure_step::after_execute is not documented
mod/cado/classes/approve_form.php
(#17) File-level phpdocs block is not found
(#29) Class mod_cado_approve_form is not documented
(#32) Function mod_cado_approve_form::definition is not documented
(#47) Function mod_cado_approve_form::set_last_data is not documented
(#29) Package is not specified for class mod_cado_approve_form. It is also not specified in file-level phpdocs
mod/cado/classes/cado.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#28) Class mod_cado_cado is not documented
(#34) Function mod_cado_cado::__construct is not documented
(#599) Function mod_cado_cado::baseclean is not documented
(#29) Variable mod_cado_cado::$instance is not documented
(#30) Variable mod_cado_cado::$context is not documented
(#31) Variable mod_cado_cado::$course is not documented
(#32) Variable mod_cado_cado::$coursemodule is not documented
(#43) Phpdocs for function mod_cado_cado::getcadorecord has incomplete parameters list
(#81) Phpdocs for function mod_cado_cado::proposeupdate has incomplete parameters list
(#93) Phpdocs for function mod_cado_cado::approveupdate has incomplete parameters list
(#321) Phpdocs for function mod_cado_cado::getmoddetails has incomplete parameters list
(#566) Phpdocs for function mod_cado_cado::cleanline has incomplete parameters list
(#716) Phpdocs for function mod_cado_cado::get_notifiable_users has incomplete parameters list
(#692) Invalid inline phpdocs tag @example found
(#28) Package is not specified for class mod_cado_cado. It is also not specified in file-level phpdocs
mod/cado/classes/check.php
(#17) File-level phpdocs block is not found
(#43) Class mod_cado_check is not documented
(#29) Function cadosorter is not documented
(#39) Function cadosort is not documented
(#124) Function mod_cado_check::logo is not documented
(#128) Function mod_cado_check::includehidden is not documented
(#132) Function mod_cado_check::sitecomment is not documented
(#137) Function mod_cado_check::sumschedule is not documented
(#165) Function mod_cado_check::console is not documented
(#45) Variable mod_cado_check::$taglist is not documented
(#46) Variable mod_cado_check::$tagset is not documented
(#47) Variable mod_cado_check::$schedtag is not documented
(#48) Variable mod_cado_check::$schedulesetup is not documented
(#49) Variable mod_cado_check::$tagsinsched is not documented
(#43) Package is not specified for class mod_cado_check. It is also not specified in file-level phpdocs
(#29) Package is not specified for function cadosorter. It is also not specified in file-level phpdocs
(#39) Package is not specified for function cadosort. It is also not specified in file-level phpdocs
mod/cado/classes/compare_form.php
(#30) Class mod_cado_compare_form is not documented
(#33) Function mod_cado_compare_form::__construct is not documented
(#38) Function mod_cado_compare_form::definition is not documented
(#31) Variable mod_cado_compare_form::$instance is not documented
(#17) No one-line description found in phpdocs for file
mod/cado/classes/event/approve_cado.php
(#17) File-level phpdocs block is not found
(#35) Class approve_cado is not documented
(#77) Function approve_cado::get_objectid_mapping is not documented
(#35) Package is not specified for class approve_cado. It is also not specified in file-level phpdocs
mod/cado/classes/event/notapprove_cado.php
(#17) File-level phpdocs block is not found
(#35) Class notapprove_cado is not documented
(#77) Function notapprove_cado::get_objectid_mapping is not documented
(#35) Package is not specified for class notapprove_cado. It is also not specified in file-level phpdocs
mod/cado/classes/event/propose_cado.php
(#17) File-level phpdocs block is not found
(#76) Function propose_cado::get_objectid_mapping is not documented
(#19) No one-line description found in phpdocs for class propose_cado
mod/cado/classes/get_recipients_form.php
(#17) File-level phpdocs block is not found
(#30) Class mod_cado_get_recipients_form is not documented
(#34) Function mod_cado_get_recipients_form::definition is not documented
(#53) Phpdocs for function mod_cado_get_recipients_form::getapproveusers has incomplete parameters list
(#30) Package is not specified for class mod_cado_get_recipients_form. It is also not specified in file-level phpdocs
mod/cado/classes/privacy/provider.php
(#18) File-level phpdocs block is not found
(#39) Class provider is not documented
(#72) Function provider::get_contexts_for_userid is not documented
(#150) Function provider::export_user_data is not documented
(#297) Function provider::delete_data is not documented
(#39) Package is not specified for class provider. It is also not specified in file-level phpdocs
mod/cado/compare.php
(#17) No one-line description found in phpdocs for file
mod/cado/db/access.php
(#20) Package mod_CADO is not valid
mod/cado/db/messages.php
(#17) No one-line description found in phpdocs for file
mod/cado/db/upgrade.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Function xmldb_cado_upgrade is not documented
(#3) Package is not specified for function xmldb_cado_upgrade. It is also not specified in file-level phpdocs
mod/cado/index.php
(#17) No one-line description found in phpdocs for file
(#21) Package mod_CADO is not valid
mod/cado/lang/en/cado.php
(#20) Package mod_CADO is not valid
mod/cado/lib.php
(#27) Function cado_supports is not documented
(#43) Function cado_add_instance is not documented
(#47) Function cado_update_instance is not documented
(#51) Function cado_delete_instance is not documented
(#20) Package mod_CADO is not valid
mod/cado/mod_form.php
(#30) Class mod_cado_mod_form is not documented
(#32) Function mod_cado_mod_form::definition is not documented
(#63) Function mod_cado_mod_form::definition_after_data is not documented
(#17) No one-line description found in phpdocs for file
mod/cado/propose.php
(#17) No one-line description found in phpdocs for file
(#21) Package mod_CADO is not valid
mod/cado/renderer.php
(#18) File-level phpdocs block is not found
(#29) Class mod_cado_renderer is not documented
(#42) Function mod_cado_renderer::render_form_header is not documented
(#45) Function mod_cado_renderer::render_form_footer is not documented
(#49) Function mod_cado_renderer::rendered_already is not documented
(#52) Function mod_cado_renderer::render_compare is not documented
(#29) Package is not specified for class mod_cado_renderer. It is also not specified in file-level phpdocs
mod/cado/settings.php
(#20) Package mod_CADO is not valid
mod/cado/view.php
(#17) No one-line description found in phpdocs for file

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" 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, 4 warnings)

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

mod/cado/templates/cado.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 5: Empty heading. (tle"> <h1></h1>)
mod/cado/templates/cadocompare.mustache
(#1) Example context missing (@template section not found.)
mod/cado/templates/cadostate.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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