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

(69 errors, 14 warnings)

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

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
(#45) Line exceeds 132 characters; contains 134 characters
(#51) Line exceeds 132 characters; contains 137 characters
(#53) The use of the AS keyword to alias tables is bad for cross-db
(#54) The use of the AS keyword to alias tables is bad for cross-db
(#55) The use of the AS keyword to alias tables is bad for cross-db
(#56) The use of the AS keyword to alias tables is bad for cross-db
(#57) The use of the AS keyword to alias tables is bad for cross-db
(#58) The use of the AS keyword to alias tables is bad for cross-db
(#59) The use of the AS keyword to alias tables is bad for cross-db
(#60) The use of the AS keyword to alias tables is bad for cross-db
(#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
(#67) Line exceeds 132 characters; contains 137 characters
(#86) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#91) Expected 1 space before "+"; 0 found
(#91) 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
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=="; 0 found
(#43) Expected 1 space after "=="; 0 found
(#64) Expected 1 space before "-"; 0 found
(#64) Expected 1 space after "-"; 0 found
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#102) 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
(#45) Line exceeds 132 characters; contains 135 characters
(#50) Line exceeds 132 characters; contains 137 characters
(#51) Line exceeds 132 characters; contains 137 characters
(#53) The use of the AS keyword to alias tables is bad for cross-db
(#54) The use of the AS keyword to alias tables is bad for cross-db
(#55) The use of the AS keyword to alias tables is bad for cross-db
(#56) The use of the AS keyword to alias tables is bad for cross-db
(#57) The use of the AS keyword to alias tables is bad for cross-db
(#58) The use of the AS keyword to alias tables is bad for cross-db
(#59) The use of the AS keyword to alias tables is bad for cross-db
(#60) The use of the AS keyword to alias tables is bad for cross-db
(#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
(#68) Line exceeds 132 characters; contains 139 characters
(#87) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#92) Expected 1 space before "+"; 0 found
(#92) Expected 1 space after "+"; 0 found
(#97) Expected 1 space before "-"; 0 found
(#97) 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 jshint [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
(#57) Function report_componentgrades_finish_colheaders is not documented
(#77) Function report_componentgrades_process_data is not documented
(#90) 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]


Mustache template problems

(0 errors, 0 warnings)

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