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, 25 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) Extra space after key 'initializer'. (key-spacing)
(#34) Unexpected empty method 'initializer'. (no-empty-function)
(#37) Extra space after key 'NAME'. (key-spacing)
(#38) Extra space after key 'ATTRS'. (key-spacing)
(#41) Identifier 'tool_editrolesbycap' is not in camel case. (camelcase)
(#43) Identifier 'init_capabilityformfield' is not in camel case. (camelcase)
(#54) Extra space after key 'width'. (key-spacing)
(#55) Extra space after key 'marginLeft'. (key-spacing)
(#56) Extra space after key 'marginRight'. (key-spacing)
(#63) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#65) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#74) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#86) Function expected no return value. (consistent-return)
(#89) Missing JSDoc for parameter 'value'. (valid-jsdoc)
(#95) Identifier 'set_filter_cookie' is not in camel case. (camelcase)
(#97) Extra space after key 'flttime'. (key-spacing)
(#98) Extra space after key 'fltvalue'. (key-spacing)
(#103) Missing JSDoc @returns for function. (valid-jsdoc)
(#109) Identifier 'get_filter_cookie' is not in camel case. (camelcase)
(#134) Requires a space after '{'. (block-spacing)
(#134) Missing space before opening brace. (space-before-blocks)
(#134) Statement inside of curly braces should be on next line. (brace-style)
(#134) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#134) Requires a space before '}'. (block-spacing)
(#141) 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

(12 errors, 0 warnings)

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

admin/tool/editrolesbycap/capabilityformfield.php
(#37) Function MoodleQuickForm_capability::__construct is not documented
(#44) Function MoodleQuickForm_capability::get_capabitity_optgroups is not documented
(#86) Function MoodleQuickForm_capability::setup_javascript is not documented
(#100) Function MoodleQuickForm_capability::toHtml is not documented
(#105) Function MoodleQuickForm_capability::export_for_template is not documented
(#20) Package core_form is not valid
admin/tool/editrolesbycap/locallib.php
(#42) Function tool_editrolesbycap_capability_form::definition is not documented
(#57) Function tool_editrolesbycap_get_default_permission is not documented
(#78) There is no description in phpdocs for function tool_editrolesbycap_load_role_definitions
admin/tool/editrolesbycap/renderer.php
(#281) There is no description in phpdocs for function permission_names
(#38) Phpdocs for function tool_editrolesbycap_renderer::index_page_no_capability has incomplete parameters list
(#299) Phpdocs for function tool_editrolesbycap_renderer::permission_name has incomplete parameters list

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]