Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(56 errors, 63 warnings)

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

mod/livepoll/backup/moodle2/backup_livepoll_activity_task.class.php
(#58) The static declaration must come after the visibility declaration
mod/livepoll/backup/moodle2/backup_livepoll_settingslib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/backup/moodle2/restore_livepoll_activity_task.class.php
(#54) The static declaration must come after the visibility declaration
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#65) The static declaration must come after the visibility declaration
(#66) Short array syntax must be used to define arrays
(#77) The static declaration must come after the visibility declaration
(#78) Short array syntax must be used to define arrays
(#90) The static declaration must come after the visibility declaration
(#91) Short array syntax must be used to define arrays
mod/livepoll/backup/moodle2/restore_livepoll_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Short array syntax must be used to define arrays
mod/livepoll/classes/event/course_module_instance_list_viewed.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/event/course_module_viewed.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Short array syntax must be used to define arrays
mod/livepoll/classes/external.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#41) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
mod/livepoll/classes/output/mobile.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#33) Missing docblock for function mobile_init
(#34) Opening brace should be on the same line as the declaration
(#44) Line indented incorrectly; expected at least 8 spaces, found 4
(#49) Missing docblock for function mobile_course_view
(#51) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#58) Variable "isLecturer" must be all lower-case
(#87) Variable "pollConfig" must be all lower-case
(#88) Variable "pollConfig" must be all lower-case
(#89) Variable "pollConfig" must be all lower-case
(#90) Variable "pollConfig" must be all lower-case
(#91) Variable "pollConfig" must be all lower-case
(#92) Variable "pollConfig" must be all lower-case
(#93) Variable "pollConfig" must be all lower-case
(#94) Variable "pollConfig" must be all lower-case
(#95) Variable "pollConfig" must be all lower-case
(#96) Variable "pollConfig" must be all lower-case
(#97) Variable "pollConfig" must be all lower-case
(#97) Expected 1 space after "="; 2 found
(#98) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#104) Variable "isLecturer" must be all lower-case
(#104) Line exceeds 132 characters; contains 138 characters
(#108) Variable "pollConfig" must be all lower-case
(#108) There should be a comma after the last array item in a multi-line array.
(#111) File must end with a newline character
mod/livepoll/classes/privacy/provider.php
(#37) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#54) There must not be a space before the colon in a return type declaration
(#63) Missing docblock for function get_contexts_for_userid
(#63) There must not be a space before the colon in a return type declaration
(#67) Missing docblock for function export_user_data
(#70) Missing docblock for function delete_data_for_all_users_in_context
(#73) Missing docblock for function delete_data_for_user
(#76) Missing docblock for function get_users_in_context
(#79) Missing docblock for function delete_data_for_users
mod/livepoll/classes/result/barchart_text_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/doughnutchart_text_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/piechart_text_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/polarareachart_text_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/radarchart_text_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/rendering_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/classes/result/text_only_strategy.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/livepoll/db/mobile.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#38) There should be a comma after the last array item in a multi-line array.
(#51) There should be a comma after the last array item in a multi-line array.
(#54) File must end with a newline character
mod/livepoll/db/services.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
mod/livepoll/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#81) Variable "httpCode" must be all lower-case
(#82) Variable "httpCode" must be all lower-case
mod/livepoll/index.php
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
mod/livepoll/lang/en/livepoll.php
(#79) File must end with a newline character
mod/livepoll/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#99) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
mod/livepoll/mod_form.php
(#50) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
mod/livepoll/tests/poll_handler_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) PHPUnit testcase name "mod_livepoll_poll_handler_testcase" does not match file name "poll_handler_test"
(#35) PHPUnit class "mod_livepoll_poll_handler_testcase" does not have any namespace. It is recommended to add it to the "mod_livepoll" namespace, using more levels if needed, in order to match the code being tested
(#36) Test method test_strategy() is missing any coverage information, own or at class level
mod/livepoll/tests/privacy_provider_test.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) PHPUnit testcase name "mod_livepoll_privacy_provider_testcase" does not match file name "privacy_provider_test"
(#37) PHPUnit class "mod_livepoll_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "mod_livepoll" namespace, using more levels if needed, in order to match the code being tested
(#42) Test method test_get_metadata() is missing any coverage information, own or at class level
mod/livepoll/view.php
(#28) This comment is 43% valid code; is this commented out code?
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays

CSS problems

(381 errors, 3 warnings)

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

mod/livepoll/styles.css
(#47) Expected "#2196F3" to be "#2196f3" (color-hex-case)
(#51) Expected "#2196F3" to be "#2196f3" (color-hex-case)
mod/livepoll/mobile/css/styles.css
(#1) Expected empty line before at-rule (at-rule-empty-line-before)
(#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 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 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 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 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 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 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) Unexpected shorthand "border-color" after "border-top-color" (declaration-block-no-shorthand-property-overrides)
(#1) Unexpected shorthand "border-color" after "border-right-color" (declaration-block-no-shorthand-property-overrides)
(#1) Unexpected shorthand "border-color" after "border-bottom-color" (declaration-block-no-shorthand-property-overrides)
(#1) Unexpected shorthand "border-color" after "border-left-color" (declaration-block-no-shorthand-property-overrides)
(#1) Unexpected shorthand "margin" after "margin-bottom" (declaration-block-no-shorthand-property-overrides)
(#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 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 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 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 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)
(#1) Unexpected unknown type selector "ion-item" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-item" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
(#1) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
mod/livepoll/mobile/css/styles.scss
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#17) Expected single space before "{" (block-opening-brace-space-before)
(#25) Expected single space before "{" (block-opening-brace-space-before)
(#97) Unexpected shorthand "border-color" after "border-top-color" (declaration-block-no-shorthand-property-overrides)
(#97) Unexpected shorthand "border-color" after "border-right-color" (declaration-block-no-shorthand-property-overrides)
(#97) Unexpected shorthand "border-color" after "border-bottom-color" (declaration-block-no-shorthand-property-overrides)
(#97) Unexpected shorthand "border-color" after "border-left-color" (declaration-block-no-shorthand-property-overrides)
(#98) Unexpected shorthand "margin" after "margin-bottom" (declaration-block-no-shorthand-property-overrides)
(#18) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#26) Unexpected unknown type selector "ion-item" (selector-type-no-unknown)
(#30) Unexpected unknown type selector "ion-item" (selector-type-no-unknown)
(#31) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#41) Unexpected unknown type selector "ion-card" (selector-type-no-unknown)
(#44) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
(#68) Unexpected unknown type selector "ion-card-content" (selector-type-no-unknown)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#10) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 8 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 8 spaces (indentation)
(#14) Expected indentation of 8 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 8 spaces (indentation)
(#20) Expected indentation of 8 spaces (indentation)
(#23) Expected indentation of 8 spaces (indentation)
(#21) Expected indentation of 12 spaces (indentation)
(#22) Expected indentation of 12 spaces (indentation)
(#25) Expected indentation of 8 spaces (indentation)
(#35) Expected indentation of 8 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#28) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 16 spaces (indentation)
(#30) Expected indentation of 12 spaces (indentation)
(#34) Expected indentation of 12 spaces (indentation)
(#31) Expected indentation of 16 spaces (indentation)
(#33) Expected indentation of 16 spaces (indentation)
(#32) Expected indentation of 20 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 8 spaces (indentation)
(#63) Expected indentation of 8 spaces (indentation)
(#42) Expected indentation of 12 spaces (indentation)
(#44) Expected indentation of 12 spaces (indentation)
(#56) Expected indentation of 12 spaces (indentation)
(#45) Expected indentation of 16 spaces (indentation)
(#46) Expected indentation of 16 spaces (indentation)
(#47) Expected indentation of 16 spaces (indentation)
(#48) Expected indentation of 16 spaces (indentation)
(#50) Expected indentation of 16 spaces (indentation)
(#55) Expected indentation of 16 spaces (indentation)
(#51) Expected indentation of 20 spaces (indentation)
(#52) Expected indentation of 20 spaces (indentation)
(#53) Expected indentation of 20 spaces (indentation)
(#54) Expected indentation of 20 spaces (indentation)
(#58) Expected indentation of 12 spaces (indentation)
(#62) Expected indentation of 12 spaces (indentation)
(#59) Expected indentation of 16 spaces (indentation)
(#60) Expected indentation of 16 spaces (indentation)
(#61) Expected indentation of 16 spaces (indentation)
(#65) Expected indentation of 8 spaces (indentation)
(#82) Expected indentation of 8 spaces (indentation)
(#66) Expected indentation of 12 spaces (indentation)
(#68) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 12 spaces (indentation)
(#69) Expected indentation of 16 spaces (indentation)
(#70) Expected indentation of 16 spaces (indentation)
(#71) Expected indentation of 16 spaces (indentation)
(#73) Expected indentation of 16 spaces (indentation)
(#75) Expected indentation of 16 spaces (indentation)
(#74) Expected indentation of 20 spaces (indentation)
(#78) Expected indentation of 12 spaces (indentation)
(#80) Expected indentation of 12 spaces (indentation)
(#79) Expected indentation of 16 spaces (indentation)
(#84) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 8 spaces (indentation)
(#85) Expected indentation of 12 spaces (indentation)
(#86) Expected indentation of 12 spaces (indentation)
(#87) Expected indentation of 12 spaces (indentation)
(#88) Expected indentation of 12 spaces (indentation)
(#89) Expected indentation of 12 spaces (indentation)
(#90) Expected indentation of 12 spaces (indentation)
(#91) Expected indentation of 12 spaces (indentation)
(#92) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#94) Expected indentation of 12 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 12 spaces (indentation)
(#97) Expected indentation of 12 spaces (indentation)
(#98) Expected indentation of 12 spaces (indentation)
(#99) Expected indentation of 12 spaces (indentation)
(#100) Expected indentation of 12 spaces (indentation)
(#103) Expected indentation of 8 spaces (indentation)
(#106) Expected indentation of 8 spaces (indentation)
(#104) Expected indentation of 12 spaces (indentation)
(#105) Expected indentation of 12 spaces (indentation)
(#108) Expected indentation of 8 spaces (indentation)
(#110) Expected indentation of 8 spaces (indentation)
(#109) Expected indentation of 12 spaces (indentation)
(#112) Expected indentation of 8 spaces (indentation)
(#114) Expected indentation of 8 spaces (indentation)
(#113) Expected indentation of 12 spaces (indentation)
(#116) Expected indentation of 8 spaces (indentation)
(#126) Expected indentation of 8 spaces (indentation)
(#117) Expected indentation of 12 spaces (indentation)
(#120) Expected indentation of 12 spaces (indentation)
(#118) Expected indentation of 16 spaces (indentation)
(#119) Expected indentation of 16 spaces (indentation)
(#122) Expected indentation of 12 spaces (indentation)
(#125) Expected indentation of 12 spaces (indentation)
(#123) Expected indentation of 16 spaces (indentation)
(#124) Expected indentation of 16 spaces (indentation)
(#128) Expected indentation of 8 spaces (indentation)
(#133) Expected indentation of 8 spaces (indentation)
(#129) Expected indentation of 12 spaces (indentation)
(#130) Expected indentation of 12 spaces (indentation)
(#131) Expected indentation of 12 spaces (indentation)
(#132) Expected indentation of 12 spaces (indentation)

PHPDocs style problems

(1 errors, 0 warnings)

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

mod/livepoll/classes/privacy/provider.php
(#18) Inline phpdocs tag {@link \mod_livepoll\privacy\provider} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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 "eslint:amd" 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, 2 warnings)

This section shows problems detected in mustache templates [More info]

mod/livepoll/templates/mobile/latest/mobile_view_page.mustache
(#1) HTML Validation info, line 5: Attribute “*ngif” is not serializable as XML 1.0. (> <ion-card id="intro" *ngIf="this.AddonModLivePoll.intro.length > 0"> )
(#1) HTML Validation info, line 6: Attribute “[collapsible-item]” is not serializable as XML 1.0. ( <core-format-text style="padding: 5px 10px 0 10px;" [collapsible-item]=30 [text]="this.AddonModLivePoll.intro" contextLevel="module"></core)
(#1) HTML Validation info, line 6: Attribute “[text]” is not serializable as XML 1.0. ( <core-format-text style="padding: 5px 10px 0 10px;" [collapsible-item]=30 [text]="this.AddonModLivePoll.intro" contextLevel="module"></core)
(#1) HTML Validation info, line 10: Attribute “[ngmodel]” is not serializable as XML 1.0. ( <ion-toggle [ngModel]="this.AddonModLivePoll.optionCtrl.votingClosed" (ngModelChange)="this.AddonModLivePoll.toggleCloseVoting($event)" item-start style="padding-right: 5px"></ion-)
(#1) HTML Validation info, line 10: Attribute “(ngmodelchange)” is not serializable as XML 1.0. ( <ion-toggle [ngModel]="this.AddonModLivePoll.optionCtrl.votingClosed" (ngModelChange)="this.AddonModLivePoll.toggleCloseVoting($event)" item-start style="padding-right: 5px"></ion-)
(#1) HTML Validation info, line 15: Attribute “[ngmodel]” is not serializable as XML 1.0. ( <ion-toggle [ngModel]="this.AddonModLivePoll.optionCtrl.highlightVote" (ngModelChange)="this.AddonModLivePoll.toggleHighlight($event)" item-start style="padding-right: 5px"></ion-)
(#1) HTML Validation info, line 15: Attribute “(ngmodelchange)” is not serializable as XML 1.0. ( <ion-toggle [ngModel]="this.AddonModLivePoll.optionCtrl.highlightVote" (ngModelChange)="this.AddonModLivePoll.toggleHighlight($event)" item-start style="padding-right: 5px"></ion-)
(#1) HTML Validation info, line 20: Attribute “*ngif” is not serializable as XML 1.0. (/div> <div id="chart-container" *ngIf="this.AddonModLivePoll.optionCtrl?.chartCtrl"> )
(#1) HTML Validation error, line 20: Attribute “*ngif” not allowed on element “div” at this point. (/div> <div id="chart-container" *ngIf="this.AddonModLivePoll.optionCtrl?.chartCtrl"> )
(#1) HTML Validation info, line 25: Attribute “*ngif” is not serializable as XML 1.0. (> <div id="message-container" *ngIf="this.AddonModLivePoll.optionCtrl?.votingClosed"> )
(#1) HTML Validation error, line 25: Attribute “*ngif” not allowed on element “div” at this point. (> <div id="message-container" *ngIf="this.AddonModLivePoll.optionCtrl?.votingClosed"> )
(#1) HTML Validation info, line 28: Attribute “*ngfor” is not serializable as XML 1.0. (> <ng-container *ngFor="let optionItem of this.AddonModLivePoll.optionCtrl?.optionList | keyvalue"> )
(#1) HTML Validation info, line 29: Attribute “[ngclass]” is not serializable as XML 1.0. ( <ion-card [ngClass]="{isHighest: optionItem.value.isHighest, isOwnVote: optionItem.value.isOwnVote, highlight: optionItem.value.highlight}"> )
(#1) HTML Validation info, line 30: Attribute “(click)” is not serializable as XML 1.0. ( <ion-card-content button (click)="this.AddonModLivePoll.doVote(optionItem.value)" > )

Gherkin .feature problems

(0 errors, 0 warnings)

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