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

(2 errors, 1 warnings)

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

course/format/folderview/config.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/folderview/db/upgrade.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/folderview/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(4 errors, 55 warnings)

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

course/format/folderview/format.js
(#42) Identifier 'get_config' is not in camel case. (camelcase)
(#44) Identifier 'container_node' is not in camel case. (camelcase)
(#45) Identifier 'container_class' is not in camel case. (camelcase)
(#46) Identifier 'section_node' is not in camel case. (camelcase)
(#47) Identifier 'section_class' is not in camel case. (camelcase)
(#51) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#59) Identifier 'swap_sections' is not in camel case. (camelcase)
(#70) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#70) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#70) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#70) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#79) Identifier 'process_sections' is not in camel case. (camelcase)
course/format/folderview/yui/menu/menu.js
(#24) 'YUI' is not defined. (no-undef)
(#53) 'config' is defined but never used (no-unused-vars)
(#81) Identifier 'init_aria' is not in camel case. (camelcase)
(#104) There should be no space after '{' (object-curly-spacing)
(#104) There should be no space before '}' (object-curly-spacing)
(#122) Identifier 'find_selected_tab' is not in camel case. (camelcase)
(#133) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#138) Identifier 'get_section_number' is not in camel case. (camelcase)
(#142) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#146) Identifier 'handle_close_button' is not in camel case. (camelcase)
(#156) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#160) Identifier 'handle_show_add_resource' is not in camel case. (camelcase)
(#183) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#187) Identifier 'handle_add_resource' is not in camel case. (camelcase)
(#195) Missing JSDoc parameter type for 'tabPanelId'. (valid-jsdoc)
(#199) Identifier 'show_menu_panel' is not in camel case. (camelcase)
(#207) Identifier 'hide_menu_panel' is not in camel case. (camelcase)
(#220) Identifier 'format_folderview' is not in camel case. (camelcase)
(#221) Identifier 'init_menu' is not in camel case. (camelcase)
(#223) Missing semicolon. (semi)
course/format/folderview/yui/src/sectiontoggle/js/sectiontoggle.js
(#52) 'NAME' is not defined. (no-undef)
(#132) Missing JSDoc parameter type for 'sections'. (valid-jsdoc)
(#136) Identifier 'init_section_attributes' is not in camel case. (camelcase)
(#150) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#155) Identifier 'ignore_section' is not in camel case. (camelcase)
(#159) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#163) Identifier 'toggle_section' is not in camel case. (camelcase)
(#174) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#178) Identifier 'collapse_section' is not in camel case. (camelcase)
(#188) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#192) Identifier 'expand_section' is not in camel case. (camelcase)
(#202) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#208) Identifier 'update_section_labels' is not in camel case. (camelcase)
(#210) Multiple spaces found before '='. (no-multi-spaces)
(#225) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#230) Identifier 'handle_section_toggle' is not in camel case. (camelcase)
(#247) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#251) Identifier 'handle_expand_all' is not in camel case. (camelcase)
(#263) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#267) Identifier 'handle_collapse_all' is not in camel case. (camelcase)
(#279) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#283) Identifier 'handle_drop' is not in camel case. (camelcase)
(#297) Identifier 'save_expanded_sections' is not in camel case. (camelcase)
(#324) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#329) Identifier 'get_section_number' is not in camel case. (camelcase)
(#335) Identifier 'format_folderview' is not in camel case. (camelcase)
(#337) Identifier 'init_sectiontoggle' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(22 errors, 1 warnings)

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

course/format/folderview/addmod.php
(#17) No one-line description found in phpdocs for file
course/format/folderview/db/upgrade.php
(#25) Phpdocs for function xmldb_format_folderview_upgrade has incomplete parameters list
course/format/folderview/lib.php
(#33) Function format_folderview::get_course is not documented
(#40) Function format_folderview::uses_sections is not documented
(#44) Function format_folderview::get_view_url is not documented
(#65) Function format_folderview::get_section_name is not documented
(#76) Function format_folderview::supports_ajax is not documented
(#83) Function format_folderview::ajax_section_move is not documented
(#98) Function format_folderview::extend_course_navigation is not documented
(#117) Function format_folderview::course_format_options is not documented
(#167) Function format_folderview::update_course_format_options is not documented
(#29) No one-line description found in phpdocs for class format_folderview
(#215) Phpdocs for function format_folderview_delete_course has incomplete parameters list
(#29) Class format_folderview does not have @copyright tag
(#29) Class format_folderview does not have @license tag
(#30) Not recommended phpdocs tag @method used
course/format/folderview/renderer.php
(#66) Function format_folderview_renderer::section_title is not documented
(#77) Function format_folderview_renderer::section_left_content is not documented
(#104) Function format_folderview_renderer::section_right_content is not documented
(#120) Function format_folderview_renderer::section_edit_control_items is not documented
(#190) Function format_folderview_renderer::print_multiple_section_page is not documented
(#204) Function format_folderview_renderer::print_single_section_page is not documented
(#289) Function format_folderview_renderer::section_nav_selection 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]