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

(82 errors, 10 warnings)

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

filter/codepen/filter.php
(#20) Spaces must be used for alignment; tabs are not allowed
(#21) Spaces must be used for alignment; tabs are not allowed
(#22) Spaces must be used for alignment; tabs are not allowed
(#23) Spaces must be used for alignment; tabs are not allowed
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) 76 slashes comments are not allowed; use "// Comment." instead
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) 76 slashes comments are not allowed; use "// Comment." instead
(#78) Usage of ELSEIF not allowed; use ELSE IF instead
(#96) Whitespace found at end of line
(#103) No space found before comment text; expected "// I've added img tags to this list of tags to ignore." but found "//I've added img tags to this list of tags to ignore."
(#104) No space found before comment text; expected "// See MDL-21168 for more info. A better way to ignore tags whether or not" but found "//See MDL-21168 for more info. A better way to ignore tags whether or not"
(#105) No space found before comment text; expected "// they are escaped partially or completely would be desirable. For example:" but found "//they are escaped partially or completely would be desirable. For example:"
(#106) No space found before comment text; expected "// <a href="blah">" but found "//<a href="blah">"
(#107) This comment is 46% valid code; is this commented out code?
(#107) No space found before comment text; expected "// &lt;a href="blah"&gt;" but found "//&lt;a href="blah"&gt;"
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) No space found before comment text; expected "// &lt;a href="blah">" but found "//&lt;a href="blah">"
(#111) Commas (,) must be followed by white space.
(#111) Commas (,) must be followed by white space.
(#111) Commas (,) must be followed by white space.
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Whitespace found at end of line
(#118) Spaces must be used for alignment; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 8 spaces, found 2
(#125) Whitespace found at end of line
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) No space found before comment text; expected "// Get the height from the settings page" but found "//Get the height from the settings page"
(#128) Whitespace found at end of line
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// Make sure that the value is set or set the default" but found "//Make sure that the value is set or set the default"
(#131) Spaces must be used for alignment; tabs are not allowed
(#131) Tab found within whitespace
(#131) Line indented incorrectly; expected at least 12 spaces, found 9
(#134) Spaces must be used for alignment; tabs are not allowed
(#134) Tab found within whitespace
(#134) Line exceeds maximum limit of 180 characters; contains 271 characters
(#137) Spaces must be used for alignment; tabs are not allowed
(#137) Tab found within whitespace
(#137) Line indented incorrectly; expected 8 spaces, found 2
(#139) Commas (,) must be followed by white space.
(#139) Commas (,) must be followed by white space.
(#140) Closing brace indented incorrectly; expected 2 spaces, found 8
filter/codepen/lang/en/filter_codepen.php
(#20) Spaces must be used for alignment; tabs are not allowed
(#21) Spaces must be used for alignment; tabs are not allowed
(#22) Spaces must be used for alignment; tabs are not allowed
(#23) Spaces must be used for alignment; tabs are not allowed
filter/codepen/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#21) Spaces must be used for alignment; tabs are not allowed
(#22) Spaces must be used for alignment; tabs are not allowed
(#23) Spaces must be used for alignment; tabs are not allowed
(#24) Spaces must be used for alignment; tabs are not allowed
(#32) Spaces must be used for alignment; tabs are not allowed
(#32) Tab found within whitespace
(#33) Spaces must be used for alignment; tabs are not allowed
(#33) Tab found within whitespace
(#34) Whitespace found at end of line
(#39) Whitespace found at end of line
(#41) Spaces must be used for alignment; tabs are not allowed
(#41) Tab found within whitespace
(#42) Spaces must be used for alignment; tabs are not allowed
(#42) Tab found within whitespace
(#43) Spaces must be used for alignment; tabs are not allowed
(#43) Tab found within whitespace
(#44) Spaces must be used for alignment; tabs are not allowed
(#44) Tab found within whitespace
(#45) Spaces must be used for alignment; tabs are not allowed
(#45) Tab found within whitespace
(#46) Whitespace found at end of line
(#48) Spaces must be used for alignment; tabs are not allowed
(#48) Tab found within whitespace
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
filter/codepen/version.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#22) Spaces must be used for alignment; tabs are not allowed
(#23) Spaces must be used for alignment; tabs are not allowed
(#24) Spaces must be used for alignment; tabs are not allowed
(#25) Spaces must be used for alignment; tabs are not allowed
(#28) Spaces must be used for alignment; tabs are not allowed
(#28) Tab found within whitespace
(#29) Spaces must be used for alignment; tabs are not allowed
(#29) Tab found within whitespace
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
(#31) Spaces must be used for alignment; tabs are not allowed
(#31) Tab found within whitespace
(#32) Spaces must be used for alignment; tabs are not allowed
(#32) Tab found within whitespace
(#32) 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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(9 errors, 1 warnings)

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

filter/codepen/filter.php
(#28) Class filter_codepen is not documented
(#59) Found comment starting with three or more slashes
(#61) Found comment starting with three or more slashes
(#48) Invalid inline phpdocs tag @see found
(#20) Package filter is not valid
filter/codepen/lang/en/filter_codepen.php
(#20) Package filter is not valid
filter/codepen/settings.php
(#2) Empty line found after PHP open tag
(#21) Package filter is not valid
filter/codepen/version.php
(#17) File-level phpdocs block is not found
(#22) Package filter is not valid

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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