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

(5 errors, 3 warnings)

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

availability/condition/enrol/classes/condition.php
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Line indented incorrectly; expected 8 spaces, found 12
(#63) Line indented incorrectly; expected 8 spaces, found 12
availability/condition/enrol/classes/frontend.php
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line indented incorrectly; expected 12 spaces, found 10
(#61) Line indented incorrectly; expected at least 16 spaces, found 12
(#62) Line indented incorrectly; expected 12 spaces, found 10

Javascript coding style problems

(1 errors, 4 warnings)

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

availability/condition/enrol/yui/src/form/js/form.js
(#6) Identifier 'availability_enrol' is not in camel case. (camelcase)
(#28) Comments should not begin with a lowercase character (capitalized-comments)
(#33) Line 33 exceeds the maximum line length of 132. (max-len)
(#39) Comments should not begin with a lowercase character (capitalized-comments)
(#43) Comments should not begin with a lowercase character (capitalized-comments)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(11 errors, 0 warnings)

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

availability/condition/enrol/classes/condition.php
(#47) Function condition::save is not documented
(#52) Function condition::is_available is not documented
(#67) Function condition::get_description is not documented
(#74) Function condition::get_debug_string is not documented
(#32) Package availability_enroll is not valid
availability/condition/enrol/classes/frontend.php
(#42) Function frontend::get_javascript_strings is not documented
(#46) Function frontend::get_javascript_init_params is not documented
(#52) Function frontend::allow_add is not documented
(#20) Package availability_enroll is not valid
availability/condition/enrol/lang/en/availability_enrol.php
(#20) Package availability_entrol is not valid
availability/condition/enrol/tests/condition_test.php
(#32) Package availability_group 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

(1 errors, 1 warnings)

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

Task "eslint:yui" failed. Use --force to continue.
Problems running grunt

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]