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

(380 errors, 14 warnings)

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

report/mygrades/index.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/>.".
(#29) "require_once" must be immediately followed by an open parenthesis
(#30) "require_once" must be immediately followed by an open parenthesis
(#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
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 4 spaces, found 1
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 4 spaces, found 1
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 4 spaces, found 1
(#61) Commas (,) must be followed by white space.
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 4 spaces, found 1
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 4 spaces, found 1
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 4 spaces, found 1
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 8 spaces, found 2
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected 4 spaces, found 1
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Whitespace found at end of line
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 4 spaces, found 1
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 8 spaces, found 2
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Whitespace found at end of line
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 8 spaces, found 2
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected 8 spaces, found 2
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 12 spaces, found 3
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 8 spaces, found 2
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Whitespace found at end of line
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected 8 spaces, found 2
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Tab found within whitespace
(#87) Line indented incorrectly; expected at least 12 spaces, found 3
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 8 spaces, found 2
(#89) Whitespace found at end of line
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 8 spaces, found 2
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Line indented incorrectly; expected at least 8 spaces, found 2
(#92) 3 slashes comments are not allowed; use "// Comment." instead
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 8 spaces, found 2
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#94) Whitespace found at end of line
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Line indented incorrectly; expected at least 8 spaces, found 2
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 8 spaces, found 2
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Expected 1 space before "="; 0 found
(#99) Expected 1 space after "="; 0 found
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected 8 spaces, found 2
(#100) Expected "if (...) {\n"; found "if (...)\n\t\t{\n"
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 8 spaces, found 2
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected 12 spaces, found 3
(#102) Expected "if (...) {\n"; found "if (...)\n\t\t\t{\n"
(#102) Expected 1 space before ">"; 0 found
(#102) Expected 1 space after ">"; 0 found
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 12 spaces, found 3
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 16 spaces, found 4
(#104) Expected 1 space before "="; 0 found
(#104) Expected 1 space after "="; 0 found
(#104) Line exceeds maximum limit of 180 characters; contains 211 characters
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected 16 spaces, found 4
(#105) Expected "foreach (...) {\n"; found "foreach(...)\n\t\t\t\t{\n"
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Tab found within whitespace
(#106) Line indented incorrectly; expected at least 16 spaces, found 4
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Line indented incorrectly; expected at least 20 spaces, found 5
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected at least 20 spaces, found 5
(#108) Expected 1 space before ".="; 0 found
(#108) Expected 1 space after ".="; 0 found
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected 16 spaces, found 4
(#110) Spaces must be used to indent lines; tabs are not allowed
(#110) Tab found within whitespace
(#110) Line indented incorrectly; expected at least 16 spaces, found 4
(#110) Expected 1 space before ".="; 0 found
(#110) Expected 1 space after ".="; 0 found
(#111) Spaces must be used to indent lines; tabs are not allowed
(#111) Tab found within whitespace
(#111) Line indented incorrectly; expected at least 16 spaces, found 4
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Tab found within whitespace
(#112) Line indented incorrectly; expected 12 spaces, found 3
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected 8 spaces, found 2
(#114) Spaces must be used to indent lines; tabs are not allowed
(#114) Tab found within whitespace
(#114) Line indented incorrectly; expected 8 spaces, found 2
(#114) Expected "} else {\n"; found "}\n\t\telse\n\t\t{\n"
(#115) Spaces must be used to indent lines; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected at least 8 spaces, found 2
(#116) Spaces must be used to indent lines; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected at least 12 spaces, found 3
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected 8 spaces, found 2
(#118) Spaces must be used to indent lines; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 8 spaces, found 2
(#119) Spaces must be used to indent lines; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected 4 spaces, found 1
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected 4 spaces, found 1
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Line indented incorrectly; expected at least 8 spaces, found 2
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Tab found within whitespace
(#123) Line indented incorrectly; expected 4 spaces, found 1
(#124) Spaces must be used to indent lines; tabs are not allowed
(#124) Tab found within whitespace
(#124) Whitespace found at end of line
(#125) Spaces must be used to indent lines; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected 4 spaces, found 1
(#126) Spaces must be used to indent lines; tabs are not allowed
(#126) Tab found within whitespace
(#126) Line indented incorrectly; expected at least 8 spaces, found 2
(#127) Spaces must be used to indent lines; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 8 spaces, found 2
(#128) Spaces must be used to indent lines; tabs are not allowed
(#128) Tab found within whitespace
(#128) Whitespace found at end of line
(#129) Spaces must be used to indent lines; tabs are not allowed
(#129) Tab found within whitespace
(#129) Line indented incorrectly; expected 8 spaces, found 2
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected at least 12 spaces, found 3
(#132) Spaces must be used to indent lines; tabs are not allowed
(#132) Tab found within whitespace
(#132) Line indented incorrectly; expected 12 spaces, found 3
(#133) Spaces must be used to indent lines; tabs are not allowed
(#133) Tab found within whitespace
(#133) Line indented incorrectly; expected 16 spaces, found 4
(#134) Spaces must be used to indent lines; tabs are not allowed
(#134) Tab found within whitespace
(#134) Line indented incorrectly; expected at least 20 spaces, found 5
(#135) Spaces must be used to indent lines; tabs are not allowed
(#135) Tab found within whitespace
(#135) Line indented incorrectly; expected 16 spaces, found 4
(#137) Spaces must be used to indent lines; tabs are not allowed
(#137) Tab found within whitespace
(#137) Line indented incorrectly; expected at least 16 spaces, found 4
(#139) Spaces must be used to indent lines; tabs are not allowed
(#139) Tab found within whitespace
(#139) Line indented incorrectly; expected 16 spaces, found 4
(#140) Spaces must be used to indent lines; tabs are not allowed
(#140) Tab found within whitespace
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Line indented incorrectly; expected at least 20 spaces, found 5
(#141) Spaces must be used to indent lines; tabs are not allowed
(#141) Tab found within whitespace
(#141) Line indented incorrectly; expected at least 20 spaces, found 5
(#142) Spaces must be used to indent lines; tabs are not allowed
(#142) Tab found within whitespace
(#142) Line indented incorrectly; expected 16 spaces, found 4
(#144) Spaces must be used to indent lines; tabs are not allowed
(#144) Tab found within whitespace
(#144) Line indented incorrectly; expected at least 16 spaces, found 4
(#145) Spaces must be used to indent lines; tabs are not allowed
(#145) Tab found within whitespace
(#145) Line indented incorrectly; expected at least 16 spaces, found 4
(#145) Line exceeds 132 characters; contains 161 characters
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected at least 16 spaces, found 4
(#148) Spaces must be used to indent lines; tabs are not allowed
(#148) Tab found within whitespace
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Line indented incorrectly; expected at least 16 spaces, found 4
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected at least 16 spaces, found 4
(#149) Variable "course_item" must not contain underscores.
(#151) Spaces must be used to indent lines; tabs are not allowed
(#151) Tab found within whitespace
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Line indented incorrectly; expected at least 16 spaces, found 4
(#152) Spaces must be used to indent lines; tabs are not allowed
(#152) Tab found within whitespace
(#152) Line indented incorrectly; expected at least 16 spaces, found 4
(#152) Variable "course_grade" must not contain underscores.
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#152) Variable "course_item" must not contain underscores.
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#153) Spaces must be used to indent lines; tabs are not allowed
(#153) Tab found within whitespace
(#153) Line indented incorrectly; expected at least 16 spaces, found 4
(#153) Variable "course_grade" must not contain underscores.
(#153) Variable "course_item" must not contain underscores.
(#154) Spaces must be used to indent lines; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected at least 16 spaces, found 4
(#154) Variable "course_grade" must not contain underscores.
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Tab found within whitespace
(#156) Line indented incorrectly; expected at least 16 spaces, found 4
(#156) Variable "course_item" must not contain underscores.
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 12 spaces, found 3
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#158) Whitespace found at end of line
(#159) Spaces must be used to indent lines; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected 12 spaces, found 3
(#159) Expected 1 space before "=="; 0 found
(#159) Expected 1 space after "=="; 0 found
(#160) Spaces must be used to indent lines; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected at least 16 spaces, found 4
(#161) Spaces must be used to indent lines; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected 12 spaces, found 3
(#162) Spaces must be used to indent lines; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected at least 16 spaces, found 4
(#163) Spaces must be used to indent lines; tabs are not allowed
(#163) Tab found within whitespace
(#163) Line indented incorrectly; expected 12 spaces, found 3
(#164) Spaces must be used to indent lines; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected 8 spaces, found 2
(#165) Spaces must be used to indent lines; tabs are not allowed
(#165) Tab found within whitespace
(#165) Line indented incorrectly; expected at least 12 spaces, found 3
(#166) Spaces must be used to indent lines; tabs are not allowed
(#166) Tab found within whitespace
(#166) Line indented incorrectly; expected 8 spaces, found 2
(#167) Spaces must be used to indent lines; tabs are not allowed
(#167) Tab found within whitespace
(#167) Line indented incorrectly; expected 4 spaces, found 1
report/mygrades/jquery/plugins.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
report/mygrades/lang/en/report_mygrades.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/>.".
(#26) Expected 1 space before "="; 0 found
(#26) Expected 1 space after "="; 0 found
(#27) Expected 1 space before "="; 0 found
(#27) Expected 1 space after "="; 0 found
(#28) Expected 1 space before "="; 0 found
(#28) Expected 1 space after "="; 0 found
(#29) Expected 1 space before "="; 0 found
(#29) Expected 1 space after "="; 0 found
report/mygrades/lib.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/>.".
(#36) Whitespace found at end of line
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 4 spaces, found 1
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 4 spaces, found 1
(#42) Line indented incorrectly; expected 0 spaces, found 1
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 4 spaces, found 1
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#44) Line exceeds 132 characters; contains 145 characters
(#45) Closing brace indented incorrectly; expected 1 spaces, found 0
report/mygrades/version.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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(1 errors, 500 warnings)

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

report/mygrades/jquery/dataTables.js
(#18) Line is too long.
(#18) 'c' is already defined.
(#18) Expected '{' and instead saw 'a'.
(#19) Line is too long.
(#19) Expected '{' and instead saw 'c'.
(#19) Missing semicolon.
(#19) Expected an assignment or function call and instead saw an expression.
(#19) Missing 'new' prefix when invoking a constructor.
(#19) Missing 'new' prefix when invoking a constructor.
(#19) Missing semicolon.
(#20) Line is too long.
(#20) Missing 'new' prefix when invoking a constructor.
(#20) Expected an assignment or function call and instead saw an expression.
(#20) Expected '===' and instead saw '=='.
(#20) Expected '===' and instead saw '=='.
(#20) Expected '===' and instead saw '=='.
(#20) Expected '===' and instead saw '=='.
(#20) Expected '!==' and instead saw '!='.
(#20) Expected '===' and instead saw '=='.
(#21) Line is too long.
(#20) Expected '===' and instead saw '=='.
(#21) Expected '!==' and instead saw '!='.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Confusing use of '!'.
(#21) Expected '{' and instead saw 'return'.
(#21) Expected '{' and instead saw 'a'.
(#21) Missing semicolon.
(#21) Missing semicolon.
(#21) 'c' is already defined.
(#21) Missing semicolon.
(#21) Missing semicolon.
(#22) Line is too long.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Missing semicolon.
(#22) Missing semicolon.
(#22) Expected '{' and instead saw 'return'.
(#22) Missing semicolon.
(#22) Missing semicolon.
(#22) Expected '{' and instead saw 'for'.
(#22) Expected '{' and instead saw 'if'.
(#22) Expected '===' and instead saw '=='.
(#22) Missing semicolon.
(#22) Missing semicolon.
(#22) Expected '{' and instead saw 'b'.
(#22) Expected '===' and instead saw '=='.
(#22) Missing semicolon.
(#23) Line is too long.
(#23) Expected '{' and instead saw 'for'.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Expected '{' and instead saw 'if'.
(#23) Expected '{' and instead saw 'o'.
(#23) Missing semicolon.
(#23) Expected '{' and instead saw 'd'.
(#23) Expected '{' and instead saw '('.
(#23) Expected '===' and instead saw '=='.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Missing semicolon.
(#23) Expected '{' and instead saw 'd'.
(#23) Missing semicolon.
(#24) Line is too long.
(#24) 'i' is already defined.
(#24) Expected '{' and instead saw 'c'.
(#24) Missing 'new' prefix when invoking a constructor.
(#24) Missing 'new' prefix when invoking a constructor.
(#24) Expected '!==' and instead saw '!='.
(#24) Expected '!==' and instead saw '!='.
(#24) Expected '!==' and instead saw '!='.
(#24) Expected an assignment or function call and instead saw an expression.
(#25) Line is too long.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#25) Expected '{' and instead saw 'for'.
(#25) Expected '===' and instead saw '=='.
(#25) Expected '===' and instead saw '=='.
(#25) Expected '===' and instead saw '=='.
(#25) Expected '{' and instead saw 'F'.
(#25) Missing 'new' prefix when invoking a constructor.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing 'new' prefix when invoking a constructor.
(#25) Expected '{' and instead saw 'for'.
(#25) Expected '{' and instead saw 'g'.
(#26) Line is too long.
(#25) Expected '===' and instead saw '=='.
(#26) Expected '===' and instead saw '=='.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Expected '{' and instead saw 'f'.
(#26) Expected '!==' and instead saw '!='.
(#26) Expected '!==' and instead saw '!='.
(#26) Expected '!==' and instead saw '!='.
(#27) Line is too long.
(#27) Missing 'new' prefix when invoking a constructor.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Expected '{' and instead saw 'f'.
(#27) Missing 'new' prefix when invoking a constructor.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#28) Line is too long.
(#27) 'b' is already defined.
(#27) Missing 'new' prefix when invoking a constructor.
(#27) 'a' is already defined.
(#28) Expected '{' and instead saw 'if'.
(#28) Expected '{' and instead saw 'return'.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'i'.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'return'.
(#28) Expected '!==' and instead saw '!='.
(#28) Expected '===' and instead saw '=='.
(#28) Expected '{' and instead saw 'c'.
(#29) Line is too long.
(#29) Expected '{' and instead saw 'return'.
(#29) Expected '===' and instead saw '=='.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'return'.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'return'.
(#29) Missing semicolon.
(#29) Expected a conditional expression and instead saw an assignment.
(#29) Expected an assignment or function call and instead saw an expression.
(#30) Line is too long.
(#30) 'f' is already defined.
(#30) 'e' is already defined.
(#30) Expected '{' and instead saw 'g'.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'return'.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Expected '{' and instead saw 'return'.
(#30) Expected '{' and instead saw 'return'.
(#30) Missing semicolon.
(#30) 'i' is already defined.
(#31) Line is too long.
(#31) Expected a conditional expression and instead saw an assignment.
(#31) Expected '{' and instead saw 'f'.
(#31) Expected an assignment or function call and instead saw an expression.
(#31) Missing semicolon.
(#31) Expected '{' and instead saw 'a'.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Missing semicolon.
(#31) Expected '{' and instead saw 'b'.
(#31) Missing semicolon.
(#32) Line is too long.
(#32) Missing semicolon.
(#32) Expected '{' and instead saw 'a'.
(#32) Expected '===' and instead saw '=='.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Expected '!==' and instead saw '!='.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Missing semicolon.
(#32) Missing semicolon.
(#32) Expected an assignment or function call and instead saw an expression.
(#33) Line is too long.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Missing semicolon.
(#33) Missing 'new' prefix when invoking a constructor.
(#33) Missing semicolon.
(#34) Line is too long.
(#34) Expected '{' and instead saw 'if'.
(#34) Expected '!==' and instead saw '!='.
(#34) Expected '{' and instead saw 'c'.
(#34) Missing semicolon.
(#34) Expected '{' and instead saw 'c'.
(#35) Line is too long.
(#35) Expected an assignment or function call and instead saw an expression.
(#35) Missing 'new' prefix when invoking a constructor.
(#35) Missing semicolon.
(#35) 'i' used out of scope.
(#35) 'i' used out of scope.
(#35) 'i' used out of scope.
(#35) 'i' used out of scope.
(#35) 'i' used out of scope.
(#35) Missing semicolon.
(#35) Expected '{' and instead saw 'for'.
(#36) Line is too long.
(#36) Expected '{' and instead saw '!'.
(#36) Confusing use of '!'.
(#36) Expected an assignment or function call and instead saw an expression.
(#36) Expected an assignment or function call and instead saw an expression.
(#36) Expected '{' and instead saw 'c'.
(#36) Expected an assignment or function call and instead saw an expression.
(#36) Missing semicolon.
(#36) Expected an assignment or function call and instead saw an expression.
(#37) Line is too long.
(#37) Expected '{' and instead saw '!'.
(#37) Expected an assignment or function call and instead saw an expression.
(#37) Missing semicolon.
(#37) Expected a conditional expression and instead saw an assignment.
(#37) Expected '{' and instead saw 'for'.
(#37) Expected a conditional expression and instead saw an assignment.
(#37) Expected '{' and instead saw 'a'.
(#37) Expected '{' and instead saw 'if'.
(#37) Expected '===' and instead saw '=='.
(#37) Expected '{' and instead saw 'e'.
(#37) Expected an assignment or function call and instead saw an expression.
(#37) Expected '===' and instead saw '=='.
(#37) Expected '{' and instead saw 'e'.
(#37) Missing semicolon.
(#37) Missing semicolon.
(#38) Line is too long.
(#38) Missing 'new' prefix when invoking a constructor.
(#38) Expected '{' and instead saw 'E'.
(#38) 'b' is already defined.
(#38) Expected '!==' and instead saw '!='.
(#38) Expected an assignment or function call and instead saw an expression.
(#38) Expected '{' and instead saw 'a'.
(#38) Expected an assignment or function call and instead saw an expression.
(#38) Expected '{' and instead saw 'return'.
(#38) Missing semicolon.
(#38) Expected '{' and instead saw 'a'.
(#39) Line is too long.
(#39) Expected an assignment or function call and instead saw an expression.
(#39) Expected an assignment or function call and instead saw an expression.
(#39) Expected '!==' and instead saw '!='.
(#39) Expected an assignment or function call and instead saw an expression.
(#39) Missing semicolon.
(#39) Missing 'new' prefix when invoking a constructor.
(#39) Expected '{' and instead saw 'for'.
(#39) Expected '{' and instead saw 'if'.
(#39) Expected '===' and instead saw '=='.
(#39) Missing semicolon.
(#39) Expected '{' and instead saw 'b'.
(#40) Line is too long.
(#40) Expected '===' and instead saw '=='.
(#40) Expected an assignment or function call and instead saw an expression.
(#40) Missing 'new' prefix when invoking a constructor.
(#40) Missing 'new' prefix when invoking a constructor.
(#40) Missing 'new' prefix when invoking a constructor.
(#41) Line is too long.
(#41) Missing 'new' prefix when invoking a constructor.
(#41) Expected '{' and instead saw 'for'.
(#41) Expected a conditional expression and instead saw an assignment.
(#41) Expected '{' and instead saw 'a'.
(#41) Expected '{' and instead saw 'i'.
(#41) Expected an assignment or function call and instead saw an expression.
(#41) Missing semicolon.
(#41) Missing 'new' prefix when invoking a constructor.
(#42) Line is too long.
(#42) Expected an assignment or function call and instead saw an expression.
(#42) Missing semicolon.
(#42) Missing 'new' prefix when invoking a constructor.
(#42) Expected an assignment or function call and instead saw an expression.
(#42) Missing semicolon.
(#42) Expected '===' and instead saw '=='.
(#43) Line is too long.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '!==' and instead saw '!='.
(#43) Expected '{' and instead saw 'o'.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '===' and instead saw '=='.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Expected '!==' and instead saw '!='.
(#43) Expected '===' and instead saw '=='.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Missing semicolon.
(#43) Missing semicolon.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '{' and instead saw 'c'.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '{' and instead saw 'i'.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '{' and instead saw 'i'.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '{' and instead saw 'i'.
(#43) Missing 'new' prefix when invoking a constructor.
(#44) Line is too long.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected '===' and instead saw '=='.
(#44) Expected '{' and instead saw 'i'.
(#44) Missing 'new' prefix when invoking a constructor.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected '===' and instead saw '=='.
(#44) Expected '{' and instead saw 'i'.
(#44) Missing 'new' prefix when invoking a constructor.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected '===' and instead saw '=='.
(#44) Expected '{' and instead saw 'i'.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected '{' and instead saw 'if'.
(#44) Expected '===' and instead saw '=='.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Missing semicolon.
(#44) Expected '===' and instead saw '=='.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Missing semicolon.
(#44) Missing semicolon.
(#45) Line is too long.
(#45) Expected '{' and instead saw 'a'.
(#45) Expected '===' and instead saw '=='.
(#45) Expected '===' and instead saw '=='.
(#45) Expected '{' and instead saw 'g'.
(#45) Expected '{' and instead saw 'for'.
(#45) Expected '{' and instead saw 'a'.
(#45) Expected an assignment or function call and instead saw an expression.
(#45) Missing semicolon.
(#45) Missing semicolon.
(#45) Missing 'new' prefix when invoking a constructor.
(#45) Expected an assignment or function call and instead saw an expression.
(#45) 'b' is already defined.
(#45) Expected '{' and instead saw 'for'.
(#46) Line is too long.
(#46) Expected '{' and instead saw 'if'.
(#46) Expected '{' and instead saw 'd'.
(#46) Missing semicolon.
(#46) Missing 'new' prefix when invoking a constructor.
(#46) Missing 'new' prefix when invoking a constructor.
(#46) Missing semicolon.
(#46) Missing semicolon.
(#46) Missing semicolon.
(#46) Missing 'new' prefix when invoking a constructor.
(#47) Line is too long.
(#47) Confusing use of '!'.
(#47) Expected '{' and instead saw 'd'.
(#47) Expected an assignment or function call and instead saw an expression.
(#47) Confusing use of '!'.
(#47) Expected '{' and instead saw 'c'.
(#47) Expected an assignment or function call and instead saw an expression.
(#47) Missing semicolon.
(#48) Line is too long.
(#47) Confusing use of '!'.
(#48) Expected '{' and instead saw 'c'.
(#48) Expected an assignment or function call and instead saw an expression.
(#48) Missing semicolon.
(#48) Expected '{' and instead saw 'c'.
(#48) Missing semicolon.
(#48) Missing semicolon.
(#48) Missing 'new' prefix when invoking a constructor.
(#48) Missing semicolon.
(#49) Line is too long.
(#49) Expected '{' and instead saw 'return'.
(#49) Missing semicolon.
(#49) Expected an assignment or function call and instead saw an expression.
(#49) Missing 'new' prefix when invoking a constructor.
(#49) 'c' is already defined.
(#49) Expected '!==' and instead saw '!='.
(#49) Expected an assignment or function call and instead saw an expression.
(#49) Missing 'new' prefix when invoking a constructor.
(#49) Expected '{' and instead saw 'if'.
(#49) Expected '{' and instead saw 'e'.
(#49) Missing 'new' prefix when invoking a constructor.
(#49) Missing semicolon.
(#49) Expected '{' and instead saw 'H'.
(#49) Missing 'new' prefix when invoking a constructor.
(#50) Line is too long.
(#50) Missing semicolon.
(#50) 'c' is already defined.
(#50) Expected an assignment or function call and instead saw an expression.
(#51) Line is too long.
(#51) Expected '{' and instead saw 'c'.
(#51) Expected '!==' and instead saw '!='.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Expected '!==' and instead saw '!='.
(#51) Missing 'new' prefix when invoking a constructor.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Missing semicolon.
(#51) Expected '===' and instead saw '=='.
(#51) Expected '{' and instead saw 'return'.
(#51) Missing semicolon.
(#51) Missing semicolon.
(#51) Missing semicolon.
(#51) Expected '{' and instead saw 'f'.
(#52) Line is too long.
(#52) Missing 'new' prefix when invoking a constructor.
(#52) Expected '{' and instead saw 'Ha'.
(#52) Missing 'new' prefix when invoking a constructor.
(#52) Missing 'new' prefix when invoking a constructor.
(#52) Missing semicolon.
(#52) Missing semicolon.
(#52) Expected '{' and instead saw 'for'.
(#52) Missing 'new' prefix when invoking a constructor.
(#52) Expected an assignment or function call and instead saw an expression.
(#52) Missing semicolon.
(#53) Line is too long.
(#53) Expected '{' and instead saw 'for'.
(#53) 'b' is already defined.
(#53) 'd' is already defined.
(#53) Expected '{' and instead saw 'i'.
(#53) Missing 'new' prefix when invoking a constructor.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Missing semicolon.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Expected '{' and instead saw 'a'.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Expected '===' and instead saw '=='.
(#53) Expected '===' and instead saw '=='.
(#54) Line is too long.
(#54) Expected '{' and instead saw 'd'.
(#54) Expected an assignment or function call and instead saw an expression.
(#54) Missing semicolon.
(#54) Expected '{' and instead saw 'for'.
(#54) Expected '{' and instead saw 'd'.
(#54) Expected an assignment or function call and instead saw an expression.
(#54) Missing semicolon.
(#54) Expected '{' and instead saw 'a'.
(#54) Missing 'new' prefix when invoking a constructor.
(#54) Missing semicolon.
(#54) Expected an assignment or function call and instead saw an expression.
(#55) Line is too long.
(#55) Missing semicolon.
(#55) Expected '{' and instead saw 'return'.
(#55) Missing 'new' prefix when invoking a constructor.
(#55) Missing 'new' prefix when invoking a constructor.
(#55) Missing semicolon.
(#55) Expected '===' and instead saw '=='.
(#55) Missing semicolon.
(#55) Missing 'new' prefix when invoking a constructor.
(#56) Line is too long.
(#56) Missing semicolon.
(#56) Expected an assignment or function call and instead saw an expression.
(#56) Missing semicolon.
(#56) Expected '!==' and instead saw '!='.
(#56) Expected an assignment or function call and instead saw an expression.
(#57) Line is too long.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Expected '{' and instead saw 'h'.
(#57) Missing semicolon.
(#57) 'd' is already defined.
(#57) 'i' is already defined.
(#57) 'f' is already defined.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Missing semicolon.
(#58) Line is too long.
(#58) Confusing use of '!'.
(#58) Expected '{' and instead saw 'setTimeout'.
(#58) Missing semicolon.
(#58) Missing 'new' prefix when invoking a constructor.
(#58) Missing 'new' prefix when invoking a constructor.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Expected '{' and instead saw 'null'.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Missing 'new' prefix when invoking a constructor.
(#58) Expected an assignment or function call and instead saw an expression.
(#59) Line is too long.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Expected '{' and instead saw 'H'.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Expected '{' and instead saw 'O'.
(#59) Missing semicolon.
(#59) Missing semicolon.
(#59) Expected an assignment or function call and instead saw an expression.
(#59) Missing semicolon.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Missing semicolon.
(#59) Expected an assignment or function call and instead saw an expression.
(#60) Line is too long.
(#60) Expected an assignment or function call and instead saw an expression.
(#60) Missing semicolon.
(#60) Expected '{' and instead saw 'return'.
(#60) Expected '===' and instead saw '=='.
(#60) Expected '{' and instead saw 'b'.
(#60) Missing semicolon.
(#60) Expected '{' and instead saw 'b'.
(#60) Missing semicolon.
(#61) Line is too long.
(#61) Expected an assignment or function call and instead saw an expression.
(#61) Expected '{' and instead saw 'i'.
(#61) Expected '!==' and instead saw '!='.
(#61) Expected an assignment or function call and instead saw an expression.
(#61) Expected '===' and instead saw '=='.
(#62) Line is too long.
(#62) Expected '{' and instead saw 'a'.
(#62) Missing semicolon.
(#62) Expected '===' and instead saw '=='.
(#62) Expected '{' and instead saw 'a'.
(#62) Missing semicolon.
(#62) Missing semicolon.
(#62) Confusing use of '!'.
(#62) Expected '===' and instead saw '=='.
(#62) Missing semicolon.
(#62) Expected '{' and instead saw 'return'.
(#63) Line is too long.
(#63) Missing semicolon.
(#63) Missing semicolon.
(#63) Missing semicolon.
(#63) Expected an assignment or function call and instead saw an expression.
(#63) Missing semicolon.
(#63) Expected '{' and instead saw 'a'.
(#63) Too many errors. (40% scanned).

CSS problems

(0 errors, 20 warnings)

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

report/mygrades/styles.css
(#98) Use of !important
(#104) Use of !important
(#115) Use of !important
(#149) Use of !important
(#158) Use of !important
(#189) Use of !important
(#189) Expected end of value but found 'right'.
(#189) Use of !important
(#189) Use of !important
(#190) Use of !important
(#190) Expected end of value but found 'right'.
(#190) Use of !important
(#190) Use of !important
(#191) Use of !important
(#191) Expected end of value but found 'right'.
(#191) Use of !important
(#191) Use of !important
(#248) Use of !important
(#251) Use of !important
(#257) Use of !important

PHPDocs style problems

(18 errors, 4 warnings)

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

report/mygrades/index.php
(#2) Empty line found after PHP open tag
(#72) Class report_mygrades is not documented
(#73) Function report_mygrades::init is not documented
(#77) Function report_mygrades::get_content is not documented
(#121) Function report_mygrades::instance_allow_multiple is not documented
(#125) Function report_mygrades::grade_data is not documented
(#92) Found comment starting with three or more slashes
(#18) File-level phpdocs block does not have @copyright tag
(#23) Invalid phpdocs tag @credits used
report/mygrades/jquery/plugins.php
(#22) Invalid phpdocs tag @authors used
(#20) Package report_my_grades is not valid
report/mygrades/lang/en/report_mygrades.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block does not have @copyright tag
(#21) Package block_my_grades is not valid
report/mygrades/lib.php
(#2) Empty line found after PHP open tag
(#37) Function report_mygrades_extend_navigation is not documented
(#42) Function report_mygrades_extend_navigation_user is not documented
(#18) File-level phpdocs block does not have @copyright tag
(#23) Invalid phpdocs tag @credits used
report/mygrades/version.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block does not have @copyright tag
(#23) Invalid phpdocs tag @credits used

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


Mustache template problems

(0 errors, 0 warnings)

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