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

(61 errors, 26 warnings)

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

local/mobile/check.php
(#67) Expected "} else {\n"; found "}\n else {\n"
local/mobile/db/services.php
(#836) Line exceeds 132 characters; contains 136 characters
local/mobile/db/upgrade.php
(#51) Empty CATCH statement detected
local/mobile/externallib.php
(#151) Expected 1 space after "="; newline found
(#330) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1489) Expected 1 space after "="; newline found
(#1758) Expected 9 space(s) before asterisk; 5 found
(#1759) Expected 9 space(s) before asterisk; 5 found
(#1760) Expected 9 space(s) before asterisk; 5 found
(#1761) Expected 9 space(s) before asterisk; 5 found
(#1762) Expected 9 space(s) before asterisk; 5 found
(#1978) Expected 9 space(s) before asterisk; 5 found
(#1979) Expected 9 space(s) before asterisk; 5 found
(#1980) Expected 9 space(s) before asterisk; 5 found
(#1981) Expected 9 space(s) before asterisk; 5 found
(#1982) Expected 9 space(s) before asterisk; 5 found
(#2053) Expected 1 space after "="; newline found
(#2545) Line indented incorrectly; expected 4 spaces, found 5
(#2578) Closing brace indented incorrectly; expected 5 spaces, found 4
(#2744) Expected 1 space after "="; newline found
(#2916) Expected 1 space after "="; newline found
(#3130) Expected 1 space after "="; newline found
(#3775) Line exceeds 132 characters; contains 136 characters
(#3806) Line exceeds 132 characters; contains 137 characters
(#4440) Expected 1 space after "="; newline found
(#4465) Line exceeds 132 characters; contains 149 characters
(#4896) Line exceeds 132 characters; contains 137 characters
(#4930) Line exceeds 132 characters; contains 137 characters
(#5436) Empty IF statement detected
(#6162) Expected 1 space after "="; newline found
(#6883) Line exceeds 132 characters; contains 133 characters
(#7062) Line exceeds 132 characters; contains 136 characters
(#7359) Line exceeds 132 characters; contains 137 characters
(#7975) Expected 1 space after "="; newline found
(#8480) Line exceeds 132 characters; contains 139 characters
(#9182) Expected 1 space before "=>"; 0 found
(#9182) Expected 1 space after "=>"; 0 found
(#9183) Expected 1 space before "=>"; 0 found
(#9183) Expected 1 space after "=>"; 0 found
(#9184) Expected 1 space before "=>"; 0 found
(#9184) Expected 1 space after "=>"; 0 found
(#9185) Expected 1 space before "=>"; 0 found
(#9185) Expected 1 space after "=>"; 0 found
(#9186) Expected 1 space before "=>"; 0 found
(#9186) Expected 1 space after "=>"; 0 found
(#9187) Expected 1 space before "=>"; 0 found
(#9187) Expected 1 space after "=>"; 0 found
(#9188) Expected 1 space before "=>"; 0 found
(#9188) Expected 1 space after "=>"; 0 found
(#9189) Expected 1 space before "=>"; 0 found
(#9189) Expected 1 space after "=>"; 0 found
(#9190) Expected 1 space before "=>"; 0 found
(#9190) Expected 1 space after "=>"; 0 found
(#9198) Expected 1 space before "=>"; 0 found
(#9198) Expected 1 space after "=>"; 0 found
(#9199) Expected 1 space before "=>"; 0 found
(#9199) Expected 1 space after "=>"; 0 found
(#9200) Expected 1 space before "=>"; 0 found
(#9200) Expected 1 space after "=>"; 0 found
(#9201) Expected 1 space before "=>"; 0 found
(#9201) Expected 1 space after "=>"; 0 found
(#9407) Line indented incorrectly; expected at least 4 spaces, found 3
(#9408) Expected 4 space(s) before asterisk; 5 found
(#9409) Expected 4 space(s) before asterisk; 5 found
(#9410) Expected 4 space(s) before asterisk; 5 found
(#9411) Expected 4 space(s) before asterisk; 5 found
(#9412) Expected 4 space(s) before asterisk; 5 found
(#9413) Expected 4 space(s) before asterisk; 5 found
(#9414) Expected 4 space(s) before asterisk; 5 found
(#9620) Line exceeds 132 characters; contains 141 characters
(#9689) Line exceeds 132 characters; contains 137 characters
(#9759) Line exceeds 132 characters; contains 143 characters
(#9768) Line exceeds 132 characters; contains 139 characters
(#9865) Line exceeds 132 characters; contains 138 characters
(#9956) Line exceeds 132 characters; contains 142 characters
(#10132) Line exceeds 132 characters; contains 144 characters
(#10378) Expected 1 space after "="; newline found
local/mobile/futurelib.php
(#323) Line exceeds 132 characters; contains 134 characters
(#939) Empty IF statement detected
(#1528) Line exceeds 132 characters; contains 134 characters
(#2174) Expected 1 space after "+"; newline found
(#2717) Line exceeds 132 characters; contains 139 characters
(#3154) Line exceeds 132 characters; contains 135 characters
local/mobile/launch.php
(#221) Line exceeds 132 characters; contains 138 characters
(#221) Line exceeds 132 characters; contains 138 characters
(#221) Line exceeds 132 characters; contains 138 characters
(#221) Line exceeds 132 characters; contains 138 characters

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

(23 errors, 0 warnings)

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

local/mobile/check.php
(#17) No one-line description found in phpdocs for file
local/mobile/db/upgrade.php
(#27) Function xmldb_local_mobile_upgrade is not documented
local/mobile/externallib.php
(#29) Class local_mobile_external is not documented
(#8688) Phpdocs for function local_mobile_external::mod_quiz_view_attempt has incomplete parameters list
(#8759) Phpdocs for function local_mobile_external::mod_quiz_view_attempt_summary has incomplete parameters list
(#9347) Phpdocs for function local_mobile_external::mod_assign_get_submission_structure has incomplete parameters list
(#9384) Phpdocs for function local_mobile_external::mod_assign_get_grade_structure has incomplete parameters list
local/mobile/futurelib.php
(#2248) Class local_mobile_quiz is not documented
(#2338) Class local_mobile_quiz_attempt is not documented
(#2664) Class local_mobile_quiz_access_manager is not documented
(#2687) Class local_mobile_question_bank is not documented
(#2762) Class local_mobile_assign is not documented
(#629) Function enrol_guest_get_enrol_info is not documented
(#2047) Function local_mobile_external_format_text is not documented
(#2708) Function local_mobile_mod_quiz_add_timemodifiedoffline is not documented
(#2833) Function local_mobile_assign::__construct is not documented
(#154) Phpdocs for function external_util::validate_courses has incomplete parameters list
(#192) Phpdocs for function external_format_string has incomplete parameters list
(#144) Package core_webservice is not valid
(#729) Package mod_glossary is not valid
(#3309) Package core_webservice is not valid
local/mobile/launch.php
(#27) Function is_ios is not documented
local/mobile/server.php
(#46) Package webservice_corsrest is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


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]