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

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

blocks/course_contacts/block_course_contacts.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) This comment is 63% valid code; is this commented out code?
(#209) This comment is 50% valid code; is this commented out code?
(#212) This comment is 50% valid code; is this commented out code?
(#217) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) This comment is 60% valid code; is this commented out code?
(#240) This comment is 50% valid code; is this commented out code?
(#241) This comment is 67% valid code; is this commented out code?
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) This comment is 50% valid code; is this commented out code?
(#244) Inline comments must start with a capital letter, digit or 3-dots sequence
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) This comment is 50% valid code; is this commented out code?
blocks/course_contacts/edit_form.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/course_contacts/email.php
(#86) This comment is 58% valid code; is this commented out code?
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) This comment is 59% valid code; is this commented out code?
blocks/course_contacts/email_form.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/course_contacts/lib.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/course_contacts/version.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(6 errors, 1 warnings)

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

blocks/course_contacts/styles.css
(#33) Unexpected empty block (block-no-empty)
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#80) Expected single space before "{" (block-opening-brace-space-before)
(#84) Expected single space before "{" (block-opening-brace-space-before)
(#71) Expected "#444444" to be "#444" (color-hex-length)
(#67) Unexpected "margin" with "display: inline" (declaration-block-no-ignored-properties)
(#44) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(30 errors, 0 warnings)

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

blocks/course_contacts/block_course_contacts.php
(#29) Class block_course_contacts is not documented
(#30) Function block_course_contacts::init is not documented
(#34) Function block_course_contacts::applicable_formats is not documented
(#40) Function block_course_contacts::shorten_name is not documented
(#135) Function block_course_contacts::get_content is not documented
(#284) Function block_course_contacts::instance_allow_config is not documented
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/db/access.php
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/edit_form.php
(#29) Class block_course_contacts_edit_form is not documented
(#31) Function block_course_contacts_edit_form::specific_definition is not documented
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/email.php
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/email_form.php
(#30) Class simple_email_form is not documented
(#31) Function simple_email_form::definition is not documented
(#72) Function simple_email_form::validation is not documented
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/lang/en/block_course_contacts.php
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/lib.php
(#29) Function quickmail_format_time is not documented
(#33) Function quickmail_cleanup is not documented
(#48) Function quickmail_history_cleanup is not documented
(#52) Function quickmail_draft_cleanup is not documented
(#56) Function quickmail_process_attachments is not documented
(#90) Function quickmail_attachment_names is not documented
(#108) Function quickmail_filter_roles is not documented
(#114) Function quickmail_load_config is not documented
(#136) Function quickmail_default_config is not documented
(#141) Function quickmail_save_config is not documented
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/settings.php
(#24) Invalid phpdocs tag @credits used
blocks/course_contacts/version.php
(#24) Invalid phpdocs tag @credits used

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]

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

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]