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

(3 errors, 15 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) This line has a length of 133. Maximum allowed is 132. (max-len)
(#28) Operator '>' 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)
(#16) 'M' is already defined as a built-in global variable. (no-redeclare)
(#17) Expected space or tab after '/*' in comment. (spaced-comment)
(#17) 'document' is already defined as a built-in global variable. (no-redeclare)
(#18) Identifier 'block_objectives' is not in camel case. (camelcase)
(#20) Identifier 'show_fullscreen' is not in camel case. (camelcase)
(#25) Identifier 'init_fullscreen' is not in camel case. (camelcase)
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#37) Operator '>' 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

(84 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) 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
(#18) Package blocks is not valid
blocks/objectives/block_objectives.php
(#17) File-level phpdocs block is not found
(#19) Class block_objectives is not documented
(#21) Function block_objectives::init is not documented
(#25) Function block_objectives::applicable_formats is not documented
(#29) Function block_objectives::preferred_width is not documented
(#33) Function block_objectives::get_content is not documented
(#49) Function block_objectives::instance_allow_config is not documented
(#19) 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/objectives.php
(#35) Class objectives is not documented
(#41) Function objectives::__construct is not documented
(#61) Function objectives::get_settings is not documented
(#65) Function objectives::can_view_objectives is not documented
(#69) Function objectives::can_edit_objectives is not documented
(#73) Function objectives::can_edit_timetables is not documented
(#77) Function objectives::can_checkoff_objectives is not documented
(#82) Function objectives::ws2ts is not documented
(#88) Function objectives::ts2ws is not documented
(#130) Function objectives::getweekstart is not documented
(#149) Function objectives::addweek is not documented
(#156) Function objectives::getweekday is not documented
(#166) Function objectives::gettimenow is not documented
(#178) Function objectives::objectives_for_selected_group is not documented
(#220) Function objectives::groups_menu is not documented
(#240) Function objectives::get_block_text is not documented
(#404) Function objectives::log_update is not documented
(#417) Function objectives::get_block_footer is not documented
(#427) Function objectives::view_objectives is not documented
(#555) Function objectives::remove_checkedoff is not documented
(#559) Function objectives::add_not_checkedoff is not documented
(#563) Function objectives::edit_objectives is not documented
(#680) Function objectives::edit_timetables is not documented
(#821) Function objectives::print_header is not documented
(#832) Function objectives::print_footer is not documented
(#37) Variable objectives::$settings is not documented
(#38) Variable objectives::$context is not documented
(#39) Variable objectives::$course is not documented
(#799) Phpdocs for function objectives::make_timestamp has incomplete parameters list
blocks/objectives/classes/objectives_form.php
(#33) Class objectives_form is not documented
(#34) Function objectives_form::definition 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/classes/timetable_form.php
(#33) Class timetable_form is not documented
(#34) Function timetable_form::definition 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/tests/behat/behat_block_objectives.php
(#131) 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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]