Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(25 errors, 23 warnings)

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

blocks/newsslider/block_newsslider.php
(#77) Whitespace found at end of line
(#79) Line exceeds 132 characters; contains 144 characters
(#90) Line exceeds 132 characters; contains 157 characters
(#91) Line exceeds 132 characters; contains 159 characters
(#104) Whitespace found at end of line
(#117) global $PAGE cannot be used in block classes. Use $this->page.
(#131) This comment is 70% valid code; is this commented out code?
blocks/newsslider/classes/output/news_label.php
(#39) Whitespace found at end of line
blocks/newsslider/classes/privacy/provider.php
(#30) Missing docblock for class provider
blocks/newsslider/lang/en/block_newsslider.php
(#30) The string key "greetings" is not in the correct order, it should be before "pluginname"
(#37) The string key "newscontentdefault" is not in the correct order, it should be before "newscontentdesc"
(#40) The string key "newscycledefault" is not in the correct order, it should be before "newscycledesc"
(#44) The string key "newslabeldefault" is not in the correct order, it should be before "newslabeldesc"
(#49) The string key "newstitledefault" is not in the correct order, it should be before "newstitledesc"
(#52) The string key "newsurldefault" is not in the correct order, it should be before "newsurldesc"
(#53) The string key "myaddinstance" is not in the correct order, it should be before "newsurldefault"
(#54) The string key "addinstance" is not in the correct order, it should be before "myaddinstance"
blocks/newsslider/lang/fr/block_newsslider.php
(#30) The string key "greetings" is not in the correct order, it should be before "pluginname"
(#37) The string key "newscontentdefault" is not in the correct order, it should be before "newscontentdesc"
(#40) The string key "newscycledefault" is not in the correct order, it should be before "newscycledesc"
(#44) The string key "newslabeldefault" is not in the correct order, it should be before "newslabeldesc"
(#49) The string key "newstitledefault" is not in the correct order, it should be before "newstitledesc"
(#52) The string key "newsurldefault" is not in the correct order, it should be before "newsurldesc"
(#53) The string key "myaddinstance" is not in the correct order, it should be before "newsurldefault"
(#54) The string key "addinstance" is not in the correct order, it should be before "myaddinstance"
blocks/newsslider/loadjs.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) This comment is 75% valid code; is this commented out code?
(#30) No space found before comment text; expected "// $PAGE->requires->js('/blocks/newsslider/amd/settings.js', true);" but found "//$PAGE->requires->js('/blocks/newsslider/amd/settings.js', true);"
blocks/newsslider/settings.php
(#44) Line exceeds 132 characters; contains 138 characters
(#112) Whitespace found at end of line
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Tab found within whitespace
(#120) Whitespace found at end of line
(#171) Spaces must be used to indent lines; tabs are not allowed
(#171) Tab found within whitespace
(#171) Whitespace found at end of line
(#222) Spaces must be used to indent lines; tabs are not allowed
(#222) Tab found within whitespace
(#222) Whitespace found at end of line
(#273) Spaces must be used to indent lines; tabs are not allowed
(#273) Tab found within whitespace
(#273) Whitespace found at end of line
(#324) Spaces must be used to indent lines; tabs are not allowed
(#324) Tab found within whitespace
(#324) Whitespace found at end of line
(#375) Spaces must be used to indent lines; tabs are not allowed
(#375) Tab found within whitespace
(#375) Whitespace found at end of line

Javascript coding style problems

(142 errors, 68 warnings)

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

blocks/newsslider/amd/src/news.js
(#1) Identifier 'block_newsslider' is not in camel case. (camelcase)
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#7) Trailing spaces not allowed. (no-trailing-spaces)
(#9) Unexpected console statement. (no-console)
(#10) Trailing spaces not allowed. (no-trailing-spaces)
(#14) Trailing spaces not allowed. (no-trailing-spaces)
(#17) Trailing spaces not allowed. (no-trailing-spaces)
(#20) Trailing spaces not allowed. (no-trailing-spaces)
(#21) Comments should not begin with a lowercase character. (capitalized-comments)
(#23) Trailing spaces not allowed. (no-trailing-spaces)
(#25) Expected space(s) before "else". (keyword-spacing)
(#25) Expected space(s) after "else". (keyword-spacing)
(#28) Trailing spaces not allowed. (no-trailing-spaces)
(#30) Trailing spaces not allowed. (no-trailing-spaces)
(#32) Trailing spaces not allowed. (no-trailing-spaces)
(#34) Comments should not begin with a lowercase character. (capitalized-comments)
(#34) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Trailing spaces not allowed. (no-trailing-spaces)
(#36) This line has a length of 133. Maximum allowed is 132. (max-len)
(#38) Trailing spaces not allowed. (no-trailing-spaces)
(#39) Trailing spaces not allowed. (no-trailing-spaces)
(#42) Trailing spaces not allowed. (no-trailing-spaces)
(#44) 'newsLoop' is not defined. (no-undef)
(#45) Trailing spaces not allowed. (no-trailing-spaces)
(#46) This line has a length of 137. Maximum allowed is 132. (max-len)
(#46) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Expected space or tab after '//' in comment. (spaced-comment)
(#47) Trailing spaces not allowed. (no-trailing-spaces)
(#50) Trailing spaces not allowed. (no-trailing-spaces)
(#51) This line has a length of 148. Maximum allowed is 132. (max-len)
(#52) This line has a length of 283. Maximum allowed is 132. (max-len)
(#52) Statement inside of curly braces should be on next line. (brace-style)
(#52) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#54) This line has a length of 142. Maximum allowed is 132. (max-len)
(#55) Trailing spaces not allowed. (no-trailing-spaces)
(#56) This line has a length of 164. Maximum allowed is 132. (max-len)
(#57) This line has a length of 235. Maximum allowed is 132. (max-len)
(#57) Expected space(s) after "if". (keyword-spacing)
(#58) Trailing spaces not allowed. (no-trailing-spaces)
(#64) This line has a length of 149. Maximum allowed is 132. (max-len)
(#65) Trailing spaces not allowed. (no-trailing-spaces)
(#68) Trailing spaces not allowed. (no-trailing-spaces)
(#69) This line has a length of 182. Maximum allowed is 132. (max-len)
(#70) This line has a length of 149. Maximum allowed is 132. (max-len)
(#71) This line has a length of 149. Maximum allowed is 132. (max-len)
(#72) Trailing spaces not allowed. (no-trailing-spaces)
(#73) This line has a length of 169. Maximum allowed is 132. (max-len)
(#74) This line has a length of 240. Maximum allowed is 132. (max-len)
(#74) Expected space(s) after "if". (keyword-spacing)
(#75) Trailing spaces not allowed. (no-trailing-spaces)
(#76) This line has a length of 133. Maximum allowed is 132. (max-len)
(#77) Missing semicolon. (@babel/semi)
(#78) Trailing spaces not allowed. (no-trailing-spaces)
(#79) Trailing spaces not allowed. (no-trailing-spaces)
(#82) This line has a length of 137. Maximum allowed is 132. (max-len)
(#83) Trailing spaces not allowed. (no-trailing-spaces)
(#85) Expected space(s) after "if". (keyword-spacing)
(#85) Missing space before opening brace. (space-before-blocks)
(#87) Missing space before opening brace. (space-before-blocks)
(#88) This line has a length of 146. Maximum allowed is 132. (max-len)
(#90) This line has a length of 134. Maximum allowed is 132. (max-len)
(#92) Trailing spaces not allowed. (no-trailing-spaces)
(#97) This line has a length of 134. Maximum allowed is 132. (max-len)
(#100) Trailing spaces not allowed. (no-trailing-spaces)
(#102) Expected space(s) before "else". (keyword-spacing)
(#102) Expected space(s) after "else". (keyword-spacing)
(#106) Trailing spaces not allowed. (no-trailing-spaces)
(#107) Trailing spaces not allowed. (no-trailing-spaces)
(#108) Trailing spaces not allowed. (no-trailing-spaces)
(#109) This line has a length of 154. Maximum allowed is 132. (max-len)
(#109) Comments should not begin with a lowercase character. (capitalized-comments)
(#109) Expected space or tab after '//' in comment. (spaced-comment)
(#110) Trailing spaces not allowed. (no-trailing-spaces)
(#113) Trailing spaces not allowed. (no-trailing-spaces)
(#114) This line has a length of 175. Maximum allowed is 132. (max-len)
(#115) This line has a length of 283. Maximum allowed is 132. (max-len)
(#115) Statement inside of curly braces should be on next line. (brace-style)
(#115) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#117) This line has a length of 142. Maximum allowed is 132. (max-len)
(#118) Trailing spaces not allowed. (no-trailing-spaces)
(#119) This line has a length of 135. Maximum allowed is 132. (max-len)
(#120) This line has a length of 235. Maximum allowed is 132. (max-len)
(#120) Expected space(s) after "if". (keyword-spacing)
(#121) Trailing spaces not allowed. (no-trailing-spaces)
(#125) Missing semicolon. (@babel/semi)
(#126) Missing semicolon. (@babel/semi)
(#127) This line has a length of 149. Maximum allowed is 132. (max-len)
(#128) Trailing spaces not allowed. (no-trailing-spaces)
(#129) Trailing spaces not allowed. (no-trailing-spaces)
(#132) Trailing spaces not allowed. (no-trailing-spaces)
(#133) This line has a length of 182. Maximum allowed is 132. (max-len)
(#134) This line has a length of 149. Maximum allowed is 132. (max-len)
(#135) This line has a length of 149. Maximum allowed is 132. (max-len)
(#136) Trailing spaces not allowed. (no-trailing-spaces)
(#137) This line has a length of 169. Maximum allowed is 132. (max-len)
(#138) This line has a length of 240. Maximum allowed is 132. (max-len)
(#138) Expected space(s) after "if". (keyword-spacing)
(#139) Trailing spaces not allowed. (no-trailing-spaces)
(#140) This line has a length of 133. Maximum allowed is 132. (max-len)
(#142) Trailing spaces not allowed. (no-trailing-spaces)
(#145) This line has a length of 137. Maximum allowed is 132. (max-len)
(#146) Trailing spaces not allowed. (no-trailing-spaces)
(#148) Expected space(s) after "if". (keyword-spacing)
(#148) Missing space before opening brace. (space-before-blocks)
(#150) Missing space before opening brace. (space-before-blocks)
(#151) This line has a length of 146. Maximum allowed is 132. (max-len)
(#153) This line has a length of 134. Maximum allowed is 132. (max-len)
(#155) Trailing spaces not allowed. (no-trailing-spaces)
(#160) This line has a length of 134. Maximum allowed is 132. (max-len)
(#163) Trailing spaces not allowed. (no-trailing-spaces)
(#165) Expected space(s) before "else". (keyword-spacing)
(#165) Expected space(s) after "else". (keyword-spacing)
(#166) This line has a length of 142. Maximum allowed is 132. (max-len)
(#169) Trailing spaces not allowed. (no-trailing-spaces)
(#170) Trailing spaces not allowed. (no-trailing-spaces)
(#171) Trailing spaces not allowed. (no-trailing-spaces)
(#172) This line has a length of 137. Maximum allowed is 132. (max-len)
(#172) Comments should not begin with a lowercase character. (capitalized-comments)
(#172) Expected space or tab after '//' in comment. (spaced-comment)
(#173) Trailing spaces not allowed. (no-trailing-spaces)
(#175) Trailing spaces not allowed. (no-trailing-spaces)
(#178) Trailing spaces not allowed. (no-trailing-spaces)
(#180) Trailing spaces not allowed. (no-trailing-spaces)
(#182) Trailing spaces not allowed. (no-trailing-spaces)
(#188) Trailing spaces not allowed. (no-trailing-spaces)
(#189) This line has a length of 175. Maximum allowed is 132. (max-len)
(#190) This line has a length of 141. Maximum allowed is 132. (max-len)
(#191) This line has a length of 141. Maximum allowed is 132. (max-len)
(#192) Trailing spaces not allowed. (no-trailing-spaces)
(#193) This line has a length of 137. Maximum allowed is 132. (max-len)
(#194) This line has a length of 151. Maximum allowed is 132. (max-len)
(#194) Trailing spaces not allowed. (no-trailing-spaces)
(#195) This line has a length of 232. Maximum allowed is 132. (max-len)
(#195) Expected space(s) after "if". (keyword-spacing)
(#196) Trailing spaces not allowed. (no-trailing-spaces)
(#200) Missing semicolon. (@babel/semi)
(#201) Missing semicolon. (@babel/semi)
(#203) Trailing spaces not allowed. (no-trailing-spaces)
(#204) This line has a length of 146. Maximum allowed is 132. (max-len)
(#206) Trailing spaces not allowed. (no-trailing-spaces)
(#207) This line has a length of 144. Maximum allowed is 132. (max-len)
(#208) This line has a length of 279. Maximum allowed is 132. (max-len)
(#208) Statement inside of curly braces should be on next line. (brace-style)
(#208) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#210) This line has a length of 138. Maximum allowed is 132. (max-len)
(#211) Trailing spaces not allowed. (no-trailing-spaces)
(#213) This line has a length of 231. Maximum allowed is 132. (max-len)
(#213) Expected space(s) after "if". (keyword-spacing)
(#214) Trailing spaces not allowed. (no-trailing-spaces)
(#220) This line has a length of 145. Maximum allowed is 132. (max-len)
(#221) Trailing spaces not allowed. (no-trailing-spaces)
(#223) Trailing spaces not allowed. (no-trailing-spaces)
(#224) Missing semicolon. (@babel/semi)
(#226) Trailing spaces not allowed. (no-trailing-spaces)
(#229) This line has a length of 167. Maximum allowed is 132. (max-len)
(#230) This line has a length of 175. Maximum allowed is 132. (max-len)
(#230) Comments should not begin with a lowercase character. (capitalized-comments)
(#230) Expected space or tab after '//' in comment. (spaced-comment)
(#231) Trailing spaces not allowed. (no-trailing-spaces)
(#232) Expected space or tab after '//' in comment. (spaced-comment)
(#233) This line has a length of 136. Maximum allowed is 132. (max-len)
(#234) Trailing spaces not allowed. (no-trailing-spaces)
(#237) Comments should not begin with a lowercase character. (capitalized-comments)
(#240) Unexpected space before function parentheses. (space-before-function-paren)
(#241) Comments should not begin with a lowercase character. (capitalized-comments)
(#245) Missing semicolon. (@babel/semi)
(#248) Missing semicolon. (@babel/semi)
blocks/newsslider/amd/src/settings.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) This line has a length of 178. Maximum allowed is 132. (max-len)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Operator '+' must be spaced. (space-infix-ops)
(#3) Trailing spaces not allowed. (no-trailing-spaces)
(#4) Trailing spaces not allowed. (no-trailing-spaces)
(#7) Comments should not begin with a lowercase character. (capitalized-comments)
(#7) Expected space or tab after '//' in comment. (spaced-comment)
(#8) Expected space(s) after "if". (keyword-spacing)
(#10) A space is required after ','. (comma-spacing)
(#13) '$idelmnts' is not defined. (no-undef)
(#14) This line has a length of 186. Maximum allowed is 132. (max-len)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) '$idelmnts' is not defined. (no-undef)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) '$idelmnts' is not defined. (no-undef)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) '$idelmnts' is not defined. (no-undef)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) Operator '+' must be spaced. (space-infix-ops)
(#14) '$idelmnts' is not defined. (no-undef)
(#18) A space is required after ','. (comma-spacing)
(#21) '$idelmnts' is not defined. (no-undef)
(#22) This line has a length of 188. Maximum allowed is 132. (max-len)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) '$idelmnts' is not defined. (no-undef)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) '$idelmnts' is not defined. (no-undef)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) '$idelmnts' is not defined. (no-undef)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) '$idelmnts' is not defined. (no-undef)
(#22) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(192 errors, 10 warnings)

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

blocks/newsslider/styles.css
(#153) Unknown property `text-wrap` (csstree/validator)
(#257) Expected empty line before at-rule (at-rule-empty-line-before)
(#129) Unexpected duplicate "min-width" (declaration-block-no-duplicate-properties)
(#9) Unexpected !important (declaration-no-important)
(#12) Unexpected !important (declaration-no-important)
(#15) Unexpected !important (declaration-no-important)
(#29) Unexpected !important (declaration-no-important)
(#79) Unexpected !important (declaration-no-important)
(#127) Unexpected !important (declaration-no-important)
(#132) Unexpected !important (declaration-no-important)
(#135) Unexpected !important (declaration-no-important)
(#149) Unexpected !important (declaration-no-important)
(#206) Unexpected !important (declaration-no-important)
(#270) Unexpected !important (declaration-no-important)
(#271) Unexpected !important (declaration-no-important)
(#272) Unexpected !important (declaration-no-important)
(#276) Unexpected !important (declaration-no-important)
(#62) Expected line length to be no more than 132 characters (max-line-length)
(#72) Expected line length to be no more than 132 characters (max-line-length)
(#131) Expected line length to be no more than 132 characters (max-line-length)
(#172) Expected line length to be no more than 132 characters (max-line-length)
(#182) Expected line length to be no more than 132 characters (max-line-length)
(#189) Expected line length to be no more than 132 characters (max-line-length)
(#196) Expected line length to be no more than 132 characters (max-line-length)
(#199) Expected line length to be no more than 132 characters (max-line-length)
(#203) Expected line length to be no more than 132 characters (max-line-length)
(#275) Expected line length to be no more than 132 characters (max-line-length)
(#11) Expected newline after "," (selector-list-comma-newline-after)
(#131) Expected newline after "," (selector-list-comma-newline-after)
(#275) Expected newline after "," (selector-list-comma-newline-after)
(#275) Expected newline after "," (selector-list-comma-newline-after)
(#6) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) 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)
(#48) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#128) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#141) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#150) Expected indentation of 4 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#156) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#168) Expected indentation of 4 spaces (indentation)
(#169) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#180) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 4 spaces (indentation)
(#186) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 4 spaces (indentation)
(#190) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#234) Expected indentation of 4 spaces (indentation)
(#237) Expected indentation of 4 spaces (indentation)
(#238) Expected indentation of 4 spaces (indentation)
(#239) Expected indentation of 4 spaces (indentation)
(#242) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#246) Expected indentation of 4 spaces (indentation)
(#247) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 8 spaces (indentation)
(#253) Expected indentation of 8 spaces (indentation)
(#254) Expected indentation of 8 spaces (indentation)
(#258) Expected indentation of 4 spaces (indentation)
(#262) Expected indentation of 4 spaces (indentation)
(#259) Expected indentation of 8 spaces (indentation)
(#260) Expected indentation of 8 spaces (indentation)
(#261) Expected indentation of 8 spaces (indentation)
(#265) Expected indentation of 4 spaces (indentation)
(#266) Expected indentation of 4 spaces (indentation)
(#270) Expected indentation of 4 spaces (indentation)
(#271) Expected indentation of 4 spaces (indentation)
(#272) Expected indentation of 4 spaces (indentation)
(#276) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(5 errors, 0 warnings)

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

blocks/newsslider/block_newsslider.php
(#112) Phpdocs for function block_newsslider::get_required_javascript has incomplete parameters list
blocks/newsslider/classes/output/list_news_item.php
(#68) Phpdocs for function list_news_item::__construct has incomplete parameters list
blocks/newsslider/classes/output/renderer.php
(#41) Phpdocs for function renderer::render_news_label has incomplete parameters list
(#52) Phpdocs for function renderer::render_list_news_item has incomplete parameters list
(#63) Phpdocs for function renderer::render_list_news has incomplete parameters list

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 "eslint:amd" 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, 5 warnings)

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

blocks/newsslider/templates/list_news_item.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Stray end tag “div”. (/ul></div></div><span )
blocks/newsslider/templates/news_label.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: End tag for “body” seen, but there were unclosed elements. ( </span></body></html)
(#1) HTML Validation error, line 2: Unclosed element “div”. (ad><body><div id="newsLabelContent"> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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