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

(17 errors, 0 warnings)

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

mod/iconactivatecontent/about.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/backup/moodle2/backup_iconactivatecontent_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/backup/moodle2/backup_iconactivatecontent_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/backup/moodle2/restore_iconactivatecontent_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/backup/moodle2/restore_iconactivatecontent_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/lang/en/iconactivatecontent.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#166) Whitespace found at end of line within string
mod/iconactivatecontent/locallib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/mod_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/iconactivatecontent/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(74 errors, 14 warnings)

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

mod/iconactivatecontent/amd/src/activate.js
(#1) Identifier 'mod_iconactivatecontent_initialized' is not in camel case. (camelcase)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Missing space before opening brace. (space-before-blocks)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Comments should not begin with a lowercase character. (capitalized-comments)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Identifier 'mod_iconactivatecontent_initialized' is not in camel case. (camelcase)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Identifier 'mod_iconactivatecontent_initialized' is not in camel case. (camelcase)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Missing space before opening brace. (space-before-blocks)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Missing semicolon. (babel/semi)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
mod/iconactivatecontent/amd/src/switchtemplate.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Extra space after key 'twitter.com'. (key-spacing)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Extra space after key 'maps.google.com'. (key-spacing)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Extra space after key 'goo.gl/maps'. (key-spacing)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Extra space after key 'www.google.com/maps'. (key-spacing)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) A space is required after ','. (comma-spacing)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Missing semicolon. (babel/semi)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Missing semicolon. (babel/semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(20 errors, 5 warnings)

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

mod/iconactivatecontent/backup/moodle2/backup_iconactivatecontent_activity_task.class.php
(#17) File-level phpdocs block does not have @copyright tag
mod/iconactivatecontent/backup/moodle2/backup_iconactivatecontent_stepslib.php
(#31) Function backup_iconactivatecontent_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
mod/iconactivatecontent/backup/moodle2/restore_iconactivatecontent_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class restore_iconactivatecontent_activity_task
(#17) File-level phpdocs block does not have @copyright tag
(#77) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#79) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#93) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#95) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/iconactivatecontent/backup/moodle2/restore_iconactivatecontent_stepslib.php
(#32) Function restore_iconactivatecontent_activity_structure_step::define_structure is not documented
(#41) Function restore_iconactivatecontent_activity_structure_step::process_iconactivatecontent is not documented
(#57) Function restore_iconactivatecontent_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
mod/iconactivatecontent/db/upgrade.php
(#25) Function xmldb_iconactivatecontent_upgrade is not documented
mod/iconactivatecontent/lib.php
(#200) There is no description in phpdocs for function iconactivatecontent_get_uploaded_icon
(#143) Not recommended phpdocs tag @global used
mod/iconactivatecontent/locallib.php
(#17) No one-line description found in phpdocs for file
(#26) There is no description in phpdocs for function iconactivatecontent_save_customicon
(#27) Phpdocs for function iconactivatecontent_save_customicon has incomplete parameters list
mod/iconactivatecontent/mod_form.php
(#103) There is no description in phpdocs for function data_preprocessing
(#104) Phpdocs for function mod_iconactivatecontent_mod_form::data_preprocessing has incomplete parameters list
mod/iconactivatecontent/settings.php
(#17) File-level phpdocs block does not have @copyright tag

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

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

mod/iconactivatecontent/templates/view.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ad><body><div class="card externalcontent" id="" > <)
(#1) HTML Validation error, line 14: Element “div” not allowed as child of element “button” in this context. (Suppressing further errors from this subtree.) ( <div class="activation-toggle-pill">&nbsp;)

Gherkin .feature problems

(0 errors, 0 warnings)

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