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

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

mod/iconactivatecontent/index.php
(#81) Logical operator "or" is prohibited; use "||" instead
mod/iconactivatecontent/lib.php
(#256) Logical operator "or" is prohibited; use "||" instead

Javascript coding style problems

(3 errors, 10 warnings)

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

mod/iconactivatecontent/amd/src/activate.js
(#1) Missing space before opening brace. (space-before-blocks)
(#5) Missing space before opening brace. (space-before-blocks)
(#23) Missing semicolon. (babel/semi)
mod/iconactivatecontent/amd/src/switchtemplate.js
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Extra space after key 'twitter.com'. (key-spacing)
(#15) Extra space after key 'maps.google.com'. (key-spacing)
(#16) Extra space after key 'goo.gl/maps'. (key-spacing)
(#17) Extra space after key 'www.google.com/maps'. (key-spacing)
(#21) A space is required after ','. (comma-spacing)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#36) Missing semicolon. (babel/semi)
(#39) Missing semicolon. (babel/semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(24 errors, 1 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
(#193) There is no description in phpdocs for function iconactivatecontent_get_uploaded_icon
(#136) 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]