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

(91 errors, 14 warnings)

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

report/componentgrades/classes/event/report_viewed.php
(#64) Line exceeds 132 characters; contains 175 characters
(#73) Line exceeds 132 characters; contains 165 characters
(#77) Expected 5 space(s) before asterisk; 4 found
(#78) Expected 5 space(s) before asterisk; 4 found
(#79) Expected 5 space(s) before asterisk; 4 found
(#80) Expected 5 space(s) before asterisk; 4 found
report/componentgrades/guide.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#59) Line exceeds 132 characters; contains 137 characters
(#61) The use of the AS keyword to alias tables is bad for cross-db
(#62) The use of the AS keyword to alias tables is bad for cross-db
(#63) The use of the AS keyword to alias tables is bad for cross-db
(#64) The use of the AS keyword to alias tables is bad for cross-db
(#65) The use of the AS keyword to alias tables is bad for cross-db
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#67) The use of the AS keyword to alias tables is bad for cross-db
(#68) The use of the AS keyword to alias tables is bad for cross-db
(#69) The use of the AS keyword to alias tables is bad for cross-db
(#70) The use of the AS keyword to alias tables is bad for cross-db
(#71) The use of the AS keyword to alias tables is bad for cross-db
(#72) The use of the AS keyword to alias tables is bad for cross-db
(#75) Line exceeds 132 characters; contains 137 characters
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#96) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#101) Expected 1 space before "+"; 0 found
(#101) Expected 1 space after "+"; 0 found
report/componentgrades/lib.php
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Commas (,) must be followed by white space.
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#39) Line exceeds 132 characters; contains 146 characters
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#43) Line exceeds 132 characters; contains 144 characters
(#45) Line indented incorrectly; expected 8 spaces, found 12
(#45) Closing brace indented incorrectly; expected 8 spaces, found 12
report/componentgrades/locallib.php
(#27) Line exceeds 132 characters; contains 136 characters
(#28) The use of the AS keyword to alias tables is bad for cross-db
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=="; 0 found
(#43) Expected 1 space after "=="; 0 found
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#68) Expected 1 space before "-"; 0 found
(#68) Expected 1 space after "-"; 0 found
(#104) Expected "foreach (...) {\n"; found "foreach(...) {\n"
report/componentgrades/rubric.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#58) Line exceeds 132 characters; contains 137 characters
(#59) Line exceeds 132 characters; contains 137 characters
(#61) The use of the AS keyword to alias tables is bad for cross-db
(#62) The use of the AS keyword to alias tables is bad for cross-db
(#63) The use of the AS keyword to alias tables is bad for cross-db
(#64) The use of the AS keyword to alias tables is bad for cross-db
(#65) The use of the AS keyword to alias tables is bad for cross-db
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#67) The use of the AS keyword to alias tables is bad for cross-db
(#68) The use of the AS keyword to alias tables is bad for cross-db
(#69) The use of the AS keyword to alias tables is bad for cross-db
(#70) The use of the AS keyword to alias tables is bad for cross-db
(#71) The use of the AS keyword to alias tables is bad for cross-db
(#72) The use of the AS keyword to alias tables is bad for cross-db
(#73) The use of the AS keyword to alias tables is bad for cross-db
(#76) Line exceeds 132 characters; contains 139 characters
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#97) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#102) Expected 1 space before "+"; 0 found
(#102) Expected 1 space after "+"; 0 found
(#107) Expected 1 space before "-"; 0 found
(#107) Expected 1 space after "-"; 0 found
report/componentgrades/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks

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

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 0 warnings)

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

report/componentgrades/lib.php
(#17) No one-line description found in phpdocs for file
report/componentgrades/locallib.php
(#25) Function report_componentgrades_get_students is not documented
(#35) Function report_componentgrades_add_header is not documented
(#59) Function report_componentgrades_finish_colheaders is not documented
(#79) Function report_componentgrades_process_data is not documented
(#92) Function report_componentgrades_add_data is not documented
(#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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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