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

(50 errors, 10 warnings)

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

course/format/fntabs/db/install.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/fntabs/db/upgrade.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/fntabs/format.php
(#382) Expected 1 space before "-"; 0 found
(#382) Expected 1 space after "-"; 0 found
(#526) Inline comments must start with a capital letter, digit or 3-dots sequence
(#526) Inline comments must end in full-stops, exclamation marks, or question marks
(#526) This comment is 75% valid code; is this commented out code?
(#526) No space found before comment text; expected "// echo "</div>\n";" but found "//echo "</div>\n";"
course/format/fntabs/js/tc_colourpopup.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#12) Inline doc block comments are not allowed; use "// Comment." instead
(#17) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#17) Scope modifier not specified for member variable "$_helpbutton"
(#18) Member variable "_hiddenLabel" must be all lower-case
(#18) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#18) Scope modifier not specified for member variable "$_hiddenLabel"
(#20) method name "MoodleQuickForm_tccolourpopup::MoodleQuickForm_tccolourpopup" must be in lower-case letters only
(#20) PHP4 style constructors are not allowed; use "__construct()" instead
(#20) Visibility must be declared on method "MoodleQuickForm_tccolourpopup"
(#20) Variable "elementName" must be all lower-case
(#20) Variable "elementLabel" must be all lower-case
(#22) Variable "elementName" must be all lower-case
(#22) Variable "elementLabel" must be all lower-case
(#25) method name "MoodleQuickForm_tccolourpopup::setHiddenLabel" must be in lower-case letters only
(#25) Visibility must be declared on method "setHiddenLabel"
(#25) Variable "hiddenLabel" must be all lower-case
(#26) Variable "hiddenLabel" must be all lower-case
(#29) method name "MoodleQuickForm_tccolourpopup::toHtml" must be in lower-case letters only
(#29) Visibility must be declared on method "toHtml"
(#34) Whitespace found at end of line within string
(#36) Line exceeds maximum limit of 180 characters; contains 239 characters
(#37) Line exceeds 132 characters; contains 139 characters
(#54) method name "MoodleQuickForm_tccolourpopup::_generateId" must be in lower-case letters only
(#54) Visibility must be declared on method "_generateId"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Line indented incorrectly; expected at least 4 spaces, found 0
(#70) method name "MoodleQuickForm_tccolourpopup::setHelpButton" must be in lower-case letters only
(#70) Visibility must be declared on method "setHelpButton"
(#80) method name "MoodleQuickForm_tccolourpopup::getHelpButton" must be in lower-case letters only
(#80) Visibility must be declared on method "getHelpButton"
(#91) method name "MoodleQuickForm_tccolourpopup::getElementTemplateType" must be in lower-case letters only
(#91) Visibility must be declared on method "getElementTemplateType"
course/format/fntabs/version.php
(#26) Expected 1 space(s) before asterisk; 0 found
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) This comment is 50% valid code; is this commented out code?

Javascript coding style problems

(15 errors, 88 warnings)

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

course/format/fntabs/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#21) Extra space after key 'container_node'. (key-spacing)
(#22) Extra space after key 'container_class'. (key-spacing)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#23) Extra space after key 'section_node'. (key-spacing)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#24) Extra space after key 'section_class'. (key-spacing)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#26) Missing semicolon. (semi)
(#28) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#36) Identifier 'swap_sections' is not in camel case. (camelcase)
(#38) Extra space after key 'COURSECONTENT'. (key-spacing)
(#39) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#45) Missing semicolon. (semi)
(#47) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#47) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#47) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#47) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#56) Identifier 'process_sections' is not in camel case. (camelcase)
(#58) Extra space after key 'SECTIONNAME'. (key-spacing)
(#61) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
(#88) Missing semicolon. (semi)
course/format/fntabs/js/tabsettings.js
(#1) '$' is not defined. (no-undef)
(#1) There should be no spaces inside this paren. (space-in-parens)
(#1) There should be no spaces inside this paren. (space-in-parens)
(#2) '$' is not defined. (no-undef)
(#2) There should be no spaces inside this paren. (space-in-parens)
(#3) '$' is not defined. (no-undef)
(#4) '$' is not defined. (no-undef)
course/format/fntabs/js/tc_colourpopup.js
(#1) Identifier 'init_tccolour_popup' is not in camel case. (camelcase)
(#2) Missing space before opening brace. (space-before-blocks)
(#7) Extra space after key 'box'. (key-spacing)
(#8) Extra space after key 'input'. (key-spacing)
(#9) Extra space after key 'swatch'. (key-spacing)
(#10) Extra space after key 'image'. (key-spacing)
(#11) Extra space after key 'preview'. (key-spacing)
(#12) Extra space after key 'current'. (key-spacing)
(#13) Extra space after key 'eventClick'. (key-spacing)
(#14) Extra space after key 'eventFocus'. (key-spacing)
(#15) Extra space after key 'eventMouseEnter'. (key-spacing)
(#16) Extra space after key 'eventMouseLeave'. (key-spacing)
(#17) Extra space after key 'eventMouseMove'. (key-spacing)
(#18) Extra space after key 'width'. (key-spacing)
(#19) Extra space after key 'height'. (key-spacing)
(#20) Extra space after key 'factor'. (key-spacing)
(#24) Extra space after key 'init'. (key-spacing)
(#31) Line 31 exceeds the maximum line length of 132. (max-len)
(#33) Line 33 exceeds the maximum line length of 132. (max-len)
(#36) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#37) 'e' is defined but never used. (no-unused-vars)
(#37) Missing space before opening brace. (space-before-blocks)
(#47) A space is required after ','. (comma-spacing)
(#47) A space is required after ','. (comma-spacing)
(#52) 'e' is defined but never used. (no-unused-vars)
(#52) Missing space before opening brace. (space-before-blocks)
(#53) A space is required after ','. (comma-spacing)
(#55) Extra space after key 'showColours'. (key-spacing)
(#55) 'e' is defined but never used. (no-unused-vars)
(#55) Missing space before opening brace. (space-before-blocks)
(#59) Extra space after key 'setColour'. (key-spacing)
(#59) 'e' is defined but never used. (no-unused-vars)
(#59) Missing space before opening brace. (space-before-blocks)
(#63) Extra space after key 'startFollow'. (key-spacing)
(#63) 'e' is defined but never used. (no-unused-vars)
(#66) Missing space before opening brace. (space-before-blocks)
(#71) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#74) Extra space after key 'endFollow'. (key-spacing)
(#74) 'e' is defined but never used. (no-unused-vars)
(#77) A space is required after ','. (comma-spacing)
(#80) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#83) Extra space after key 'pickColour'. (key-spacing)
(#89) A space is required after ','. (comma-spacing)
(#91) Missing JSDoc @returns for function. (valid-jsdoc)
(#91) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#94) Extra space after key 'determineColour'. (key-spacing)
(#101) A space is required after ','. (comma-spacing)
(#101) A space is required after ','. (comma-spacing)
(#104) There should be no space after '['. (array-bracket-spacing)
(#104) Multiple spaces found before '0'. (no-multi-spaces)
(#104) Multiple spaces found before '1'. (no-multi-spaces)
(#104) Multiple spaces found before '0'. (no-multi-spaces)
(#105) There should be no space after '['. (array-bracket-spacing)
(#105) Multiple spaces found before '0'. (no-multi-spaces)
(#105) Multiple spaces found before '0'. (no-multi-spaces)
(#106) There should be no space after '['. (array-bracket-spacing)
(#106) Multiple spaces found before '0'. (no-multi-spaces)
(#106) Multiple spaces found before '0'. (no-multi-spaces)
(#106) Multiple spaces found before '1'. (no-multi-spaces)
(#107) There should be no space after '['. (array-bracket-spacing)
(#107) Multiple spaces found before '0'. (no-multi-spaces)
(#107) Multiple spaces found before '0'. (no-multi-spaces)
(#108) There should be no space after '['. (array-bracket-spacing)
(#108) Multiple spaces found before '1'. (no-multi-spaces)
(#108) Multiple spaces found before '0'. (no-multi-spaces)
(#108) Multiple spaces found before '0'. (no-multi-spaces)
(#109) There should be no space after '['. (array-bracket-spacing)
(#109) Multiple spaces found before '0'. (no-multi-spaces)
(#109) Multiple spaces found before '0'. (no-multi-spaces)
(#142) Missing JSDoc for parameter 'rgb'. (valid-jsdoc)
(#142) Missing JSDoc @returns for function. (valid-jsdoc)
(#145) Identifier 'convert_rgb_to_hex' is not in camel case. (camelcase)
(#145) Extra space after key 'convert_rgb_to_hex'. (key-spacing)

CSS problems

(266 errors, 73 warnings)

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

course/format/fntabs/styles.css
(#294) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#295) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#296) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#297) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#298) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#299) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#350) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#351) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#352) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#353) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#354) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#355) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#356) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#357) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#359) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#360) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#361) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#362) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#363) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#364) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#365) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#366) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#369) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#371) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#294) Unexpected single-line block (block-no-single-line)
(#295) Unexpected single-line block (block-no-single-line)
(#296) Unexpected single-line block (block-no-single-line)
(#297) Unexpected single-line block (block-no-single-line)
(#298) Unexpected single-line block (block-no-single-line)
(#299) Unexpected single-line block (block-no-single-line)
(#350) Unexpected single-line block (block-no-single-line)
(#351) Unexpected single-line block (block-no-single-line)
(#352) Unexpected single-line block (block-no-single-line)
(#353) Unexpected single-line block (block-no-single-line)
(#354) Unexpected single-line block (block-no-single-line)
(#355) Unexpected single-line block (block-no-single-line)
(#356) Unexpected single-line block (block-no-single-line)
(#357) Unexpected single-line block (block-no-single-line)
(#359) Unexpected single-line block (block-no-single-line)
(#360) Unexpected single-line block (block-no-single-line)
(#361) Unexpected single-line block (block-no-single-line)
(#362) Unexpected single-line block (block-no-single-line)
(#363) Unexpected single-line block (block-no-single-line)
(#364) Unexpected single-line block (block-no-single-line)
(#365) Unexpected single-line block (block-no-single-line)
(#366) Unexpected single-line block (block-no-single-line)
(#369) Unexpected single-line block (block-no-single-line)
(#370) Unexpected single-line block (block-no-single-line)
(#371) Unexpected single-line block (block-no-single-line)
(#294) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#295) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#296) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#297) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#298) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#299) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#350) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#351) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#352) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#353) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#354) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#355) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#356) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#359) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#360) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#361) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#362) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#363) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#364) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#365) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#369) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#160) Expected single space before "{" (block-opening-brace-space-before)
(#342) Expected single space before "{" (block-opening-brace-space-before)
(#345) Expected single space before "{" (block-opening-brace-space-before)
(#422) Expected single space before "{" (block-opening-brace-space-before)
(#451) Expected single space before "{" (block-opening-brace-space-before)
(#458) Expected single space before "{" (block-opening-brace-space-before)
(#508) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected "#B3EAFF" to be "#b3eaff" (color-hex-case)
(#9) Expected "#C5EFFF" to be "#c5efff" (color-hex-case)
(#14) Expected "#C5EFFF" to be "#c5efff" (color-hex-case)
(#27) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#28) Expected "#D3D3D3" to be "#d3d3d3" (color-hex-case)
(#44) Expected "#FFF" to be "#fff" (color-hex-case)
(#114) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#122) Expected "#D2D2D2" to be "#d2d2d2" (color-hex-case)
(#131) Expected "#B3EAFF" to be "#b3eaff" (color-hex-case)
(#164) Expected "#E5F8FF" to be "#e5f8ff" (color-hex-case)
(#172) Expected "#C5EFFF" to be "#c5efff" (color-hex-case)
(#197) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#200) Expected "#CEFECE" to be "#cefece" (color-hex-case)
(#203) Expected "#FFCDCF" to be "#ffcdcf" (color-hex-case)
(#217) Expected "#B3EAFF" to be "#b3eaff" (color-hex-case)
(#220) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#223) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#232) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#236) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#239) Expected "#C0C0C0" to be "#c0c0c0" (color-hex-case)
(#242) Expected "#A4A4A4" to be "#a4a4a4" (color-hex-case)
(#245) Expected "#FFFF66" to be "#ffff66" (color-hex-case)
(#252) Expected "#FFFF66" to be "#ffff66" (color-hex-case)
(#256) Expected "#B3EAFF" to be "#b3eaff" (color-hex-case)
(#264) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#267) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#352) Expected "#DCDCDC" to be "#dcdcdc" (color-hex-case)
(#354) Expected "#DCDCDC" to be "#dcdcdc" (color-hex-case)
(#361) Expected "#DCDCDC" to be "#dcdcdc" (color-hex-case)
(#363) Expected "#DCDCDC" to be "#dcdcdc" (color-hex-case)
(#371) Expected "#2BB0D7" to be "#2bb0d7" (color-hex-case)
(#379) Expected "#DDDDDD" to be "#dddddd" (color-hex-case)
(#380) Expected "#E1E1DF" to be "#e1e1df" (color-hex-case)
(#387) Expected "#DDDDDD" to be "#dddddd" (color-hex-case)
(#388) Expected "#E1E1DF" to be "#e1e1df" (color-hex-case)
(#504) Expected "#AEE5E3" to be "#aee5e3" (color-hex-case)
(#509) Expected "#D0EFCF" to be "#d0efcf" (color-hex-case)
(#510) Expected "#D0EFCF" to be "#d0efcf" (color-hex-case)
(#534) Expected "#FDE8E9" to be "#fde8e9" (color-hex-case)
(#535) Expected "#FDE8E9" to be "#fde8e9" (color-hex-case)
(#538) Expected "#FFFEE1" to be "#fffee1" (color-hex-case)
(#539) Expected "#FFFEE1" to be "#fffee1" (color-hex-case)
(#543) Expected "#AEE5E3" to be "#aee5e3" (color-hex-case)
(#27) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#114) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#197) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#220) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#223) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#232) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#236) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#245) Expected "#FFFF66" to be "#FF6" (color-hex-length)
(#252) Expected "#FFFF66" to be "#FF6" (color-hex-length)
(#264) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#267) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#379) Expected "#DDDDDD" to be "#DDD" (color-hex-length)
(#387) Expected "#DDDDDD" to be "#DDD" (color-hex-length)
(#503) Expected "#ffffff" to be "#fff" (color-hex-length)
(#542) Expected "#ffffff" to be "#fff" (color-hex-length)
(#456) Expected single space before "!" (declaration-bang-space-before)
(#78) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#79) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#438) Unexpected duplicate "line-height" (declaration-block-no-duplicate-properties)
(#295) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#295) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#297) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#297) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#298) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#298) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#295) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#297) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#298) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#350) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#351) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#352) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#353) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#354) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#355) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#356) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#359) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#360) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#361) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#362) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#363) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#364) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#365) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#371) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#352) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#361) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#369) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) 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)
(#42) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#44) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#52) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#90) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#93) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#97) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#100) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#103) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#146) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#147) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#148) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#157) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#226) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#229) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#233) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#289) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#292) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#294) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#295) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#295) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#296) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#297) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#297) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#297) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#298) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#298) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#298) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#299) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#307) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#310) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#313) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#316) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#319) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#320) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#323) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#324) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#327) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#336) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#337) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#346) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#350) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#350) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#350) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#350) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#351) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#351) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#354) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#355) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#355) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#355) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#357) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#359) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#359) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#359) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#359) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#360) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#360) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#361) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#362) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#362) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#362) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#362) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#362) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#364) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#364) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#364) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#365) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#366) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#369) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#371) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#378) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#386) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#402) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#405) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#406) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#442) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#444) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#452) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#453) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#456) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#459) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Unexpected !important (declaration-no-important)
(#233) Unexpected !important (declaration-no-important)
(#327) Unexpected !important (declaration-no-important)
(#419) Unexpected !important (declaration-no-important)
(#452) Unexpected !important (declaration-no-important)
(#456) Unexpected !important (declaration-no-important)
(#462) Unexpected !important (declaration-no-important)
(#466) Unexpected !important (declaration-no-important)
(#467) Unexpected !important (declaration-no-important)
(#473) Unexpected !important (declaration-no-important)
(#546) Unexpected !important (declaration-no-important)
(#19) Unexpected unit (length-zero-no-unit)
(#20) Unexpected unit (length-zero-no-unit)
(#25) Unexpected unit (length-zero-no-unit)
(#26) Unexpected unit (length-zero-no-unit)
(#34) Unexpected unit (length-zero-no-unit)
(#35) Unexpected unit (length-zero-no-unit)
(#193) Unexpected unit (length-zero-no-unit)
(#194) Unexpected unit (length-zero-no-unit)
(#419) Unexpected unit (length-zero-no-unit)
(#280) Expected no more than 2 empty line(s) (max-empty-lines)
(#375) Expected no more than 2 empty line(s) (max-empty-lines)
(#376) Expected no more than 2 empty line(s) (max-empty-lines)
(#352) Expected line length to be no more than 132 characters (max-line-length)
(#354) Expected line length to be no more than 132 characters (max-line-length)
(#356) Expected line length to be no more than 132 characters (max-line-length)
(#361) Expected line length to be no more than 132 characters (max-line-length)
(#363) Expected line length to be no more than 132 characters (max-line-length)
(#365) Expected line length to be no more than 132 characters (max-line-length)
(#303) Expected newline after "," (selector-list-comma-newline-after)
(#315) Expected newline after "," (selector-list-comma-newline-after)
(#422) Expected newline after "," (selector-list-comma-newline-after)
(#422) Expected newline after "," (selector-list-comma-newline-after)
(#422) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(54 errors, 4 warnings)

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

course/format/fntabs/colorschema.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/colorschema_delete.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/colorschema_edit.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/colorschema_form.php
(#27) Class colorschema_form is not documented
(#28) Function colorschema_form::definition is not documented
(#102) Function colorschema_form::validation is not documented
(#17) No one-line description found in phpdocs for file
course/format/fntabs/db/install.php
(#23) Function xmldb_format_fntabs_install is not documented
(#17) No one-line description found in phpdocs for file
course/format/fntabs/db/upgrade.php
(#23) Function xmldb_format_fntabs_upgrade is not documented
(#17) No one-line description found in phpdocs for file
course/format/fntabs/format.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/format_backup.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/js/tc_colourpopup.php
(#2) File-level phpdocs block is not found
(#20) Function MoodleQuickForm_tccolourpopup::MoodleQuickForm_tccolourpopup is not documented
(#25) Function MoodleQuickForm_tccolourpopup::setHiddenLabel is not documented
(#29) Function MoodleQuickForm_tccolourpopup::toHtml is not documented
(#18) Variable MoodleQuickForm_tccolourpopup::$_hiddenLabel is not documented
(#67) Phpdocs for function MoodleQuickForm_tccolourpopup::setHelpButton has incomplete parameters list
(#4) Class MoodleQuickForm_tccolourpopup does not have @copyright tag
(#4) Class MoodleQuickForm_tccolourpopup does not have @license tag
(#8) Not recommended phpdocs tag @access used
(#51) Not recommended phpdocs tag @access used
(#66) Not recommended phpdocs tag @access used
(#77) Not recommended phpdocs tag @access used
(#4) Package is not specified for class MoodleQuickForm_tccolourpopup. It is also not specified in file-level phpdocs
course/format/fntabs/lang/en/format_fntabs.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/lib.php
(#369) Function format_fntabs::get_course is not documented
(#424) Function format_fntabs_update_course is not documented
(#476) Function format_fntabs_get_course is not documented
(#491) Function format_fntabs_get_week_info is not documented
(#548) Function format_fntabs_get_course_section_mods is not documented
(#833) Function format_fntabs_quiz_waitingforgrade is not documented
(#863) Function format_fntabs_update_course_setting is not documented
(#880) Function format_fntabs_get_setting is not documented
(#923) Function format_fntabs_course_get_cm_rename_action is not documented
(#17) No one-line description found in phpdocs for file
(#571) Phpdocs for function format_fntabs_get_assignment_object_from_instance has incomplete parameters list
(#589) Phpdocs for function format_fntabs_is_saved_or_submitted has incomplete parameters list
(#711) Phpdocs for function format_fntabs_get_activities_status has incomplete parameters list
course/format/fntabs/renderer.php
(#150) Function format_fntabs_renderer::get_week_info is not documented
(#941) Function format_fntabs_renderer::print_weekly_activities_bar is not documented
(#1219) Function format_fntabs_renderer::print_section_fn_ is not documented
(#1227) Function format_fntabs_renderer::is_section_finished is not documented
(#1247) Function format_fntabs_renderer::first_unfinished_section is not documented
(#17) No one-line description found in phpdocs for file
(#206) Phpdocs for function format_fntabs_renderer::print_section_fn has incomplete parameters list
(#284) Phpdocs for function format_fntabs_renderer::course_section_cm_list_item has incomplete parameters list
(#316) Phpdocs for function format_fntabs_renderer::course_section_cm has incomplete parameters list
(#712) Phpdocs for function format_fntabs_renderer::course_section_cm_completion has incomplete parameters list
(#904) Phpdocs for function format_fntabs_renderer::print_section_add_menus has incomplete parameters list
course/format/fntabs/tabsettings.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/tabsettings_form.php
(#29) Class course_fntabs_edit_form is not documented
(#31) Function course_fntabs_edit_form::definition is not documented
(#17) No one-line description found in phpdocs for file
course/format/fntabs/tests/format_ned_tabs_test.php
(#17) No one-line description found in phpdocs for file
course/format/fntabs/version.php
(#17) No one-line description found in phpdocs for file
(#24) Invalid phpdocs tag @developer used

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]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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