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

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

mod/stampcoll/managestamps.php
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence

Javascript coding style problems

(15 errors, 3 warnings)

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

mod/stampcoll/Gruntfile.js
(#3) 'module' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected tab character. (no-tabs)
(#30) Unexpected tab character. (no-tabs)
(#31) Unexpected tab character. (no-tabs)
(#32) Unexpected tab character. (no-tabs)
(#33) Unexpected tab character. (no-tabs)
(#34) Unexpected tab character. (no-tabs)
(#35) Unexpected tab character. (no-tabs)
(#36) Unexpected tab character. (no-tabs)
(#37) Unexpected tab character. (no-tabs)
(#38) Unexpected tab character. (no-tabs)
(#39) Unexpected tab character. (no-tabs)
(#40) Unexpected tab character. (no-tabs)
(#41) Unexpected tab character. (no-tabs)
(#42) Unexpected tab character. (no-tabs)
mod/stampcoll/yui/src/viewmode/js/viewmode.js
(#22) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#32) Identifier 'mod_stampcoll' is not in camel case. (camelcase)

CSS problems

(204 errors, 1 warnings)

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

mod/stampcoll/styles.css
(#1) Invalid value for `font` (csstree/validator)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected line length to be no more than 132 characters (max-line-length)
(#1) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(48 errors, 0 warnings)

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

mod/stampcoll/addstamp.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/backup/moodle2/backup_stampcoll_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class backup_stampcoll_activity_task
(#48) Phpdocs for function backup_stampcoll_activity_task::encode_content_links has incomplete parameters list
mod/stampcoll/backup/moodle2/backup_stampcoll_stepslib.php
(#32) Function backup_stampcoll_activity_structure_step::define_structure is not documented
mod/stampcoll/backup/moodle2/restore_stampcoll_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_stampcoll_activity_task
(#76) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#78) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#95) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#97) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/stampcoll/backup/moodle2/restore_stampcoll_stepslib.php
(#20) Package plugintype is not valid
(#33) Function restore_stampcoll_activity_structure_step::define_structure is not documented
(#46) Function restore_stampcoll_activity_structure_step::process_stampcoll is not documented
(#57) Function restore_stampcoll_activity_structure_step::process_stampcoll_stamp is not documented
(#77) Function restore_stampcoll_activity_structure_step::after_execute is not documented
mod/stampcoll/classes/event/course_module_instance_list_viewed.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/classes/event/course_module_viewed.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/classes/event/stamp_added.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/classes/event/stamp_deleted.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/classes/event/stamp_granted.php
(#17) No one-line description found in phpdocs for file
(#31) Inline phpdocs tag {@link stamp_added} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/stampcoll/classes/event/stamp_updated.php
(#17) No one-line description found in phpdocs for file
mod/stampcoll/lib.php
(#62) Phpdocs for function stampcoll_add_instance has incomplete parameters list
(#91) Phpdocs for function stampcoll_update_instance has incomplete parameters list
(#138) Phpdocs for function stampcoll_user_outline has incomplete parameters list
(#206) Phpdocs for function stampcoll_print_recent_activity has incomplete parameters list
(#468) Phpdocs for function stampcoll_extend_navigation has incomplete parameters list
(#350) Inline phpdocs tag {@link stampcoll_get_recent_mod_activity()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#408) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#491) Inline phpdocs tag {@link settings_navigation} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#492) Inline phpdocs tag {@link navigation_node} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/stampcoll/locallib.php
(#95) There is no description in phpdocs for function view_url
(#102) There is no description in phpdocs for function managestamps_url
(#75) Phpdocs for function stampcoll::__construct has incomplete parameters list
(#310) Phpdocs for function stampcoll_singleuser_collection::__construct has incomplete parameters list
(#355) Phpdocs for function stampcoll_multiuser_collection::__construct has incomplete parameters list
(#57) Inline phpdocs tag {@link $intro} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#76) Inline phpdocs tag {@link get_coursemodule_from_id()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#205) Inline phpdocs tag {@see self::register_user() for expected fields} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#224) Inline phpdocs tag {@see user_picture::unalias() for expected fields} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#280) Inline phpdocs tag {@link stampcoll_stamp} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/stampcoll/renderer.php
(#61) Phpdocs for function mod_stampcoll_renderer::render_stampcoll_singleuser_collection has incomplete parameters list
(#102) Phpdocs for function mod_stampcoll_renderer::render_stampcoll_multiuser_collection has incomplete parameters list
(#165) Phpdocs for function mod_stampcoll_renderer::render_stampcoll_management_collection has incomplete parameters list
mod/stampcoll/tests/generator/lib.php
(#40) Phpdocs for function mod_stampcoll_generator::create_instance has incomplete parameters list
mod/stampcoll/tests/generator_test.php
(#26) Class mod_stampcoll_generator_testcase is not documented
(#17) No one-line description found in phpdocs for file

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

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]