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

(0 errors, 7 warnings)

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

availability/condition/role/classes/condition.php
(#21) Line exceeds 132 characters; contains 147 characters
(#33) Line exceeds 132 characters; contains 147 characters
availability/condition/role/classes/frontend.php
(#21) Line exceeds 132 characters; contains 147 characters
(#33) Line exceeds 132 characters; contains 147 characters
availability/condition/role/tests/condition_test.php
(#21) Line exceeds 132 characters; contains 147 characters
(#33) Line exceeds 132 characters; contains 147 characters
availability/condition/role/version.php
(#21) Line exceeds 132 characters; contains 147 characters

Javascript coding style problems

(0 errors, 3 warnings)

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

availability/condition/role/yui/src/form/js/form.js
(#6) Identifier 'availability_role' is not in camel case. (camelcase)
(#34) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#37) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(8 errors, 0 warnings)

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

availability/condition/role/classes/condition.php
(#55) Function condition::save is not documented
(#65) Function condition::update_after_restore is not documented
(#89) Function condition::is_available is not documented
(#134) Function condition::get_description is not documented
(#147) Function condition::get_debug_string is not documented
availability/condition/role/classes/frontend.php
(#38) Function frontend::get_javascript_init_params is not documented
(#56) Function frontend::get_course_roles is not documented
(#88) Function frontend::allow_add 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]