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

(42 errors, 23 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
(#456) Line exceeds 132 characters; contains 136 characters
local/mobile/db/upgrade.php
(#51) Empty CATCH statement detected
local/mobile/externallib.php
(#51) Line exceeds 132 characters; contains 136 characters
(#82) Line exceeds 132 characters; contains 137 characters
(#442) Line exceeds 132 characters; contains 137 characters
(#476) Line exceeds 132 characters; contains 137 characters
(#982) Empty IF statement detected
(#1708) Expected 1 space after "="; newline found
(#2429) Line exceeds 132 characters; contains 133 characters
(#2608) Line exceeds 132 characters; contains 136 characters
(#2905) Line exceeds 132 characters; contains 137 characters
(#3521) Expected 1 space after "="; newline found
(#4026) Line exceeds 132 characters; contains 139 characters
(#4728) Expected 1 space before "=>"; 0 found
(#4728) Expected 1 space after "=>"; 0 found
(#4729) Expected 1 space before "=>"; 0 found
(#4729) Expected 1 space after "=>"; 0 found
(#4730) Expected 1 space before "=>"; 0 found
(#4730) Expected 1 space after "=>"; 0 found
(#4731) Expected 1 space before "=>"; 0 found
(#4731) Expected 1 space after "=>"; 0 found
(#4732) Expected 1 space before "=>"; 0 found
(#4732) Expected 1 space after "=>"; 0 found
(#4733) Expected 1 space before "=>"; 0 found
(#4733) Expected 1 space after "=>"; 0 found
(#4734) Expected 1 space before "=>"; 0 found
(#4734) Expected 1 space after "=>"; 0 found
(#4735) Expected 1 space before "=>"; 0 found
(#4735) Expected 1 space after "=>"; 0 found
(#4736) Expected 1 space before "=>"; 0 found
(#4736) Expected 1 space after "=>"; 0 found
(#4744) Expected 1 space before "=>"; 0 found
(#4744) Expected 1 space after "=>"; 0 found
(#4745) Expected 1 space before "=>"; 0 found
(#4745) Expected 1 space after "=>"; 0 found
(#4746) Expected 1 space before "=>"; 0 found
(#4746) Expected 1 space after "=>"; 0 found
(#4747) Expected 1 space before "=>"; 0 found
(#4747) Expected 1 space after "=>"; 0 found
(#4953) Line indented incorrectly; expected at least 4 spaces, found 3
(#4954) Expected 4 space(s) before asterisk; 5 found
(#4955) Expected 4 space(s) before asterisk; 5 found
(#4956) Expected 4 space(s) before asterisk; 5 found
(#4957) Expected 4 space(s) before asterisk; 5 found
(#4958) Expected 4 space(s) before asterisk; 5 found
(#4959) Expected 4 space(s) before asterisk; 5 found
(#4960) Expected 4 space(s) before asterisk; 5 found
(#5166) Line exceeds 132 characters; contains 141 characters
(#5235) Line exceeds 132 characters; contains 137 characters
(#5305) Line exceeds 132 characters; contains 143 characters
(#5314) Line exceeds 132 characters; contains 139 characters
(#5411) Line exceeds 132 characters; contains 138 characters
(#5502) Line exceeds 132 characters; contains 142 characters
(#5678) Line exceeds 132 characters; contains 144 characters
(#5924) Expected 1 space after "="; newline found
local/mobile/futurelib.php
(#272) Empty IF statement detected
(#861) Line exceeds 132 characters; contains 134 characters
(#1468) Expected 1 space after "+"; newline found
(#2011) Line exceeds 132 characters; contains 139 characters
(#2395) 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 eslint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(19 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
(#30) Class local_mobile_external is not documented
(#4234) Phpdocs for function local_mobile_external::mod_quiz_view_attempt has incomplete parameters list
(#4305) Phpdocs for function local_mobile_external::mod_quiz_view_attempt_summary has incomplete parameters list
(#4893) Phpdocs for function local_mobile_external::mod_assign_get_submission_structure has incomplete parameters list
(#4930) Phpdocs for function local_mobile_external::mod_assign_get_grade_structure has incomplete parameters list
local/mobile/futurelib.php
(#1542) Class local_mobile_quiz is not documented
(#1632) Class local_mobile_quiz_attempt is not documented
(#1958) Class local_mobile_quiz_access_manager is not documented
(#1981) Class local_mobile_question_bank is not documented
(#2020) Class local_mobile_assign is not documented
(#29) Function enrol_guest_get_enrol_info is not documented
(#1341) Function local_mobile_external_format_text is not documented
(#2002) Function local_mobile_mod_quiz_add_timemodifiedoffline is not documented
(#2091) Function local_mobile_assign::__construct is not documented
(#62) Package mod_glossary is not valid
(#2550) Package core_webservice is not valid
local/mobile/launch.php
(#27) Function is_ios is not documented

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]