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

(25 errors, 79 warnings)

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

theme/squared/classes/block_navigation_renderer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#54) Line exceeds 132 characters; contains 137 characters
(#56) Line exceeds 132 characters; contains 166 characters
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Line exceeds 132 characters; contains 173 characters
theme/squared/classes/core_course_renderer.php
(#34) Member variable "coursecat_toolbox" must not contain underscores.
(#48) Line exceeds 132 characters; contains 142 characters
(#117) Line exceeds 132 characters; contains 145 characters
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Line exceeds 132 characters; contains 133 characters
(#246) Line exceeds 132 characters; contains 136 characters
(#264) Line exceeds 132 characters; contains 147 characters
(#270) Line exceeds 132 characters; contains 156 characters
(#290) Line exceeds 132 characters; contains 144 characters
(#292) Line exceeds 132 characters; contains 149 characters
(#302) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#341) Line exceeds 132 characters; contains 136 characters
(#344) This comment is 84% valid code; is this commented out code?
(#347) This comment is 84% valid code; is this commented out code?
(#350) This comment is 84% valid code; is this commented out code?
(#353) This comment is 84% valid code; is this commented out code?
(#438) Line exceeds 132 characters; contains 134 characters
(#500) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Inline comments must end in full-stops, exclamation marks, or question marks
(#553) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) Line exceeds 132 characters; contains 133 characters
(#607) Inline comments must end in full-stops, exclamation marks, or question marks
(#612) Inline comments must start with a capital letter, digit or 3-dots sequence
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#644) Line exceeds 132 characters; contains 135 characters
(#674) Inline comments must start with a capital letter, digit or 3-dots sequence
(#674) Inline comments must end in full-stops, exclamation marks, or question marks
(#713) Line exceeds 132 characters; contains 136 characters
(#730) Inline comments must start with a capital letter, digit or 3-dots sequence
(#730) Inline comments must end in full-stops, exclamation marks, or question marks
(#746) Line exceeds 132 characters; contains 144 characters
(#789) Line exceeds 132 characters; contains 143 characters
(#889) Line exceeds maximum limit of 180 characters; contains 747 characters
(#903) Line exceeds 132 characters; contains 173 characters
(#910) Line exceeds 132 characters; contains 138 characters
(#911) Inline comments must start with a capital letter, digit or 3-dots sequence
(#911) Inline comments must end in full-stops, exclamation marks, or question marks
(#919) Line exceeds 132 characters; contains 148 characters
(#930) Line exceeds maximum limit of 180 characters; contains 185 characters
(#941) Variable "pix_icon" must not contain underscores.
(#942) Variable "pix_icon" must not contain underscores.
(#948) Inline comments must start with a capital letter, digit or 3-dots sequence
(#948) Inline comments must end in full-stops, exclamation marks, or question marks
(#969) Line exceeds 132 characters; contains 140 characters
(#1005) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1062) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1062) Inline comments must end in full-stops, exclamation marks, or question marks
(#1086) Expected 1 space before "==="; 0 found
(#1086) Expected 1 space after "==="; 0 found
(#1151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1151) Inline comments must end in full-stops, exclamation marks, or question marks
(#1153) Inline comments must end in full-stops, exclamation marks, or question marks
(#1160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1160) Inline comments must end in full-stops, exclamation marks, or question marks
(#1161) Usage of ELSEIF not allowed; use ELSE IF instead
(#1162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1162) Inline comments must end in full-stops, exclamation marks, or question marks
(#1167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1167) Inline comments must end in full-stops, exclamation marks, or question marks
theme/squared/classes/coursecat_toolbox.php
(#75) Line exceeds 132 characters; contains 145 characters
(#79) Line exceeds 132 characters; contains 163 characters
(#148) Whitespace found at end of line
(#169) Whitespace found at end of line
(#214) Whitespace found at end of line
(#230) Expected 1 space after "-"; 0 found
(#238) Whitespace found at end of line
(#251) Line exceeds 132 characters; contains 133 characters
theme/squared/classes/format_topcoll_renderer.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/squared/classes/output/core_renderer.php
(#75) Line exceeds 132 characters; contains 159 characters
(#169) Line exceeds 132 characters; contains 140 characters
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#373) Line exceeds 132 characters; contains 153 characters
(#407) Line exceeds 132 characters; contains 147 characters
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#499) Expected 1 space before "=>"; 0 found
(#499) Expected 1 space after "=>"; 0 found
(#553) Line exceeds maximum limit of 180 characters; contains 181 characters
(#554) Line exceeds maximum limit of 180 characters; contains 192 characters
(#603) Line exceeds 132 characters; contains 133 characters
(#619) Inline comments must end in full-stops, exclamation marks, or question marks
(#703) This comment is 54% valid code; is this commented out code?
(#773) Line exceeds 132 characters; contains 158 characters
theme/squared/classes/output/html_renderer.php
(#130) This comment is 56% valid code; is this commented out code?
(#164) Functions must not contain multiple empty lines in a row; found 2 empty lines
theme/squared/classes/toolbox.php
(#72) Line exceeds 132 characters; contains 152 characters
(#190) Whitespace found at end of line
(#195) Whitespace found at end of line
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
theme/squared/config.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/squared/db/caches.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/squared/settings.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
theme/squared/version.php
(#30) This comment is 42% valid code; is this commented out code?
(#31) Line exceeds maximum limit of 180 characters; contains 183 characters
(#33) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(59 errors, 172 warnings)

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

theme/squared/amd/src/bsoptions.js
(#14) Missing semicolon. (semi)
(#19) Missing semicolon. (semi)
theme/squared/amd/src/category_course_search.js
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Unexpected space before function parentheses. (space-before-function-paren)
(#95) Unexpected space before function parentheses. (space-before-function-paren)
(#96) Unexpected 'this'. (no-invalid-this)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#105) Unexpected 'this'. (no-invalid-this)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#118) Unexpected 'this'. (no-invalid-this)
(#135) Unexpected space before function parentheses. (space-before-function-paren)
(#136) Unexpected 'this'. (no-invalid-this)
theme/squared/amd/src/content_control.js
(#44) Unexpected 'this'. (no-invalid-this)
(#45) Unexpected 'this'. (no-invalid-this)
(#47) Unexpected 'this'. (no-invalid-this)
(#48) Unexpected 'this'. (no-invalid-this)
(#49) Unexpected 'this'. (no-invalid-this)
(#53) Unexpected 'this'. (no-invalid-this)
(#54) Unexpected 'this'. (no-invalid-this)
(#55) Unexpected 'this'. (no-invalid-this)
theme/squared/amd/src/custom.js
(#29) Line 29 exceeds the maximum line length of 132. (max-len)
(#29) 'log' is defined but never used. (no-unused-vars)
(#33) Unexpected console statement. (no-console)
(#35) Missing space before opening brace. (space-before-blocks)
(#45) Expected to return a value at the end of function. (consistent-return)
(#45) 'e' is defined but never used. (no-unused-vars)
(#46) There should be no spaces inside this paren. (space-in-parens)
(#46) There should be no spaces inside this paren. (space-in-parens)
(#46) Empty block statement. (no-empty)
(#48) Unexpected 'this'. (no-invalid-this)
(#57) Expected to return a value at the end of function. (consistent-return)
(#57) 'e' is defined but never used. (no-unused-vars)
(#58) There should be no spaces inside this paren. (space-in-parens)
(#58) There should be no spaces inside this paren. (space-in-parens)
(#58) Empty block statement. (no-empty)
(#60) Unexpected 'this'. (no-invalid-this)
(#65) Comments should not begin with a lowercase character (capitalized-comments)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Unexpected 'this'. (no-invalid-this)
(#81) Line 81 exceeds the maximum line length of 132. (max-len)
(#84) Unexpected 'this'. (no-invalid-this)
(#87) Line 87 exceeds the maximum line length of 132. (max-len)
(#88) Unexpected 'this'. (no-invalid-this)
(#90) Unexpected 'this'. (no-invalid-this)
(#95) There should be no space after '{'. (object-curly-spacing)
(#95) There should be no space before '}'. (object-curly-spacing)
(#102) 'e' is defined but never used. (no-unused-vars)
(#103) There should be no spaces inside this paren. (space-in-parens)
(#103) There should be no spaces inside this paren. (space-in-parens)
(#105) 'slids' used outside of binding context. (block-scoped-var)
(#106) 'slids' used outside of binding context. (block-scoped-var)
(#109) 'slids' used outside of binding context. (block-scoped-var)
(#109) 'slids' is already defined. (no-redeclare)
(#110) 'slids' used outside of binding context. (block-scoped-var)
(#115) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Unexpected space before function parentheses. (space-before-function-paren)
(#125) Missing space before opening brace. (space-before-blocks)
(#129) Missing space before opening brace. (space-before-blocks)
(#134) Line 134 exceeds the maximum line length of 132. (max-len)
(#134) Extra space after key 'namespace'. (key-spacing)
(#134) Multiple spaces found before '// {NEW} Strin...'. (no-multi-spaces)
(#135) Line 135 exceeds the maximum line length of 132. (max-len)
(#135) Extra space after key 'selector'. (key-spacing)
(#135) Multiple spaces found before '// {NEW} Selec...'. (no-multi-spaces)
(#136) Extra space after key 'animation'. (key-spacing)
(#136) Multiple spaces found before '// String: Sel...'. (no-multi-spaces)
(#137) Line 137 exceeds the maximum line length of 132. (max-len)
(#137) Extra space after key 'easing'. (key-spacing)
(#137) Multiple spaces found before '// {NEW} Strin...'. (no-multi-spaces)
(#138) Extra space after key 'direction'. (key-spacing)
(#138) Multiple spaces found before '// String: Sel...'. (no-multi-spaces)
(#139) Extra space after key 'reverse'. (key-spacing)
(#139) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#140) Line 140 exceeds the maximum line length of 132. (max-len)
(#140) Extra space after key 'animationLoop'. (key-spacing)
(#140) Multiple spaces found before '// Boolean: Sh...'. (no-multi-spaces)
(#141) Line 141 exceeds the maximum line length of 132. (max-len)
(#141) Extra space after key 'smoothHeight'. (key-spacing)
(#141) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#142) Line 142 exceeds the maximum line length of 132. (max-len)
(#142) Extra space after key 'startAt'. (key-spacing)
(#142) Multiple spaces found before '// Integer: Th...'. (no-multi-spaces)
(#143) Extra space after key 'slideshow'. (key-spacing)
(#143) Multiple spaces found before '// Boolean: An...'. (no-multi-spaces)
(#144) Extra space after key 'slideshowSpeed'. (key-spacing)
(#144) Multiple spaces found before '// Integer: Se...'. (no-multi-spaces)
(#145) Extra space after key 'animationSpeed'. (key-spacing)
(#145) Multiple spaces found before '// Integer: Se...'. (no-multi-spaces)
(#146) Extra space after key 'initDelay'. (key-spacing)
(#146) Multiple spaces found before '// {NEW} Integ...'. (no-multi-spaces)
(#147) Extra space after key 'randomize'. (key-spacing)
(#147) Multiple spaces found before '// Boolean: Ra...'. (no-multi-spaces)
(#150) Line 150 exceeds the maximum line length of 132. (max-len)
(#150) Extra space after key 'pauseOnAction'. (key-spacing)
(#150) Multiple spaces found before '// Boolean: Pa...'. (no-multi-spaces)
(#151) Line 151 exceeds the maximum line length of 132. (max-len)
(#151) Extra space after key 'pauseOnHover'. (key-spacing)
(#151) Multiple spaces found before '// Boolean: Pa...'. (no-multi-spaces)
(#152) Extra space after key 'useCSS'. (key-spacing)
(#152) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#153) Line 153 exceeds the maximum line length of 132. (max-len)
(#153) Extra space after key 'touch'. (key-spacing)
(#153) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#154) Line 154 exceeds the maximum line length of 132. (max-len)
(#154) Extra space after key 'video'. (key-spacing)
(#154) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#157) Line 157 exceeds the maximum line length of 132. (max-len)
(#157) Extra space after key 'controlNav'. (key-spacing)
(#157) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#158) Extra space after key 'directionNav'. (key-spacing)
(#158) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#159) Extra space after key 'prevText'. (key-spacing)
(#159) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#160) Extra space after key 'nextText'. (key-spacing)
(#160) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#163) Extra space after key 'keyboard'. (key-spacing)
(#163) Multiple spaces found before '// Boolean: Al...'. (no-multi-spaces)
(#164) Line 164 exceeds the maximum line length of 132. (max-len)
(#164) Extra space after key 'multipleKeyboard'. (key-spacing)
(#164) Multiple spaces found before '// {NEW} Boole...'. (no-multi-spaces)
(#165) Line 165 exceeds the maximum line length of 132. (max-len)
(#165) Extra space after key 'mousewheel'. (key-spacing)
(#165) Multiple spaces found before '// {UPDATED} B...'. (no-multi-spaces)
(#166) Extra space after key 'pausePlay'. (key-spacing)
(#166) Multiple spaces found before '// Boolean: Cr...'. (no-multi-spaces)
(#167) Extra space after key 'pauseText'. (key-spacing)
(#167) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#168) Extra space after key 'playText'. (key-spacing)
(#168) Multiple spaces found before '// String: Set...'. (no-multi-spaces)
(#171) Line 171 exceeds the maximum line length of 132. (max-len)
(#171) Extra space after key 'controlsContainer'. (key-spacing)
(#171) Multiple spaces found before '// {UPDATED} S...'. (no-multi-spaces)
(#172) Line 172 exceeds the maximum line length of 132. (max-len)
(#172) Extra space after key 'manualControls'. (key-spacing)
(#172) Multiple spaces found before '// Selector: D...'. (no-multi-spaces)
(#173) Line 173 exceeds the maximum line length of 132. (max-len)
(#173) Extra space after key 'sync'. (key-spacing)
(#173) Multiple spaces found before '// {NEW} Selec...'. (no-multi-spaces)
(#174) Line 174 exceeds the maximum line length of 132. (max-len)
(#174) Extra space after key 'asNavFor'. (key-spacing)
(#174) Multiple spaces found before '// {NEW} Selec...'. (no-multi-spaces)
theme/squared/amd/src/frontpage_courses.js
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#74) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Unexpected space before function parentheses. (space-before-function-paren)
theme/squared/amd/src/infieldlabels.js
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#15) Multiple spaces found before '='. (no-multi-spaces)
(#18) Multiple spaces found before '='. (no-multi-spaces)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#30) There should be no spaces inside this paren. (space-in-parens)
(#30) There should be no spaces inside this paren. (space-in-parens)
(#46) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#60) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#66) There should be no spaces inside this paren. (space-in-parens)
(#66) There should be no spaces inside this paren. (space-in-parens)
(#67) There should be no spaces inside this paren. (space-in-parens)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#71) There should be no spaces inside this paren. (space-in-parens)
(#71) There should be no spaces inside this paren. (space-in-parens)
(#73) There should be no spaces inside this paren. (space-in-parens)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#88) There should be no space after '{'. (object-curly-spacing)
(#88) There should be no space before '}'. (object-curly-spacing)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#114) Unexpected space before function parentheses. (space-before-function-paren)
(#120) Unexpected space before function parentheses. (space-before-function-paren)
(#145) There should be no space after '['. (array-bracket-spacing)
(#145) There should be no space before ']'. (array-bracket-spacing)
(#149) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Identifier 'allowed_types' is not in camel case. (camelcase)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Identifier 'for_attr' is not in camel case. (camelcase)
(#156) Unexpected 'this'. (no-invalid-this)
(#156) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#156) Identifier 'restrict_type' is not in camel case. (camelcase)
(#157) Identifier 'for_attr' is not in camel case. (camelcase)
(#162) There should be no spaces inside this paren. (space-in-parens)
(#162) There should be no spaces inside this paren. (space-in-parens)
(#163) There should be no spaces inside this paren. (space-in-parens)
(#163) There should be no spaces inside this paren. (space-in-parens)
(#168) Identifier 'restrict_type' is not in camel case. (camelcase)
(#168) There should be no spaces inside this paren. (space-in-parens)
(#168) There should be no spaces inside this paren. (space-in-parens)
(#170) There should be no spaces inside this paren. (space-in-parens)
(#170) Identifier 'restrict_type' is not in camel case. (camelcase)
(#170) There should be no spaces inside this paren. (space-in-parens)
(#175) Unexpected 'this'. (no-invalid-this)
theme/squared/amd/src/inspector_scourer.js
(#36) 'jqui' is defined but never used. (no-unused-vars)
(#54) Missing semicolon. (semi)
theme/squared/amd/src/konami.js
(#8) Unexpected empty function. (no-empty-function)
(#24) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
theme/squared/amd/src/navbar_advanced_search.js
(#97) 'jqui' is defined but never used. (no-unused-vars)
(#119) Missing semicolon. (semi)
theme/squared/amd/src/search.js
(#35) Missing space before opening brace. (space-before-blocks)
(#40) Missing space before opening brace. (space-before-blocks)
(#46) Missing space before opening brace. (space-before-blocks)
(#48) Unexpected 'this'. (no-invalid-this)
theme/squared/Gruntfile.js
(#59) 'module' is not defined. (no-undef)
(#65) 'THEMEDIR' is assigned a value but never used. (no-unused-vars)
(#65) Multiple spaces found before '='. (no-multi-spaces)
(#68) '__dirname' is not defined. (no-undef)
(#71) 'process' is not defined. (no-undef)
(#80) 'process' is not defined. (no-undef)
(#90) 'stderror' is defined but never used. (no-unused-vars)
(#91) Comments should not begin with a lowercase character (capitalized-comments)
(#116) Identifier 'dynamic_mappings' is not in camel case. (camelcase)

CSS problems

(231 errors, 33 warnings)

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

theme/squared/scss/_autocomplete.scss
(#1) Expected line length to be no more than 132 characters (max-line-length)
theme/squared/scss/_blocks.scss
(#9) Invalid value for `box-shadow` (csstree/validator)
(#547) Invalid value for `justify-content` (csstree/validator)
(#112) Expected newline before "}" (block-closing-brace-newline-before)
(#16) Expected "#FFF" to be "#fff" (color-hex-case)
(#77) Expected "#FFF" to be "#fff" (color-hex-case)
(#128) Expected "#FFF" to be "#fff" (color-hex-case)
(#265) Expected "#FFF" to be "#fff" (color-hex-case)
(#278) Unexpected duplicate "height" (declaration-block-no-duplicate-properties)
(#279) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#32) Unexpected !important (declaration-no-important)
(#35) Unexpected !important (declaration-no-important)
(#47) Unexpected !important (declaration-no-important)
(#145) Unexpected !important (declaration-no-important)
(#162) Expected single space after "," in a single-line function (function-comma-space-after)
(#162) Expected single space after "," in a single-line function (function-comma-space-after)
(#162) Expected single space after "," in a single-line function (function-comma-space-after)
(#54) Unexpected whitespace before "," (function-comma-space-before)
(#235) Expected indentation of 16 spaces (indentation)
(#236) Expected indentation of 16 spaces (indentation)
(#237) Expected indentation of 16 spaces (indentation)
(#240) Expected indentation of 16 spaces (indentation)
(#241) Expected indentation of 16 spaces (indentation)
(#242) Expected indentation of 16 spaces (indentation)
(#275) Unexpected unit (length-zero-no-unit)
(#63) Unexpected whitespace at end of line (no-eol-whitespace)
(#99) Unexpected whitespace at end of line (no-eol-whitespace)
(#111) Unexpected whitespace at end of line (no-eol-whitespace)
(#155) Unexpected whitespace at end of line (no-eol-whitespace)
(#301) Expected single space after ">" (selector-combinator-space-after)
(#301) Expected single space after ">" (selector-combinator-space-after)
(#301) Expected single space before ">" (selector-combinator-space-before)
(#301) Expected single space before ">" (selector-combinator-space-before)
theme/squared/scss/_breadcrumb.scss
(#6) Expected "#DDD" to be "#ddd" (color-hex-case)
theme/squared/scss/_card.scss
(#23) Expected indentation of 12 spaces (indentation)
(#24) Expected indentation of 12 spaces (indentation)
(#25) Expected indentation of 12 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 12 spaces (indentation)
(#23) Expected line length to be no more than 132 characters (max-line-length)
theme/squared/scss/_course.scss
(#238) Expected line length to be no more than 132 characters (max-line-length)
theme/squared/scss/_footer.scss
(#11) Unexpected duplicate "margin" (declaration-block-no-duplicate-properties)
(#11) Unexpected unit (length-zero-no-unit)
theme/squared/scss/_forms.scss
(#37) Expected single space after at-rule name "@media" (at-rule-name-space-after)
(#43) Expected single space after at-rule name "@media" (at-rule-name-space-after)
(#46) Expected indentation of 4 spaces (indentation)
(#6) Expected newline after "," (selector-list-comma-newline-after)
(#16) Expected newline after "," (selector-list-comma-newline-after)
theme/squared/scss/_forum.scss
(#32) Expected "#EFEFEF" to be "#efefef" (color-hex-case)
(#65) Expected "#FFF" to be "#fff" (color-hex-case)
(#11) Expected newline after "," (selector-list-comma-newline-after)
(#57) Expected newline after "," (selector-list-comma-newline-after)
theme/squared/scss/_grid.scss
(#5) Expected single space after at-rule name "@media" (at-rule-name-space-after)
theme/squared/scss/_header.scss
(#44) Expected single space after at-rule name "@media" (at-rule-name-space-after)
(#50) Expected single space after at-rule name "@media" (at-rule-name-space-after)
(#84) Expected single space before "!" (declaration-bang-space-before)
(#90) Expected single space before "!" (declaration-bang-space-before)
(#96) Expected single space before "!" (declaration-bang-space-before)
(#84) Unexpected !important (declaration-no-important)
(#90) Unexpected !important (declaration-no-important)
(#96) Unexpected !important (declaration-no-important)
(#58) Expected indentation of 12 spaces (indentation)
theme/squared/scss/_mixins.scss
(#4) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#19) Expected single space before "{" (block-opening-brace-space-before)
(#25) Expected single space before "{" (block-opening-brace-space-before)
(#28) Expected "#FFF" to be "#fff" (color-hex-case)
(#42) Expected "#FFF" to be "#fff" (color-hex-case)
(#10) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
theme/squared/scss/_navbar.scss
(#73) Expected empty line before at-rule (at-rule-empty-line-before)
(#64) Unexpected !important (declaration-no-important)
(#3) Expected indentation of 8 spaces (indentation)
theme/squared/scss/_siteclasses.scss
(#261) Expected "#FFF" to be "#fff" (color-hex-case)
(#257) Expected "#bbbbbb" to be "#bbb" (color-hex-length)
(#9) Unexpected !important (declaration-no-important)
(#12) Unexpected !important (declaration-no-important)
(#15) Unexpected !important (declaration-no-important)
(#18) Unexpected !important (declaration-no-important)
(#21) Unexpected !important (declaration-no-important)
(#24) Unexpected !important (declaration-no-important)
(#27) Unexpected !important (declaration-no-important)
(#30) Unexpected !important (declaration-no-important)
(#33) Unexpected !important (declaration-no-important)
(#36) Unexpected !important (declaration-no-important)
(#39) Unexpected !important (declaration-no-important)
(#42) Unexpected !important (declaration-no-important)
(#45) Unexpected !important (declaration-no-important)
(#48) Unexpected !important (declaration-no-important)
(#51) Unexpected !important (declaration-no-important)
(#54) Unexpected !important (declaration-no-important)
(#57) Unexpected !important (declaration-no-important)
(#60) Unexpected !important (declaration-no-important)
(#63) Unexpected !important (declaration-no-important)
(#66) Unexpected !important (declaration-no-important)
(#69) Unexpected !important (declaration-no-important)
(#72) Unexpected !important (declaration-no-important)
(#75) Unexpected !important (declaration-no-important)
(#78) Unexpected !important (declaration-no-important)
(#81) Unexpected !important (declaration-no-important)
(#84) Unexpected !important (declaration-no-important)
(#87) Unexpected !important (declaration-no-important)
(#90) Unexpected !important (declaration-no-important)
(#93) Unexpected !important (declaration-no-important)
(#96) Unexpected !important (declaration-no-important)
(#99) Unexpected !important (declaration-no-important)
(#102) Unexpected !important (declaration-no-important)
(#105) Unexpected !important (declaration-no-important)
(#108) Unexpected !important (declaration-no-important)
(#111) Unexpected !important (declaration-no-important)
(#114) Unexpected !important (declaration-no-important)
(#121) Unexpected !important (declaration-no-important)
(#124) Unexpected !important (declaration-no-important)
(#127) Unexpected !important (declaration-no-important)
(#130) Unexpected !important (declaration-no-important)
(#133) Unexpected !important (declaration-no-important)
(#136) Unexpected !important (declaration-no-important)
(#139) Unexpected !important (declaration-no-important)
(#142) Unexpected !important (declaration-no-important)
(#145) Unexpected !important (declaration-no-important)
(#148) Unexpected !important (declaration-no-important)
(#151) Unexpected !important (declaration-no-important)
(#154) Unexpected !important (declaration-no-important)
(#157) Unexpected !important (declaration-no-important)
(#160) Unexpected !important (declaration-no-important)
(#163) Unexpected !important (declaration-no-important)
(#166) Unexpected !important (declaration-no-important)
(#169) Unexpected !important (declaration-no-important)
(#172) Unexpected !important (declaration-no-important)
(#175) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)
(#181) Unexpected !important (declaration-no-important)
(#184) Unexpected !important (declaration-no-important)
(#187) Unexpected !important (declaration-no-important)
(#190) Unexpected !important (declaration-no-important)
(#193) Unexpected !important (declaration-no-important)
(#196) Unexpected !important (declaration-no-important)
(#199) Unexpected !important (declaration-no-important)
(#202) Unexpected !important (declaration-no-important)
(#205) Unexpected !important (declaration-no-important)
(#208) Unexpected !important (declaration-no-important)
(#211) Unexpected !important (declaration-no-important)
(#214) Unexpected !important (declaration-no-important)
(#217) Unexpected !important (declaration-no-important)
(#220) Unexpected !important (declaration-no-important)
(#223) Unexpected !important (declaration-no-important)
(#229) Unexpected !important (declaration-no-important)
(#232) Unexpected !important (declaration-no-important)
(#235) Unexpected !important (declaration-no-important)
(#238) Unexpected !important (declaration-no-important)
(#244) Unexpected !important (declaration-no-important)
(#247) Unexpected !important (declaration-no-important)
(#250) Unexpected !important (declaration-no-important)
(#253) Unexpected !important (declaration-no-important)
(#9) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#142) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#154) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#169) Expected indentation of 4 spaces (indentation)
(#172) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 4 spaces (indentation)
(#190) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#223) Expected indentation of 4 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#232) Expected indentation of 4 spaces (indentation)
(#235) Expected indentation of 4 spaces (indentation)
(#238) Expected indentation of 4 spaces (indentation)
(#244) Expected indentation of 4 spaces (indentation)
(#247) Expected indentation of 4 spaces (indentation)
(#250) Expected indentation of 4 spaces (indentation)
(#253) Expected indentation of 4 spaces (indentation)
(#9) Unexpected unit (length-zero-no-unit)
(#12) Unexpected unit (length-zero-no-unit)
(#15) Unexpected unit (length-zero-no-unit)
(#18) Unexpected unit (length-zero-no-unit)
(#21) Unexpected unit (length-zero-no-unit)
(#121) Unexpected unit (length-zero-no-unit)
(#124) Unexpected unit (length-zero-no-unit)
(#127) Unexpected unit (length-zero-no-unit)
(#130) Unexpected unit (length-zero-no-unit)
(#133) Unexpected unit (length-zero-no-unit)
(#257) Unexpected unit (length-zero-no-unit)
(#257) Unexpected unit (length-zero-no-unit)
(#1) Unexpected whitespace at end of line (no-eol-whitespace)
(#2) Unexpected whitespace at end of line (no-eol-whitespace)
theme/squared/scss/_typography.scss
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#15) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#19) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#23) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#24) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Unexpected whitespace at end of line (no-eol-whitespace)
(#17) Expected newline after "," (selector-list-comma-newline-after)
theme/squared/scss/squared_preset.scss
(#22) Expected "#DCDDDD" to be "#dcdddd" (color-hex-case)
(#72) Expected "#62BFE5" to be "#62bfe5" (color-hex-case)
(#73) Expected "#4BA09B" to be "#4ba09b" (color-hex-case)
(#74) Expected "#DE794E" to be "#de794e" (color-hex-case)
(#75) Expected "#FFC966" to be "#ffc966" (color-hex-case)
theme/squared/scss/squared.scss
(#4) Unexpected empty line before at-rule (at-rule-empty-line-before)
theme/squared/style/custom.css
(#3) Unknown word (CssSyntaxError)

PHPDocs style problems

(82 errors, 0 warnings)

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

theme/squared/classes/block_navigation_renderer.php
(#28) Class theme_squared_block_navigation_renderer is not documented
(#20) Package theme is not valid
theme/squared/classes/block_settings_renderer.php
(#32) Class block_settings_renderer is not documented
(#33) Function block_settings_renderer::navigation_node is not documented
(#20) Package theme is not valid
theme/squared/classes/core_course_renderer.php
(#30) Class theme_squared_core_course_renderer is not documented
(#39) Function theme_squared_core_course_renderer::__construct is not documented
(#32) Variable theme_squared_core_course_renderer::$activitylayout is not documented
(#33) Variable theme_squared_core_course_renderer::$contentcontrolinit is not documented
(#34) Variable theme_squared_core_course_renderer::$coursecat_toolbox is not documented
(#35) Variable theme_squared_core_course_renderer::$currentcategoryid is not documented
(#36) Variable theme_squared_core_course_renderer::$categorysearchsort is not documented
(#37) Variable theme_squared_core_course_renderer::$userisediting is not documented
theme/squared/classes/coursecat_toolbox.php
(#34) Class coursecat_toolbox is not documented
(#38) Function coursecat_toolbox::__construct is not documented
(#48) Function coursecat_toolbox::get_instance is not documented
(#36) Variable coursecat_toolbox::$instance is not documented
(#241) Phpdocs for function coursecat_toolbox::coursecolour has incomplete parameters list
theme/squared/classes/format_topcoll_renderer.php
(#35) Class theme_squared_format_topcoll_renderer is not documented
(#37) Function theme_squared_format_topcoll_renderer::get_row_class is not documented
(#41) Function theme_squared_format_topcoll_renderer::get_column_class is not documented
theme/squared/classes/output/core_renderer.php
(#40) Class core_renderer is not documented
(#749) Function core_renderer::squared_prepare_textlinks is not documented
(#998) Function core_renderer::fontawesome is not documented
(#108) Phpdocs for function core_renderer::heading has incomplete parameters list
(#126) Phpdocs for function core_renderer::courseprogress has incomplete parameters list
(#779) Phpdocs for function core_renderer::squared_textlinks has incomplete parameters list
theme/squared/classes/output/html_renderer.php
(#36) Class html_renderer is not documented
(#41) Function html_renderer::get_instance is not documented
(#48) Function html_renderer::page_header is not documented
(#38) Variable html_renderer::$instance is not documented
(#39) Variable html_renderer::$theme is not documented
(#71) Phpdocs for function html_renderer::image_header has incomplete parameters list
(#123) Phpdocs for function html_renderer::navigation_menu has incomplete parameters list
(#251) Phpdocs for function html_renderer::searchbox has incomplete parameters list
theme/squared/classes/privacy/provider.php
(#33) No one-line description found in phpdocs for class provider
(#33) Class provider does not have @copyright tag
(#33) Class provider does not have @license tag
theme/squared/classes/toolbox.php
(#33) Class toolbox is not documented
(#38) Function toolbox::__construct is not documented
(#41) Function toolbox::get_instance is not documented
(#49) Function toolbox::get_extra_scss is not documented
(#126) Function toolbox::get_main_scss_content is not documented
(#139) Function toolbox::get_pre_scss is not documented
(#157) Function toolbox::get_scss_file is not documented
(#35) Variable toolbox::$instance is not documented
(#36) Variable toolbox::$boostparent is not documented
theme/squared/lang/de/theme_squared.php
(#16) File-level phpdocs block is not found
theme/squared/lang/en/theme_squared.php
(#16) File-level phpdocs block is not found
theme/squared/layout/maintenance.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
theme/squared/lib.php
(#31) Function theme_squared_grid is not documented
theme/squared/simple_theme_settings.class.php
(#34) Class squared_simple_theme_settings is not documented
(#38) Function squared_simple_theme_settings::__construct is not documented
(#43) Function squared_simple_theme_settings::name_for is not documented
(#47) Function squared_simple_theme_settings::title_for is not documented
(#51) Function squared_simple_theme_settings::description_for is not documented
(#55) Function squared_simple_theme_settings::add_checkbox is not documented
(#68) Function squared_simple_theme_settings::add_checkboxes is not documented
(#81) Function squared_simple_theme_settings::add_text is not documented
(#92) Function squared_simple_theme_settings::add_texts is not documented
(#103) Function squared_simple_theme_settings::add_heading is not documented
(#112) Function squared_simple_theme_settings::add_headings is not documented
(#121) Function squared_simple_theme_settings::add_select is not documented
(#133) Function squared_simple_theme_settings::add_selects is not documented
(#145) Function squared_simple_theme_settings::add_textarea is not documented
(#156) Function squared_simple_theme_settings::add_textareas is not documented
(#167) Function squared_simple_theme_settings::add_htmleditor is not documented
(#177) Function squared_simple_theme_settings::add_colourpicker is not documented
(#188) Function squared_simple_theme_settings::add_colourpickers is not documented
(#199) Function squared_simple_theme_settings::add_file is not documented
(#210) Function squared_simple_theme_settings::add_files is not documented
(#221) Function squared_simple_theme_settings::add_numbered_textareas is not documented
(#35) Variable squared_simple_theme_settings::$themename is not documented
(#36) Variable squared_simple_theme_settings::$settingspage is not documented
(#17) No one-line description found in phpdocs for file
(#28) Invalid phpdocs tag @authors used
theme/squared/tests/coursecattoolbox_test.php
(#90) Function theme_squared_coursecattoolbox_testcase::add_more_courses is not documented
(#37) Variable theme_squared_coursecattoolbox_testcase::$testcategory is not documented
(#38) Variable theme_squared_coursecattoolbox_testcase::$toolbox is not documented
(#31) Class theme_squared_coursecattoolbox_testcase does not have @copyright tag
(#31) Class theme_squared_coursecattoolbox_testcase does not have @license 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 "stylelint:scss" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(2 errors, 11 warnings)

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

theme/squared/templates/blocksrows.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/squared/templates/core_message/message_drawer.mustache
(#1) HTML Validation info, line 301: Empty heading. ( <h3 class="h6 hidden" data-region="dialogue-header"></h3>)
(#1) HTML Validation info, line 915: The “textbox” role is unnecessary for element “textarea”. ( <textarea dir="auto" data-region="send-message-txt" class="form-control bg-light" rows="3" data-auto-rows data-min-rows="3" data-max-rows="5" role="textbox" aria-label="[[ writeamessage, core_message ]]" placeholder="[[ writeamessage, core_message ]]" style="resize: none" ></text)
theme/squared/templates/custommenu.mustache
(#1) Example context missing (@template section not found.)
theme/squared/templates/footer.mustache
(#1) Example context missing (@template section not found.)
theme/squared/templates/imageheading.mustache
(#1) Example context missing.
theme/squared/templates/language.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/squared/templates/navbarsearch.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Bad value “” for attribute “action” on element “form”: Must be non-empty. (ive"> <form action="" method="get" class="search"> )
(#1) HTML Validation error, line 12: Bad value “” for attribute “name” on element “input”: Must not be empty. (> <input type="text" placeholder="[[search ]]" name="" id="coursesearchbox_squared" style="display: none;"> )
theme/squared/templates/navigation.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: The “banner” role is unnecessary for element “header”. (ad><body><header role="banner" class="navbar navbar-expand-lg navbar-light bg-light moodle-has-zindex position-static"> <)
theme/squared/templates/socialicons.mustache
(#1) Example context missing (@template section not found.)