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

(259 errors, 154 warnings)

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

theme/learnr/classes/output/core_renderer.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// Begin DBN Update" but found "//Begin DBN Update"
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// End DBN Update" but found "//End DBN Update"
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) No space found before comment text; expected "// Begin DBN Update" but found "//Begin DBN Update"
(#48) global $OUTPUT cannot be used in renderers. Use $this->output.
(#54) Line exceeds 132 characters; contains 178 characters
(#55) Line exceeds maximum limit of 180 characters; contains 191 characters
(#59) Line exceeds maximum limit of 180 characters; contains 238 characters
(#60) Whitespace found at end of line
(#64) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#75) Expected "if (...) {\n"; found "if (...){\n"
(#76) Line indented incorrectly; expected at least 12 spaces, found 8
(#77) Line indented incorrectly; expected at least 12 spaces, found 8
(#77) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) This comment is 67% valid code; is this commented out code?
(#83) No space found before comment text; expected "// $easyenrolbtntext = get_string('easyenrollbtn', 'theme_learnr');" but found "//$easyenrolbtntext = get_string('easyenrollbtn', 'theme_learnr');"
(#84) Whitespace found at end of line
(#87) Line exceeds maximum limit of 180 characters; contains 248 characters
(#103) There should be a comma after the last array item in a multi-line array.
(#106) Whitespace found at end of line
(#106) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// End DBN Update" but found "//End DBN Update"
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) No space found before comment text; expected "// Begin DBN Update" but found "//Begin DBN Update"
(#120) global $OUTPUT cannot be used in renderers. Use $this->output.
(#131) Short array syntax must be used to define arrays
(#133) There should be a comma after the last array item in a multi-line array.
(#135) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
(#142) Expected "if (...) {\n"; found "if (...){\n"
(#143) Line indented incorrectly; expected at least 12 spaces, found 8
(#144) Line indented incorrectly; expected at least 12 spaces, found 8
(#144) Short array syntax must be used to define arrays
(#147) There should be a comma after the last array item in a multi-line array.
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// End DBN Update" but found "//End DBN Update"
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) No space found before comment text; expected "// Begin DBN Update" but found "//Begin DBN Update"
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// End DBN Update" but found "//End DBN Update"
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) No space found before comment text; expected "// Begin DBN Update Functions" but found "//Begin DBN Update Functions"
(#229) Line exceeds 132 characters; contains 170 characters
(#239) global $PAGE cannot be used in renderers. Use $this->page.
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) global $PAGE cannot be used in renderers. Use $this->page.
(#247) global $PAGE cannot be used in renderers. Use $this->page.
(#250) Expected "} else {\n"; found "}\n else {\n"
(#259) Line exceeds 132 characters; contains 147 characters
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Inline comments must start with a capital letter, digit or 3-dots sequence
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) Line exceeds 132 characters; contains 143 characters
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Whitespace found at end of line
(#302) Whitespace found at end of line
(#303) Line indented incorrectly; expected 8 spaces, found 16
(#306) Short array syntax must be used to define arrays
(#307) Line indented incorrectly; expected 12 spaces, found 20
(#308) Line indented incorrectly; expected 16 spaces, found 24
(#309) Line indented incorrectly; expected 20 spaces, found 28
(#311) Line indented incorrectly; expected 20 spaces, found 28
(#312) Line indented incorrectly; expected 16 spaces, found 24
(#313) Line indented incorrectly; expected 12 spaces, found 20
(#316) Line indented incorrectly; expected 12 spaces, found 20
(#317) Line indented incorrectly; expected 16 spaces, found 24
(#320) Line indented incorrectly; expected 16 spaces, found 24
(#321) Line indented incorrectly; expected 12 spaces, found 20
(#322) Line indented incorrectly; expected 12 spaces, found 20
(#324) Short array syntax must be used to define arrays
(#325) There should be a comma after the last array item in a multi-line array.
(#331) Line indented incorrectly; expected 16 spaces, found 24
(#333) Short array syntax must be used to define arrays
(#334) Line indented incorrectly; expected 20 spaces, found 28
(#335) Line indented incorrectly; expected 24 spaces, found 32
(#336) Line indented incorrectly; expected 28 spaces, found 36
(#339) Line indented incorrectly; expected 28 spaces, found 36
(#340) Line indented incorrectly; expected 24 spaces, found 32
(#341) Line indented incorrectly; expected 24 spaces, found 32
(#341) Expected "} else {\n"; found "}\n else {\n"
(#343) Line indented incorrectly; expected 24 spaces, found 32
(#344) Line indented incorrectly; expected 20 spaces, found 28
(#346) Line indented incorrectly; expected 20 spaces, found 28
(#347) Line indented incorrectly; expected 24 spaces, found 32
(#349) Line indented incorrectly; expected 24 spaces, found 32
(#350) Line indented incorrectly; expected 20 spaces, found 28
(#351) Line indented incorrectly; expected 16 spaces, found 24
(#352) Line indented incorrectly; expected 12 spaces, found 20
(#353) Short array syntax must be used to define arrays
(#353) Commas (,) must be followed by white space.
(#354) Line indented incorrectly; expected 8 spaces, found 16
(#355) Line indented incorrectly; expected 8 spaces, found 16
(#355) Expected "} else {\n"; found "}\n else {\n"
(#357) Line indented incorrectly; expected 8 spaces, found 16
(#360) Line indented incorrectly; expected 8 spaces, found 16
(#361) Line indented incorrectly; expected 12 spaces, found 20
(#362) Line exceeds 132 characters; contains 162 characters
(#363) Line indented incorrectly; expected 12 spaces, found 20
(#365) Line indented incorrectly; expected 8 spaces, found 16
(#368) Line indented incorrectly; expected 8 spaces, found 16
(#371) Line indented incorrectly; expected 8 spaces, found 16
(#374) Inline comments must end in full-stops, exclamation marks, or question marks
(#378) Line exceeds maximum limit of 180 characters; contains 194 characters
(#379) Line exceeds 132 characters; contains 138 characters
(#380) Line exceeds 132 characters; contains 156 characters
(#381) Line exceeds 132 characters; contains 157 characters
(#383) Line exceeds 132 characters; contains 165 characters
(#384) Line exceeds 132 characters; contains 154 characters
(#385) Line exceeds 132 characters; contains 154 characters
(#386) Line exceeds 132 characters; contains 154 characters
(#387) Line exceeds 132 characters; contains 154 characters
(#388) Line exceeds 132 characters; contains 154 characters
(#389) Line exceeds 132 characters; contains 154 characters
(#390) Line exceeds 132 characters; contains 154 characters
(#391) Line exceeds 132 characters; contains 154 characters
(#400) Line exceeds 132 characters; contains 150 characters
(#401) Line exceeds 132 characters; contains 150 characters
(#402) Line exceeds 132 characters; contains 150 characters
(#403) Line exceeds 132 characters; contains 150 characters
(#404) Line exceeds 132 characters; contains 150 characters
(#405) Line exceeds 132 characters; contains 150 characters
(#406) Line exceeds 132 characters; contains 150 characters
(#407) Line exceeds 132 characters; contains 150 characters
(#416) Short array syntax must be used to define arrays
(#416) Line exceeds 132 characters; contains 177 characters
(#417) There should be a comma after the last array item in a multi-line array.
(#420) Variable "fp_icons" must not contain underscores.
(#423) Line exceeds maximum limit of 180 characters; contains 320 characters
(#423) Whitespace found at end of line
(#424) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#430) There should be a comma after the last array item in a multi-line array.
(#432) Short array syntax must be used to define arrays
(#437) There should be a comma after the last array item in a multi-line array.
(#439) Short array syntax must be used to define arrays
(#444) There should be a comma after the last array item in a multi-line array.
(#446) Short array syntax must be used to define arrays
(#451) There should be a comma after the last array item in a multi-line array.
(#453) Short array syntax must be used to define arrays
(#458) There should be a comma after the last array item in a multi-line array.
(#460) Short array syntax must be used to define arrays
(#465) There should be a comma after the last array item in a multi-line array.
(#467) Short array syntax must be used to define arrays
(#472) There should be a comma after the last array item in a multi-line array.
(#474) Short array syntax must be used to define arrays
(#479) There should be a comma after the last array item in a multi-line array.
(#482) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#487) There should be a comma after the last array item in a multi-line array.
(#490) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#495) There should be a comma after the last array item in a multi-line array.
(#500) Variable "fp_icons" must not contain underscores.
(#503) Whitespace found at end of line
(#507) Whitespace found at end of line
(#512) Whitespace found at end of line
(#513) Expected "if (...) {\n"; found "if (...) {\n"
(#515) Usage of ELSEIF not allowed; use ELSE IF instead
(#538) global $PAGE cannot be used in renderers. Use $this->page.
(#538) global $OUTPUT cannot be used in renderers. Use $this->output.
(#549) Short array syntax must be used to define arrays
(#550) global $PAGE cannot be used in renderers. Use $this->page.
(#550) There should be a comma after the last array item in a multi-line array.
(#553) Expected "} else {\n"; found "}\n else {\n"
(#554) Short array syntax must be used to define arrays
(#555) global $PAGE cannot be used in renderers. Use $this->page.
(#555) There should be a comma after the last array item in a multi-line array.
(#564) global $PAGE cannot be used in renderers. Use $this->page.
(#564) global $OUTPUT cannot be used in renderers. Use $this->output.
(#569) Line exceeds 132 characters; contains 159 characters
(#574) Short array syntax must be used to define arrays
(#576) There should be a comma after the last array item in a multi-line array.
(#578) Short array syntax must be used to define arrays
(#580) There should be a comma after the last array item in a multi-line array.
(#585) Expected "if (...) {\n"; found "if (...){\n"
(#586) Line indented incorrectly; expected at least 12 spaces, found 8
(#587) Line indented incorrectly; expected at least 12 spaces, found 8
(#587) Short array syntax must be used to define arrays
(#590) There should be a comma after the last array item in a multi-line array.
(#595) global $PAGE cannot be used in renderers. Use $this->page.
(#595) global $PAGE cannot be used in renderers. Use $this->page.
(#595) Short array syntax must be used to define arrays
(#595) Line exceeds maximum limit of 180 characters; contains 182 characters
(#596) There should be a comma after the last array item in a multi-line array.
(#608) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#615) global $PAGE cannot be used in renderers. Use $this->page.
(#615) There should be a comma after the last array item in a multi-line array.
(#616) There should be a comma after the last array item in a multi-line array.
(#619) Short array syntax must be used to define arrays
(#625) Short array syntax must be used to define arrays
(#628) Short array syntax must be used to define arrays
(#629) global $PAGE cannot be used in renderers. Use $this->page.
(#629) There should be a comma after the last array item in a multi-line array.
(#630) There should be a comma after the last array item in a multi-line array.
(#633) Short array syntax must be used to define arrays
(#636) Short array syntax must be used to define arrays
(#637) global $PAGE cannot be used in renderers. Use $this->page.
(#637) There should be a comma after the last array item in a multi-line array.
(#638) There should be a comma after the last array item in a multi-line array.
(#641) Short array syntax must be used to define arrays
(#644) Short array syntax must be used to define arrays
(#645) global $PAGE cannot be used in renderers. Use $this->page.
(#645) There should be a comma after the last array item in a multi-line array.
(#646) There should be a comma after the last array item in a multi-line array.
(#650) Inline comments must end in full-stops, exclamation marks, or question marks
(#650) No space found before comment text; expected "// Export to MISTAR" but found "//Export to MISTAR"
(#651) Short array syntax must be used to define arrays
(#652) Line exceeds 132 characters; contains 134 characters
(#654) Short array syntax must be used to define arrays
(#655) global $PAGE cannot be used in renderers. Use $this->page.
(#655) There should be a comma after the last array item in a multi-line array.
(#656) There should be a comma after the last array item in a multi-line array.
(#659) Short array syntax must be used to define arrays
(#662) Short array syntax must be used to define arrays
(#663) global $PAGE cannot be used in renderers. Use $this->page.
(#663) There should be a comma after the last array item in a multi-line array.
(#664) There should be a comma after the last array item in a multi-line array.
(#667) Short array syntax must be used to define arrays
(#668) Line exceeds 132 characters; contains 133 characters
(#670) Short array syntax must be used to define arrays
(#671) global $PAGE cannot be used in renderers. Use $this->page.
(#671) There should be a comma after the last array item in a multi-line array.
(#672) There should be a comma after the last array item in a multi-line array.
(#675) Short array syntax must be used to define arrays
(#678) Short array syntax must be used to define arrays
(#679) global $PAGE cannot be used in renderers. Use $this->page.
(#679) There should be a comma after the last array item in a multi-line array.
(#680) There should be a comma after the last array item in a multi-line array.
(#685) Short array syntax must be used to define arrays
(#688) Short array syntax must be used to define arrays
(#689) global $PAGE cannot be used in renderers. Use $this->page.
(#689) There should be a comma after the last array item in a multi-line array.
(#690) There should be a comma after the last array item in a multi-line array.
(#693) Short array syntax must be used to define arrays
(#694) Line exceeds 132 characters; contains 135 characters
(#696) Short array syntax must be used to define arrays
(#697) global $PAGE cannot be used in renderers. Use $this->page.
(#697) There should be a comma after the last array item in a multi-line array.
(#698) There should be a comma after the last array item in a multi-line array.
(#701) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#705) global $PAGE cannot be used in renderers. Use $this->page.
(#705) There should be a comma after the last array item in a multi-line array.
(#706) There should be a comma after the last array item in a multi-line array.
(#709) Short array syntax must be used to define arrays
(#712) Short array syntax must be used to define arrays
(#713) global $PAGE cannot be used in renderers. Use $this->page.
(#713) There should be a comma after the last array item in a multi-line array.
(#714) There should be a comma after the last array item in a multi-line array.
(#717) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#721) global $PAGE cannot be used in renderers. Use $this->page.
(#721) There should be a comma after the last array item in a multi-line array.
(#722) There should be a comma after the last array item in a multi-line array.
(#727) Short array syntax must be used to define arrays
(#730) Short array syntax must be used to define arrays
(#731) global $PAGE cannot be used in renderers. Use $this->page.
(#731) There should be a comma after the last array item in a multi-line array.
(#732) There should be a comma after the last array item in a multi-line array.
(#735) Short array syntax must be used to define arrays
(#738) Short array syntax must be used to define arrays
(#739) global $PAGE cannot be used in renderers. Use $this->page.
(#739) There should be a comma after the last array item in a multi-line array.
(#740) There should be a comma after the last array item in a multi-line array.
(#743) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#747) global $PAGE cannot be used in renderers. Use $this->page.
(#747) There should be a comma after the last array item in a multi-line array.
(#748) There should be a comma after the last array item in a multi-line array.
(#751) Short array syntax must be used to define arrays
(#754) Short array syntax must be used to define arrays
(#755) global $PAGE cannot be used in renderers. Use $this->page.
(#755) There should be a comma after the last array item in a multi-line array.
(#756) There should be a comma after the last array item in a multi-line array.
(#759) Short array syntax must be used to define arrays
(#762) Short array syntax must be used to define arrays
(#763) global $PAGE cannot be used in renderers. Use $this->page.
(#763) There should be a comma after the last array item in a multi-line array.
(#764) There should be a comma after the last array item in a multi-line array.
(#766) Whitespace found at end of line
(#771) Inline comments must end in full-stops, exclamation marks, or question marks
(#771) Line indented incorrectly; expected at least 4 spaces, found 0
(#771) No space found before comment text; expected "// End DBN Update" but found "//End DBN Update"
(#773) Whitespace found at end of line
theme/learnr/lang/en/theme_learnr.php
(#70) Whitespace found at end of line within string
(#142) No space found before comment text; expected "// Icon Navigation tab." but found "//Icon Navigation tab."
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Whitespace found at end of line
(#220) File must end with a newline character
theme/learnr/lib.php
(#177) This comment is 57% valid code; is this commented out code?
(#177) Whitespace found at end of line
(#178) No space found before comment text; expected "// Not needed unless we add an image in future update." but found "//Not needed unless we add an image in future update."
theme/learnr/locallib.php
(#34) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#40) Logical operator "or" is prohibited; use "||" instead
(#102) File must end with a newline character
theme/learnr/settings.php
(#89) Whitespace found at end of line
(#109) Whitespace found at end of line
(#129) Whitespace found at end of line
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Whitespace found at end of line
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Expected 1 space after "="; 2 found
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Short array syntax must be used to define arrays
(#279) Expected 1 space before "=>"; 0 found
(#279) Expected 1 space after "=>"; 0 found
(#279) Expected 1 space before "=>"; 0 found
(#279) Expected 1 space after "=>"; 0 found
(#279) Expected 1 space before "=>"; 0 found
(#279) Expected 1 space after "=>"; 0 found
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Short array syntax must be used to define arrays
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#327) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Short array syntax must be used to define arrays
(#365) Expected 1 space before "=>"; 0 found
(#365) Expected 1 space after "=>"; 0 found
(#365) Expected 1 space before "=>"; 0 found
(#365) Expected 1 space after "=>"; 0 found
(#365) Expected 1 space before "=>"; 0 found
(#365) Expected 1 space after "=>"; 0 found
(#370) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) Expected 1 space after "="; 2 found
(#408) Short array syntax must be used to define arrays
(#408) Expected 1 space before "=>"; 0 found
(#408) Expected 1 space after "=>"; 0 found
(#408) Expected 1 space before "=>"; 0 found
(#408) Expected 1 space after "=>"; 0 found
(#408) Expected 1 space before "=>"; 0 found
(#408) Expected 1 space after "=>"; 0 found
(#413) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) Short array syntax must be used to define arrays
(#451) Expected 1 space before "=>"; 0 found
(#451) Expected 1 space after "=>"; 0 found
(#451) Expected 1 space before "=>"; 0 found
(#451) Expected 1 space after "=>"; 0 found
(#451) Expected 1 space before "=>"; 0 found
(#451) Expected 1 space after "=>"; 0 found
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Short array syntax must be used to define arrays
(#494) Expected 1 space before "=>"; 0 found
(#494) Expected 1 space after "=>"; 0 found
(#494) Expected 1 space before "=>"; 0 found
(#494) Expected 1 space after "=>"; 0 found
(#494) Expected 1 space before "=>"; 0 found
(#494) Expected 1 space after "=>"; 0 found
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#537) Short array syntax must be used to define arrays
(#537) Expected 1 space before "=>"; 0 found
(#537) Expected 1 space after "=>"; 0 found
(#537) Expected 1 space before "=>"; 0 found
(#537) Expected 1 space after "=>"; 0 found
(#537) Expected 1 space before "=>"; 0 found
(#537) Expected 1 space after "=>"; 0 found
(#542) Inline comments must end in full-stops, exclamation marks, or question marks
(#580) Short array syntax must be used to define arrays
(#580) Expected 1 space before "=>"; 0 found
(#580) Expected 1 space after "=>"; 0 found
(#580) Expected 1 space before "=>"; 0 found
(#580) Expected 1 space after "=>"; 0 found
(#580) Expected 1 space before "=>"; 0 found
(#580) Expected 1 space after "=>"; 0 found
(#600) No space found before comment text; expected "// Begin DBN Update" but found "//Begin DBN Update"
(#606) Inline comments must start with a capital letter, digit or 3-dots sequence
(#606) This comment is 67% valid code; is this commented out code?
(#606) No space found before comment text; expected "// $option2 = get_string('layoutstyle-boxed', 'theme_learnr');" but found "//$option2 = get_string('layoutstyle-boxed', 'theme_learnr');"
(#608) Inline comments must start with a capital letter, digit or 3-dots sequence
(#608) This comment is 67% valid code; is this commented out code?
(#608) No space found before comment text; expected "// $option4 = get_string('layoutstyle-bars', 'theme_learnr');" but found "//$option4 = get_string('layoutstyle-bars', 'theme_learnr');"
(#610) Short array syntax must be used to define arrays
(#610) Expected 1 space before "=>"; 0 found
(#610) Expected 1 space after "=>"; 0 found
(#610) Expected 1 space before "=>"; 0 found
(#610) Expected 1 space after "=>"; 0 found
(#625) Short array syntax must be used to define arrays
(#625) Expected 1 space before "=>"; 0 found
(#625) Expected 1 space after "=>"; 0 found
(#625) Expected 1 space before "=>"; 0 found
(#625) Expected 1 space after "=>"; 0 found
(#625) Expected 1 space before "=>"; 0 found
(#625) Expected 1 space after "=>"; 0 found
(#625) Expected 1 space before "=>"; 0 found
(#625) Expected 1 space after "=>"; 0 found
(#630) Inline comments must start with a capital letter, digit or 3-dots sequence
(#637) Short array syntax must be used to define arrays
(#637) Expected 1 space before "=>"; 0 found
(#637) Expected 1 space after "=>"; 0 found
(#637) Expected 1 space before "=>"; 0 found
(#637) Expected 1 space after "=>"; 0 found
(#676) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(166 errors, 8 warnings)

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

theme/learnr/scss/post.scss
(#45) Unexpected duplicate "font-size" (declaration-block-no-duplicate-properties)
(#33) Unexpected unit (length-zero-no-unit)
(#27) Expected indentation of 0 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 0 spaces (indentation)
(#34) Expected indentation of 0 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 0 spaces (indentation)
(#48) Expected indentation of 0 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
theme/learnr/scss/pre.scss
(#9) Expected "#ffffff" to be "#fff" (color-hex-length)
(#10) Expected "#000000" to be "#000" (color-hex-length)
(#5) Expected single space before "!" (declaration-bang-space-before)
(#9) Expected single space before "!" (declaration-bang-space-before)
(#10) Expected single space before "!" (declaration-bang-space-before)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
theme/learnr/scss/layouts/layout-learnr.scss
(#110) Expected empty line before at-rule (at-rule-empty-line-before)
(#122) Expected empty line before at-rule (at-rule-empty-line-before)
(#97) Expected newline before "}" (block-closing-brace-newline-before)
(#136) Expected newline before "}" (block-closing-brace-newline-before)
(#159) Expected newline before "}" (block-closing-brace-newline-before)
(#163) Expected newline before "}" (block-closing-brace-newline-before)
(#59) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected single space before "!" (declaration-bang-space-before)
(#73) Expected single space before "!" (declaration-bang-space-before)
(#136) Expected single space before "!" (declaration-bang-space-before)
(#209) Expected single space before "!" (declaration-bang-space-before)
(#212) Expected single space before "!" (declaration-bang-space-before)
(#162) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#6) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#73) Unexpected !important (declaration-no-important)
(#136) Unexpected !important (declaration-no-important)
(#151) Unexpected !important (declaration-no-important)
(#209) Unexpected !important (declaration-no-important)
(#212) Unexpected !important (declaration-no-important)
(#233) Unexpected !important (declaration-no-important)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#6) Expected single space after "," in a single-line function (function-comma-space-after)
(#185) Expected line length to be no more than 132 characters (max-line-length)
(#224) Expected line length to be no more than 132 characters (max-line-length)
(#97) Unexpected whitespace at end of line (no-eol-whitespace)
(#136) Unexpected whitespace at end of line (no-eol-whitespace)
(#159) Unexpected whitespace at end of line (no-eol-whitespace)
(#162) Unexpected whitespace at end of line (no-eol-whitespace)
(#163) Unexpected whitespace at end of line (no-eol-whitespace)
(#189) Unexpected whitespace at end of line (no-eol-whitespace)
(#203) Unexpected whitespace at end of line (no-eol-whitespace)
(#207) Unexpected whitespace at end of line (no-eol-whitespace)
(#214) Unexpected whitespace at end of line (no-eol-whitespace)
(#8) Expected single space after "~" (selector-combinator-space-after)
(#224) Expected single space after ">" (selector-combinator-space-after)
(#224) Expected single space after ">" (selector-combinator-space-after)
(#224) Expected single space after ">" (selector-combinator-space-after)
(#273) Expected single space after ">" (selector-combinator-space-after)
(#8) Expected single space before "~" (selector-combinator-space-before)
(#224) Expected single space before ">" (selector-combinator-space-before)
(#224) Expected single space before ">" (selector-combinator-space-before)
(#224) Expected single space before ">" (selector-combinator-space-before)
(#273) Expected single space before ">" (selector-combinator-space-before)
(#93) Expected newline after "," (selector-list-comma-newline-after)
(#150) Expected newline after "," (selector-list-comma-newline-after)
(#150) Expected newline after "," (selector-list-comma-newline-after)
(#150) Expected newline after "," (selector-list-comma-newline-after)
(#185) Expected newline after "," (selector-list-comma-newline-after)
(#185) Expected newline after "," (selector-list-comma-newline-after)
(#185) Expected newline after "," (selector-list-comma-newline-after)
(#185) Expected newline after "," (selector-list-comma-newline-after)
(#185) Expected newline after "," (selector-list-comma-newline-after)
(#208) Expected newline after "," (selector-list-comma-newline-after)
(#208) Expected newline after "," (selector-list-comma-newline-after)
(#211) Expected newline after "," (selector-list-comma-newline-after)
(#211) Expected newline after "," (selector-list-comma-newline-after)
(#224) Expected newline after "," (selector-list-comma-newline-after)
(#224) Expected newline after "," (selector-list-comma-newline-after)
(#51) Expected indentation of 8 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 0 spaces (indentation)
(#85) Expected indentation of 0 spaces (indentation)
(#180) Expected indentation of 0 spaces (indentation)
(#181) Expected indentation of 0 spaces (indentation)
(#188) Expected indentation of 0 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 8 spaces (indentation)
(#185) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 4 spaces (indentation)
(#186) Expected indentation of 8 spaces (indentation)
(#190) Expected indentation of 0 spaces (indentation)
(#191) Expected indentation of 0 spaces (indentation)
(#196) Expected indentation of 0 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 0 spaces (indentation)
(#202) Expected indentation of 0 spaces (indentation)
(#198) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 0 spaces (indentation)
(#206) Expected indentation of 0 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 0 spaces (indentation)
(#210) Expected indentation of 0 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 0 spaces (indentation)
(#213) Expected indentation of 0 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#215) Expected indentation of 0 spaces (indentation)
(#217) Expected indentation of 0 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 0 spaces (indentation)
(#220) Expected indentation of 0 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 0 spaces (indentation)
(#223) Expected indentation of 0 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 0 spaces (indentation)
(#226) Expected indentation of 0 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#227) Expected indentation of 0 spaces (indentation)
(#229) Expected indentation of 0 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 0 spaces (indentation)
theme/learnr/scss/sections/sections-bars.scss
(#18) Expected empty line before at-rule (at-rule-empty-line-before)
(#19) Expected line length to be no more than 132 characters (max-line-length)
(#19) Expected newline after "," (selector-list-comma-newline-after)
(#19) Expected newline after "," (selector-list-comma-newline-after)
(#24) Expected newline after "," (selector-list-comma-newline-after)
(#29) Expected newline after "," (selector-list-comma-newline-after)
(#29) Expected newline after "," (selector-list-comma-newline-after)
theme/learnr/scss/sections/sections-boost.scss
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
theme/learnr/scss/sections/sections-boxed.scss
(#9) Expected empty line before at-rule (at-rule-empty-line-before)
(#10) Expected single space before "{" (block-opening-brace-space-before)
(#7) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#10) Expected line length to be no more than 132 characters (max-line-length)
(#15) Expected single space after "+" (selector-combinator-space-after)
(#15) Expected single space before "+" (selector-combinator-space-before)
(#2) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected newline after "," (selector-list-comma-newline-after)
(#10) Expected newline after "," (selector-list-comma-newline-after)
(#10) Expected newline after "," (selector-list-comma-newline-after)
theme/learnr/scss/sections/sections-learnr.scss
(#18) Expected single space before "{" (block-opening-brace-space-before)
(#18) Expected line length to be no more than 132 characters (max-line-length)
(#39) Expected single space after "+" (selector-combinator-space-after)
(#39) Expected single space before "+" (selector-combinator-space-before)
(#18) Expected newline after "," (selector-list-comma-newline-after)
(#18) Expected newline after "," (selector-list-comma-newline-after)
(#23) Expected newline after "," (selector-list-comma-newline-after)
(#30) Expected newline after "," (selector-list-comma-newline-after)
(#30) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(4 errors, 10 warnings)

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

theme/learnr/classes/output/core_renderer.php
(#47) Function core_renderer::headerbuttons is not documented
(#225) Function core_renderer::enrolform is not documented
(#238) Function core_renderer::courseprogressbar is not documented
(#260) Function core_renderer::timeaccesscompare is not documented
(#288) Function core_renderer::learnr_mycourses is not documented
(#376) Function core_renderer::fpicons is not documented
(#505) Function core_renderer::get_generated_image_for_id is not documented
(#527) Function core_renderer::render_courseactivities_menu is not documented
(#537) Function core_renderer::courseactivities_menu is not documented
(#563) Function core_renderer::coursemanagementdash is not documented
theme/learnr/config.php
(#20) Package theme_boost_union_child is not valid
theme/learnr/layout/drawers.php
(#37) Package theme_boost_union is not valid
theme/learnr/locallib.php
(#28) Function theme_learnr_get_course_activities is not documented
(#62) Function theme_learnr_get_course_header_image_url is not documented

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

(0 errors, 17 warnings)

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

theme/learnr/templates/activitygroups.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: The “aria-labelledby” attribute must point to an element in the same document. (ad><body><div class="list-group" aria-labelledby="list-group-would-be-a-uniqid"> </di)
theme/learnr/templates/coursemanagement.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
theme/learnr/templates/fpicons.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
theme/learnr/templates/mycourses.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: The “aria-labelledby” attribute must point to an element in the same document. (ad><body><div class="list-group" aria-labelledby="list-group-would-be-a-uniqid"> </di)
theme/learnr/templates/progress-bar.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
theme/learnr/templates/theme_boost/drawers.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( M.util.js_pending('theme_boost/loader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( M.util.js_pending('theme_boost/loader');
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/loader', 'theme_boost/drawer'], function(Loader, Drawer) {
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( Drawer.init();
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( M.util.js_complete('theme_boost/loader');
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( }); ), Line: 14 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 14 Column: 5
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( }); ), Line: 15 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 15 Column: 5
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 16 Column: 4
theme/learnr/templates/theme_boost/drawers.mustache.upstream
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)

Gherkin .feature problems

(0 errors, 0 warnings)

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