Prechecker results: error


Overview

(1 errors, 0 warnings)

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

The patchset contains changes to upgrade.txt or UPGRADING.md files.

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

(151 errors, 61 warnings)

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

theme/moove/classes/core_h5p_renderer.php
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
theme/moove/classes/mod_hvp_renderer.php
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
theme/moove/classes/output/boostnavbar.php
(#33) Opening brace must not be followed by a blank line
(#97) There must be a comment when fall-through is intentional in a non-empty case body
(#103) There must be a comment when fall-through is intentional in a non-empty case body
(#260) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#261) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#281) Long list syntax is not allowed
(#289) Long list syntax is not allowed
(#291) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#292) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#307) Expected 1 space after FUNCTION keyword; 0 found
(#308) Long list syntax is not allowed
theme/moove/classes/output/core/admin_renderer.php
(#67) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#67) Multi-line function declarations must define one parameter per line
(#67) Multi-line function declarations must define one parameter per line
(#68) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#68) Multi-line function declarations must define one parameter per line
(#68) Multi-line function declarations must define one parameter per line
(#68) Multi-line function declarations must define one parameter per line
(#68) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#70) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#70) Multi-line function declarations must define one parameter per line
(#70) Multi-line function declarations must define one parameter per line
(#71) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#71) Multi-line function declarations must define one parameter per line
(#71) Multi-line function declarations must define one parameter per line
(#72) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#72) Multi-line function declarations must define one parameter per line
(#73) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#74) Multi-line function declaration not indented correctly; expected 8 spaces but found 45
(#74) The closing parenthesis of a multi-line function declaration must be on a new line
theme/moove/classes/output/core/course_renderer.php
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
theme/moove/classes/output/core_course/activity_navigation.php
(#37) Opening brace must not be followed by a blank line
theme/moove/classes/output/core_renderer.php
(#119) Expected at least 1 space before "."; 0 found
(#119) Expected at least 1 space before "."; 0 found
(#119) Expected at least 1 space after "."; 0 found
(#119) Expected at least 1 space before "."; 0 found
(#119) Expected at least 1 space after "."; 0 found
(#119) Expected at least 1 space before "."; 0 found
(#119) Expected at least 1 space after "."; 0 found
(#191) Opening parenthesis of a multi-line function call must be the last content on the line
(#191) Only one argument is allowed per line in a multi-line function call
(#192) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#192) Closing parenthesis of a multi-line function call must be on a line by itself
(#231) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#233) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#292) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#293) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#436) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#436) Multi-line function declarations must define one parameter per line
(#436) Multi-line function declarations must define one parameter per line
(#436) Multi-line function declarations must define one parameter per line
(#437) Multi-line function declaration not indented correctly; expected 8 spaces but found 37
(#437) The closing parenthesis of a multi-line function declaration must be on a new line
(#441) There must be no space before the colon in a CASE statement
(#445) Expected at least 1 space before "."; 0 found
(#445) Expected at least 1 space after "."; 0 found
(#445) Expected at least 1 space before "."; 0 found
(#445) Expected at least 1 space after "."; 0 found
(#445) Expected at least 1 space before "."; 0 found
(#445) Expected at least 1 space after "."; 0 found
(#450) There must be no space before the colon in a CASE statement
(#454) There must be no space before the colon in a CASE statement
(#462) There must be no space before the colon in a CASE statement
(#473) Expected at least 1 space before "."; 0 found
(#473) Expected at least 1 space after "."; 0 found
(#473) Expected at least 1 space before "."; 0 found
(#473) Expected at least 1 space after "."; 0 found
theme/moove/classes/privacy/provider.php
(#43) Opening brace must not be followed by a blank line
theme/moove/classes/util/course.php
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#128) Opening parenthesis of a multi-line function call must be the last content on the line
theme/moove/classes/util/extras.php
(#143) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#144) Closing parenthesis of a multi-line function call must be on a line by itself
(#144) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#145) Opening parenthesis of a multi-line function call must be the last content on the line
(#150) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#151) The closing parenthesis of a multi-line control structure must be on the line after the last expression
theme/moove/classes/util/settings.php
(#102) There should be a comma after the last array item in a multi-line array.
theme/moove/config.php
(#34) Expected 1 space after FUNCTION keyword; 0 found
theme/moove/lang/en/theme_moove.php
(#28) The string key "configtitle" is not in the correct order, it should be before "pluginname"
(#29) The string key "choosereadme" is not in the correct order, it should be before "configtitle"
(#33) The string key "prev_section" is not in the correct order, it should be before "region-side-pre"
(#34) The string key "next_section" is not in the correct order, it should be before "prev_section"
(#37) The string key "needsupport" is not in the correct order, it should be before "themedevelopedbyconectimepartner"
(#39) The string key "access" is not in the correct order, it should be before "pleasuretohelp"
(#41) The string key "next_activity" is not in the correct order, it should be before "prev_activity"
(#42) The string key "donthaveanaccount" is not in the correct order, it should be before "next_activity"
(#45) Unexpected comment found. Auto-fixing will not work after this comment
(#46) The string key "generalsettings" is not in the correct order, it should be before "signinwith"
(#49) The string key "favicon" is not in the correct order, it should be before "logodesc"
(#55) The string key "loginbgimg" is not in the correct order, it should be before "presetfiles_desc"
(#57) The string key "brandcolor" is not in the correct order, it should be before "loginbgimg_desc"
(#61) The string key "navbarbg" is not in the correct order, it should be before "secondarymenucolor_desc"
(#65) The string key "fontsite" is not in the correct order, it should be before "navbarbghover_desc"
(#67) The string key "enablecourseindex" is not in the correct order, it should be before "fontsite_desc"
(#69) The string key "enableclassicbreadcrumb" is not in the correct order, it should be before "enablecourseindex_desc"
(#72) Unexpected comment found. Auto-fixing will not work after this comment
(#73) The string key "advancedsettings" is not in the correct order, it should be before "enableclassicbreadcrumb_desc"
(#76) The string key "rawscss" is not in the correct order, it should be before "rawscsspre_desc"
(#78) The string key "googleanalytics" is not in the correct order, it should be before "rawscss_desc"
(#83) Unexpected comment found. Auto-fixing will not work after this comment
(#84) The string key "frontpagesettings" is not in the correct order, it should be before "hvpcss_desc"
(#85) The string key "displaymarketingboxes" is not in the correct order, it should be before "frontpagesettings"
(#88) The string key "marketingsectioncontent" is not in the correct order, it should be before "marketingsectionheading"
(#89) The string key "marketingicon" is not in the correct order, it should be before "marketingsectioncontent"
(#90) The string key "marketingheading" is not in the correct order, it should be before "marketingicon"
(#91) The string key "marketingcontent" is not in the correct order, it should be before "marketingheading"
(#93) The string key "disableteacherspic" is not in the correct order, it should be before "marketingcontent"
(#98) The string key "slidercount" is not in the correct order, it should be before "sliderfrontpageloggedindesc"
(#104) The string key "slidercaption" is not in the correct order, it should be before "slidertitledesc"
(#107) The string key "numbersfrontpage" is not in the correct order, it should be before "slidercaptiondesc"
(#109) The string key "numbersfrontpagecontent" is not in the correct order, it should be before "numbersfrontpagedesc"
(#111) The string key "numbersfrontpagecontentdefault" is not in the correct order, it should be before "numbersfrontpagecontentdesc"
(#116) The string key "numberscourses" is not in the correct order, it should be before "numbersusers"
(#118) The string key "faq" is not in the correct order, it should be before "numberscourses"
(#122) The string key "faqanswer" is not in the correct order, it should be before "faqquestion"
(#124) Unexpected comment found. Auto-fixing will not work after this comment
(#128) The string key "mobile" is not in the correct order, it should be before "websitedesc"
(#130) The string key "mail" is not in the correct order, it should be before "mobiledesc"
(#134) The string key "facebook" is not in the correct order, it should be before "tiktokdesc"
(#138) The string key "linkedin" is not in the correct order, it should be before "twitterdesc"
(#142) The string key "instagram" is not in the correct order, it should be before "youtubedesc"
(#148) The string key "telegram" is not in the correct order, it should be before "whatsappdesc"
(#150) The string key "contactus" is not in the correct order, it should be before "telegramdesc"
(#153) Unexpected comment found. Auto-fixing will not work after this comment
(#154) The string key "aboutme" is not in the correct order, it should be before "followus"
(#156) The string key "addcontact" is not in the correct order, it should be before "personalinformation"
(#159) Unexpected comment found. Auto-fixing will not work after this comment
(#162) The string key "themesettings:defaultfont" is not in the correct order, it should be before "themesettings:fonttype"
(#165) The string key "themesettingg:successfullysaved" is not in the correct order, it should be before "themesettings:enableaccessibilitytoolbar"
(#167) Unexpected comment found. Auto-fixing will not work after this comment
(#168) The string key "accessibility:fontsize" is not in the correct order, it should be before "themesettingg:successfullysaved"
(#169) The string key "accessibility:decreasefont" is not in the correct order, it should be before "accessibility:fontsize"
(#171) The string key "accessibility:increasefont" is not in the correct order, it should be before "accessibility:resetfont"
(#173) The string key "accessibility:resetsitecolor" is not in the correct order, it should be before "accessibility:sitecolor"
(#178) Unexpected comment found. Auto-fixing will not work after this comment
(#182) The string key "privacy:metadata:preference:thememoovesettings_enableaccessibilitytoolbar" is not in the correct order, it should be before "privacy:metadata:preference:thememoovesettings_fonttype"
(#184) The string key "privacy:accessibilitystyles_fontsizeclass" is not in the correct order, it should be before "privacy:metadata:preference:thememoovesettings_enableaccessibilitytoolbar"
(#187) The string key "privacy:thememoovesettings_enableaccessibilitytoolbar" is not in the correct order, it should be before "privacy:thememoovesettings_fonttype"
(#190) The string key "redirectbtntext" is not in the correct order, it should be before "redirectmessage"
theme/moove/lib.php
(#114) Expected 1 space after FUNCTION keyword; 0 found
(#116) Expected at least 1 space after "."; 0 found
(#157) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#158) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#205) Expected at least 1 space before "."; 0 found
(#205) Expected at least 1 space after "."; 0 found
(#232) Expected at least 1 space before "."; 0 found
(#232) Expected at least 1 space after "."; 0 found
(#232) Expected at least 1 space before "."; 0 found
(#232) Expected at least 1 space after "."; 0 found
(#233) Expected at least 1 space before "."; 0 found
(#233) Expected at least 1 space after "."; 0 found
(#233) Expected at least 1 space before "."; 0 found
(#233) Expected at least 1 space after "."; 0 found
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#235) Expected at least 1 space before "."; 0 found
(#235) Expected at least 1 space after "."; 0 found
(#235) Expected at least 1 space before "."; 0 found
(#235) Expected at least 1 space after "."; 0 found
(#237) Expected at least 1 space before "."; 0 found
(#237) Expected at least 1 space after "."; 0 found
(#241) Expected at least 1 space before "."; 0 found
(#241) Expected at least 1 space after "."; 0 found
theme/moove/settings.php
(#30) Blank line found at start of control structure
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#168) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#169) Only one argument is allowed per line in a multi-line function call
(#169) Only one argument is allowed per line in a multi-line function call
(#169) Only one argument is allowed per line in a multi-line function call
(#169) Closing parenthesis of a multi-line function call must be on a line by itself
(#174) Opening parenthesis of a multi-line function call must be the last content on the line
(#174) Only one argument is allowed per line in a multi-line function call
(#175) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#175) Only one argument is allowed per line in a multi-line function call
(#175) Only one argument is allowed per line in a multi-line function call
(#175) Closing parenthesis of a multi-line function call must be on a line by itself
(#192) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#192) Closing parenthesis of a multi-line function call must be on a line by itself

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

(3 errors, 0 warnings)

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

theme/moove/style/moodle.css
(#28818) "declaration-no-important" has already been disabled (CssSyntaxError)
theme/moove/scss/moove/_accessibilitystyles.scss
(#36) Unknown word (CssSyntaxError)
theme/moove/scss/moove/_general.scss
(#108) Unknown word (CssSyntaxError)

PHPDocs style problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 12 warnings)

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

theme/moove/templates/block_myoverview/view-cards.mustache
(#1) HTML Validation error, line 67: No space between attributes. ( <i class="icon fa fa-ellipsis-v fa-fw m-0" title="((+aria%3Acourseactions%2C+block_myoverview+)) Course 3 for "Statist)
(#1) HTML Validation error, line 67: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (e 3 for "Statistical and Computational Tools" " ari)
(#1) HTML Validation error, line 67: Quote “"” in attribute name. Probable cause: Matching quote missing somewhere earlier. (nal Tools" " aria-)
(#1) HTML Validation info, line 67: Attribute “tools"” is not serializable as XML 1.0. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation info, line 67: Attribute “"” is not serializable as XML 1.0. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation error, line 67: Attribute “statistical” not allowed on element “i” at this point. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation error, line 67: Attribute “and” not allowed on element “i” at this point. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation error, line 67: Attribute “computational” not allowed on element “i” at this point. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation error, line 67: Attribute “tools"” not allowed on element “i” at this point. (l Tools" " aria-hidden="true"></i> )
(#1) HTML Validation error, line 67: Attribute “"” not allowed on element “i” at this point. (l Tools" " aria-hidden="true"></i> )
theme/moove/templates/core/loginform.mustache
(#1) HTML Validation info, line 47: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="username" value="guest" /> )
(#1) HTML Validation info, line 48: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input type="hidden" name="password" value="guest" /> )
theme/moove/templates/core_course/activity_navigation.mustache
(#1) HTML Validation error, line 19: Bad value “” for attribute “id” on element “form”: An ID must not be the empty string. (s=""> <form method="post" action="#" class="d-flex flex-wrap align-items-center" id=""> )
theme/moove/templates/drawers.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/moove/templates/frontpage.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/moove/templates/moove/conectime_services_and_support_content_banner.mustache
(#1) Example context missing (@template section not found.)
theme/moove/templates/moove/coursecard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: An element with “role=listitem” must be contained in, or owned by, an element with “role=list” or “role=group”. (ad><body><div class="card dashboard-card dimmed" role="listitem" data-region="course-content" data-course-id=""> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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