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

(4 errors, 16 warnings)

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

blocks/objectives/objectives.js
(#16) Identifier 'block_objectives' is not in camel case. (camelcase)
(#18) Identifier 'show_fullscreen' is not in camel case. (camelcase)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Identifier 'init_fullscreen' is not in camel case. (camelcase)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Line 25 exceeds the maximum line length of 132. (max-len)
(#28) Infix operators must be spaced. (space-infix-ops)
(#32) 'YAHOO' is not defined. (no-undef)
(#42) 'YAHOO' is not defined. (no-undef)
blocks/objectives/objectives24.js
(#16) Expected space or tab after '/*' in comment. (spaced-comment)
(#17) Expected space or tab after '/*' in comment. (spaced-comment)
(#18) Identifier 'block_objectives' is not in camel case. (camelcase)
(#20) Identifier 'show_fullscreen' is not in camel case. (camelcase)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Identifier 'init_fullscreen' is not in camel case. (camelcase)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#33) Line 33 exceeds the maximum line length of 132. (max-len)
(#36) Infix operators must be spaced. (space-infix-ops)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(92 errors, 0 warnings)

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

blocks/objectives/backup/moodle2/backup_objectives_block_task.class.php
(#28) Class backup_objectives_block_task is not documented
(#30) Function backup_objectives_block_task::define_my_settings is not documented
(#33) Function backup_objectives_block_task::define_my_steps is not documented
(#38) Function backup_objectives_block_task::get_fileareas is not documented
(#42) Function backup_objectives_block_task::get_configdata_encoded_attributes is not documented
(#46) Function backup_objectives_block_task::encode_content_links is not documented
(#17) No one-line description found in phpdocs for file
blocks/objectives/backup/moodle2/backup_objectives_stepslib.php
(#17) File-level phpdocs block is not found
(#35) Function backup_objectives_block_structure_step::define_structure is not documented
(#30) Class backup_objectives_block_structure_step does not have @copyright tag
(#30) Class backup_objectives_block_structure_step does not have @license tag
(#30) Package is not specified for class backup_objectives_block_structure_step. It is also not specified in file-level phpdocs
(#20) Package blocks is not valid
blocks/objectives/backup/moodle2/restore_objectives_block_task.class.php
(#17) File-level phpdocs block is not found
(#21) Class restore_objectives_block_task is not documented
(#23) Function restore_objectives_block_task::define_my_settings is not documented
(#26) Function restore_objectives_block_task::define_my_steps is not documented
(#31) Function restore_objectives_block_task::get_fileareas is not documented
(#35) Function restore_objectives_block_task::get_configdata_encoded_attributes is not documented
(#39) Function restore_objectives_block_task::define_decode_contents is not documented
(#43) Function restore_objectives_block_task::define_decode_rules is not documented
(#21) Package is not specified for class restore_objectives_block_task. It is also not specified in file-level phpdocs
blocks/objectives/backup/moodle2/restore_objectives_stepslib.php
(#35) Function restore_objectives_block_structure_step::define_structure is not documented
(#47) Function restore_objectives_block_structure_step::process_objectives is not documented
(#70) Function restore_objectives_block_structure_step::process_objectives_timetable is not documented
(#82) Function restore_objectives_block_structure_step::process_objectives_objective is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class restore_objectives_block_structure_step does not have @copyright tag
(#30) Class restore_objectives_block_structure_step does not have @license tag
(#18) Package blocks is not valid
blocks/objectives/block_objectives.php
(#17) File-level phpdocs block is not found
(#21) Class block_objectives is not documented
(#23) Function block_objectives::init is not documented
(#27) Function block_objectives::applicable_formats is not documented
(#31) Function block_objectives::preferred_width is not documented
(#35) Function block_objectives::get_content is not documented
(#51) Function block_objectives::instance_allow_config is not documented
(#21) Package is not specified for class block_objectives. It is also not specified in file-level phpdocs
blocks/objectives/classes/event/objective_updated.php
(#84) Function objective_updated::validate_data is not documented
blocks/objectives/classes/privacy/provider.php
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
blocks/objectives/db/access.php
(#17) File-level phpdocs block is not found
blocks/objectives/db/upgrade.php
(#17) File-level phpdocs block is not found
(#19) Function xmldb_block_objectives_upgrade is not documented
(#19) Package is not specified for function xmldb_block_objectives_upgrade. It is also not specified in file-level phpdocs
blocks/objectives/edit.php
(#17) File-level phpdocs block is not found
blocks/objectives/edit_form.php
(#17) File-level phpdocs block is not found
(#19) Class block_objectives_edit_form is not documented
(#20) Function block_objectives_edit_form::specific_definition is not documented
(#34) Function block_objectives_edit_form::set_data is not documented
(#19) Package is not specified for class block_objectives_edit_form. It is also not specified in file-level phpdocs
blocks/objectives/lang/en/block_objectives.php
(#17) File-level phpdocs block is not found
blocks/objectives/lib.php
(#17) File-level phpdocs block is not found
(#21) Class block_objectives_class is not documented
(#824) Class block_objectives_timetable_form is not documented
(#899) Class block_objectives_objectives_form is not documented
(#27) Function block_objectives_class::__construct is not documented
(#47) Function block_objectives_class::get_settings is not documented
(#51) Function block_objectives_class::can_view_objectives is not documented
(#55) Function block_objectives_class::can_edit_objectives is not documented
(#59) Function block_objectives_class::can_edit_timetables is not documented
(#63) Function block_objectives_class::can_checkoff_objectives is not documented
(#68) Function block_objectives_class::ws2ts is not documented
(#74) Function block_objectives_class::ts2ws is not documented
(#116) Function block_objectives_class::getweekstart is not documented
(#135) Function block_objectives_class::addweek is not documented
(#142) Function block_objectives_class::getweekday is not documented
(#152) Function block_objectives_class::gettimenow is not documented
(#164) Function block_objectives_class::objectives_for_selected_group is not documented
(#206) Function block_objectives_class::groups_menu is not documented
(#226) Function block_objectives_class::get_block_text is not documented
(#390) Function block_objectives_class::log_update is not documented
(#403) Function block_objectives_class::get_block_footer is not documented
(#413) Function block_objectives_class::view_objectives is not documented
(#541) Function block_objectives_class::remove_checkedoff is not documented
(#545) Function block_objectives_class::add_not_checkedoff is not documented
(#549) Function block_objectives_class::edit_objectives is not documented
(#666) Function block_objectives_class::edit_timetables is not documented
(#807) Function block_objectives_class::print_header is not documented
(#818) Function block_objectives_class::print_footer is not documented
(#825) Function block_objectives_timetable_form::definition is not documented
(#900) Function block_objectives_objectives_form::definition is not documented
(#23) Variable block_objectives_class::$settings is not documented
(#24) Variable block_objectives_class::$context is not documented
(#25) Variable block_objectives_class::$course is not documented
(#785) Phpdocs for function block_objectives_class::make_timestamp has incomplete parameters list
(#21) Package is not specified for class block_objectives_class. It is also not specified in file-level phpdocs
(#824) Package is not specified for class block_objectives_timetable_form. It is also not specified in file-level phpdocs
(#899) Package is not specified for class block_objectives_objectives_form. It is also not specified in file-level phpdocs
blocks/objectives/tests/behat/behat_block_objectives.php
(#134) Function behat_block_objectives::timestring_to_timetable_timestamp is not documented
blocks/objectives/version.php
(#17) File-level phpdocs block is not found
blocks/objectives/view.php
(#17) File-level phpdocs block is not found

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]