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

(27 errors, 4 warnings)

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

admin/tool/capexplorer/classes/capexplorer.php
(#42) Line indented incorrectly; expected 8 spaces, found 12
(#84) Line indented incorrectly; expected 8 spaces, found 12
(#123) Closing brace must be on a line by itself
(#372) Line indented incorrectly; expected 16 spaces, found 12
(#373) Line indented incorrectly; expected at least 20 spaces, found 16
(#375) Line indented incorrectly; expected 16 spaces, found 12
(#376) Line indented incorrectly; expected at least 20 spaces, found 16
(#377) Line indented incorrectly; expected at least 20 spaces, found 16
(#408) Closing brace must be on a line by itself
admin/tool/capexplorer/classes/form_selector.php
(#57) Line exceeds 132 characters; contains 178 characters
admin/tool/capexplorer/classes/tree.php
(#225) Line indented incorrectly; expected 12 spaces, found 8
(#226) Line indented incorrectly; expected at least 16 spaces, found 12
(#228) Line indented incorrectly; expected 12 spaces, found 8
(#229) Line indented incorrectly; expected at least 16 spaces, found 12
(#231) Line indented incorrectly; expected 12 spaces, found 8
(#232) Line indented incorrectly; expected at least 16 spaces, found 12
(#234) Line indented incorrectly; expected 12 spaces, found 8
admin/tool/capexplorer/index.php
(#45) Expected 1 space after "="; 2 found
(#93) Closing brace must be on a line by itself
admin/tool/capexplorer/renderer.php
(#50) Expected 1 space after "?"; newline found
(#75) Line exceeds 132 characters; contains 146 characters
(#77) Closing brace must be on a line by itself
(#111) Expected 1 space after "?"; newline found
(#196) Closing brace must be on a line by itself
(#247) Expected 1 space after "?"; newline found
(#455) Expected 1 space after "?"; newline found
(#456) Expected 1 space after ":"; newline found
admin/tool/capexplorer/settings.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
admin/tool/capexplorer/tests/capexplorer_test.php
(#212) Expected 1 space before "=>"; 0 found
(#212) Expected 1 space after "=>"; 0 found
(#558) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(1 errors, 16 warnings)

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

admin/tool/capexplorer/yui/src/capexplorer/js/tool_capexplorer.js
(#25) Identifier 'tool_capexplorer' is not in camel case. (camelcase)
(#28) Missing JSDoc for parameter 'args'. (valid-jsdoc)
(#39) Extra space after key 'container'. (key-spacing)
(#40) Extra space after key 'nodes'. (key-spacing)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#56) Unexpected use of comma operator. (no-sequences)
(#58) Extra space after key 'instanceid'. (key-spacing)
(#67) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#68) Unexpected alert. (no-alert)
(#72) Unexpected alert. (no-alert)
(#93) Identifier 'tree_set_form_field' is not in camel case. (camelcase)
(#108) Identifier 'tree_select_node' is not in camel case. (camelcase)
(#157) Identifier 'init_autocomplete' is not in camel case. (camelcase)
(#163) Infix operators must be spaced. (space-infix-ops)
(#165) Unexpected space before function parentheses. (space-before-function-paren)
(#167) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(38 errors, 0 warnings)

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

admin/tool/capexplorer/ajax/getchildnodes.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/ajax/getusers.php
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/classes/capexplorer.php
(#29) Class capexplorer is not documented
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/classes/form_selector.php
(#29) Class form_selector is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/classes/tree.php
(#29) Class tree is not documented
(#313) Phpdocs for function tree::get_js_tree_node has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/index.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/lang/en/tool_capexplorer.php
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/renderer.php
(#446) Function tool_capexplorer_renderer::print_human_readable_context_info is not documented
(#463) Function tool_capexplorer_renderer::print_results_table is not documented
(#32) Phpdocs for function tool_capexplorer_renderer::print_parent_context_table has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Class tool_capexplorer_renderer does not have @copyright tag
(#27) Class tool_capexplorer_renderer does not have @license tag
admin/tool/capexplorer/settings.php
(#17) File-level phpdocs block does not have @copyright tag
admin/tool/capexplorer/tests/capexplorer_test.php
(#284) Function tool_capexplorer_capexplorer_testcase::permissions_data is not documented
(#311) Function tool_capexplorer_capexplorer_testcase::permissions_across_roles_data is not documented
(#303) There is no description in phpdocs for function test_merge_permissions
(#332) There is no description in phpdocs for function test_merge_permissions_across_roles
(#303) Phpdocs for function tool_capexplorer_capexplorer_testcase::test_merge_permissions has incomplete parameters list
(#332) Phpdocs for function tool_capexplorer_capexplorer_testcase::test_merge_permissions_across_roles has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#29) Class tool_capexplorer_capexplorer_testcase does not have @copyright tag
(#29) Class tool_capexplorer_capexplorer_testcase does not have @license tag
(#32) Invalid phpdocs tag @group used
admin/tool/capexplorer/tests/tree_test.php
(#36) Phpdocs for function tool_capexplorer_tree_testcase::check_node_structure has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#29) Class tool_capexplorer_tree_testcase does not have @copyright tag
(#29) Class tool_capexplorer_tree_testcase does not have @license tag
(#32) Invalid phpdocs tag @group used
admin/tool/capexplorer/version.php
(#17) File-level phpdocs block does not have @copyright tag

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

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

admin/tool/capexplorer/yui/build/moodle-tool_capexplorer-capexplorer/moodle-tool_capexplorer-capexplorer-coverage.js
Uncommitted change detected.

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]