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, 0 warnings)

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


Javascript coding style problems

(0 errors, 7 warnings)

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

admin/tool/editrolesbycap/yui/src/capabilityformfield/js/capabilityformfield.js
(#34) Unexpected empty method 'initializer'. (no-empty-function)
(#41) Identifier 'tool_editrolesbycap' is not in camel case. (camelcase)
(#43) Identifier 'init_capabilityformfield' is not in camel case. (camelcase)
(#87) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#98) Identifier 'set_filter_cookie' is not in camel case. (camelcase)
(#114) Identifier 'get_filter_cookie' is not in camel case. (camelcase)
(#148) Identifier 'set_visible' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 0 warnings)

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

admin/tool/editrolesbycap/capabilityformfield.php
(#38) Function MoodleQuickForm_capability::__construct is not documented
(#109) Function MoodleQuickForm_capability::toHtml is not documented
(#114) Function MoodleQuickForm_capability::export_for_template is not documented
admin/tool/editrolesbycap/locallib.php
(#42) Function tool_editrolesbycap_capability_form::definition 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]