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

(8 errors, 21 warnings)

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

blocks/newsslider/block_newsslider.php
(#24) Invalid docblock tag "@thanks".
(#79) Line exceeds 132 characters; contains 150 characters
(#89) Line exceeds 132 characters; contains 168 characters
(#90) Line exceeds 132 characters; contains 172 characters
(#91) Line exceeds 132 characters; contains 137 characters
blocks/newsslider/classes/output/news.php
(#42) Member variable "news_label" must not contain underscores.
(#47) Member variable "list_news" must not contain underscores.
(#55) Variable "news_label" must not contain underscores.
(#55) Variable "list_news" must not contain underscores.
(#56) Variable "news_label" must not contain underscores.
(#57) Variable "list_news" must not contain underscores.
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/settings.php
(#25) Invalid docblock tag "@thanks".
(#43) Line exceeds 132 characters; contains 138 characters

Javascript coding style problems

(100 errors, 70 warnings)

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

blocks/newsslider/amd/src/news_amd.js
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#52) Expected space(s) before "else". (keyword-spacing)
(#52) Expected space(s) after "else". (keyword-spacing)
(#61) Comments should not begin with a lowercase character. (capitalized-comments)
(#61) Expected space or tab after '//' in comment. (spaced-comment)
(#61) Trailing spaces not allowed. (no-trailing-spaces)
(#69) This line has a length of 171. Maximum allowed is 132. (max-len)
(#70) This line has a length of 137. Maximum allowed is 132. (max-len)
(#71) This line has a length of 137. Maximum allowed is 132. (max-len)
(#73) This line has a length of 133. Maximum allowed is 132. (max-len)
(#74) This line has a length of 146. Maximum allowed is 132. (max-len)
(#75) This line has a length of 228. Maximum allowed is 132. (max-len)
(#75) Expected space(s) after "if". (keyword-spacing)
(#80) Missing semicolon. (@babel/semi)
(#81) Missing semicolon. (@babel/semi)
(#84) This line has a length of 142. Maximum allowed is 132. (max-len)
(#87) This line has a length of 140. Maximum allowed is 132. (max-len)
(#88) This line has a length of 275. Maximum allowed is 132. (max-len)
(#88) Statement inside of curly braces should be on next line. (brace-style)
(#88) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#90) This line has a length of 134. Maximum allowed is 132. (max-len)
(#93) This line has a length of 227. Maximum allowed is 132. (max-len)
(#93) Expected space(s) after "if". (keyword-spacing)
(#100) This line has a length of 141. Maximum allowed is 132. (max-len)
(#104) Missing semicolon. (@babel/semi)
(#109) This line has a length of 163. Maximum allowed is 132. (max-len)
(#110) This line has a length of 171. Maximum allowed is 132. (max-len)
(#110) Comments should not begin with a lowercase character. (capitalized-comments)
(#110) Expected space or tab after '//' in comment. (spaced-comment)
(#112) Expected space or tab after '//' in comment. (spaced-comment)
(#117) Comments should not begin with a lowercase character. (capitalized-comments)
(#120) Unexpected space before function parentheses. (space-before-function-paren)
(#121) Comments should not begin with a lowercase character. (capitalized-comments)
(#125) Missing semicolon. (@babel/semi)
(#128) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#131) 'newsLoop' is not defined. (no-undef)
(#132) Trailing spaces not allowed. (no-trailing-spaces)
(#133) This line has a length of 133. Maximum allowed is 132. (max-len)
(#133) Comments should not begin with a lowercase character. (capitalized-comments)
(#133) Expected space or tab after '//' in comment. (spaced-comment)
(#134) Trailing spaces not allowed. (no-trailing-spaces)
(#137) Trailing spaces not allowed. (no-trailing-spaces)
(#138) This line has a length of 144. Maximum allowed is 132. (max-len)
(#139) This line has a length of 279. Maximum allowed is 132. (max-len)
(#139) Statement inside of curly braces should be on next line. (brace-style)
(#139) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#141) This line has a length of 138. Maximum allowed is 132. (max-len)
(#142) Trailing spaces not allowed. (no-trailing-spaces)
(#143) This line has a length of 160. Maximum allowed is 132. (max-len)
(#144) This line has a length of 231. Maximum allowed is 132. (max-len)
(#144) Expected space(s) after "if". (keyword-spacing)
(#145) Trailing spaces not allowed. (no-trailing-spaces)
(#151) This line has a length of 145. Maximum allowed is 132. (max-len)
(#152) Trailing spaces not allowed. (no-trailing-spaces)
(#155) Trailing spaces not allowed. (no-trailing-spaces)
(#156) This line has a length of 178. Maximum allowed is 132. (max-len)
(#157) This line has a length of 145. Maximum allowed is 132. (max-len)
(#158) This line has a length of 145. Maximum allowed is 132. (max-len)
(#159) Trailing spaces not allowed. (no-trailing-spaces)
(#160) This line has a length of 165. Maximum allowed is 132. (max-len)
(#161) This line has a length of 236. Maximum allowed is 132. (max-len)
(#161) Expected space(s) after "if". (keyword-spacing)
(#162) Trailing spaces not allowed. (no-trailing-spaces)
(#164) Missing semicolon. (@babel/semi)
(#165) Trailing spaces not allowed. (no-trailing-spaces)
(#169) This line has a length of 133. Maximum allowed is 132. (max-len)
(#170) Trailing spaces not allowed. (no-trailing-spaces)
(#172) Expected space(s) after "if". (keyword-spacing)
(#172) Missing space before opening brace. (space-before-blocks)
(#174) Missing space before opening brace. (space-before-blocks)
(#175) This line has a length of 142. Maximum allowed is 132. (max-len)
(#179) Trailing spaces not allowed. (no-trailing-spaces)
(#187) Trailing spaces not allowed. (no-trailing-spaces)
(#189) Expected space(s) before "else". (keyword-spacing)
(#189) Expected space(s) after "else". (keyword-spacing)
(#193) Trailing spaces not allowed. (no-trailing-spaces)
(#195) Trailing spaces not allowed. (no-trailing-spaces)
(#196) This line has a length of 150. Maximum allowed is 132. (max-len)
(#196) Comments should not begin with a lowercase character. (capitalized-comments)
(#196) Expected space or tab after '//' in comment. (spaced-comment)
(#197) Trailing spaces not allowed. (no-trailing-spaces)
(#200) Trailing spaces not allowed. (no-trailing-spaces)
(#201) This line has a length of 171. Maximum allowed is 132. (max-len)
(#202) This line has a length of 279. Maximum allowed is 132. (max-len)
(#202) Statement inside of curly braces should be on next line. (brace-style)
(#202) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#204) This line has a length of 138. Maximum allowed is 132. (max-len)
(#205) Trailing spaces not allowed. (no-trailing-spaces)
(#207) This line has a length of 231. Maximum allowed is 132. (max-len)
(#207) Expected space(s) after "if". (keyword-spacing)
(#208) Trailing spaces not allowed. (no-trailing-spaces)
(#212) Missing semicolon. (@babel/semi)
(#213) Missing semicolon. (@babel/semi)
(#214) This line has a length of 145. Maximum allowed is 132. (max-len)
(#215) Trailing spaces not allowed. (no-trailing-spaces)
(#216) Trailing spaces not allowed. (no-trailing-spaces)
(#219) Trailing spaces not allowed. (no-trailing-spaces)
(#220) This line has a length of 178. Maximum allowed is 132. (max-len)
(#221) This line has a length of 145. Maximum allowed is 132. (max-len)
(#222) This line has a length of 145. Maximum allowed is 132. (max-len)
(#223) Trailing spaces not allowed. (no-trailing-spaces)
(#224) This line has a length of 165. Maximum allowed is 132. (max-len)
(#225) This line has a length of 236. Maximum allowed is 132. (max-len)
(#225) Expected space(s) after "if". (keyword-spacing)
(#226) Trailing spaces not allowed. (no-trailing-spaces)
(#232) This line has a length of 133. Maximum allowed is 132. (max-len)
(#233) Trailing spaces not allowed. (no-trailing-spaces)
(#235) Expected space(s) after "if". (keyword-spacing)
(#235) Missing space before opening brace. (space-before-blocks)
(#237) Missing space before opening brace. (space-before-blocks)
(#238) This line has a length of 142. Maximum allowed is 132. (max-len)
(#242) Trailing spaces not allowed. (no-trailing-spaces)
(#250) Trailing spaces not allowed. (no-trailing-spaces)
(#252) Expected space(s) before "else". (keyword-spacing)
(#252) Expected space(s) after "else". (keyword-spacing)
(#253) This line has a length of 138. Maximum allowed is 132. (max-len)
(#256) Trailing spaces not allowed. (no-trailing-spaces)
(#258) Trailing spaces not allowed. (no-trailing-spaces)
(#259) This line has a length of 133. Maximum allowed is 132. (max-len)
(#259) Comments should not begin with a lowercase character. (capitalized-comments)
(#259) Expected space or tab after '//' in comment. (spaced-comment)
(#260) Trailing spaces not allowed. (no-trailing-spaces)
(#262) Trailing spaces not allowed. (no-trailing-spaces)
(#265) Trailing spaces not allowed. (no-trailing-spaces)
(#267) Trailing spaces not allowed. (no-trailing-spaces)
(#268) Unnecessary semicolon. (no-extra-semi)
(#274) Unexpected space before function parentheses. (space-before-function-paren)
blocks/newsslider/amd/src/settings_amd.js
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#30) This line has a length of 178. Maximum allowed is 132. (max-len)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#34) Comments should not begin with a lowercase character. (capitalized-comments)
(#34) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Expected space(s) after "if". (keyword-spacing)
(#37) A space is required after ','. (comma-spacing)
(#40) '$idelmnts' is not defined. (no-undef)
(#41) This line has a length of 194. Maximum allowed is 132. (max-len)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) '$idelmnts' is not defined. (no-undef)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) '$idelmnts' is not defined. (no-undef)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) '$idelmnts' is not defined. (no-undef)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) Operator '+' must be spaced. (space-infix-ops)
(#41) '$idelmnts' is not defined. (no-undef)
(#45) A space is required after ','. (comma-spacing)
(#48) '$idelmnts' is not defined. (no-undef)
(#49) This line has a length of 194. Maximum allowed is 132. (max-len)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) '$idelmnts' is not defined. (no-undef)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) '$idelmnts' is not defined. (no-undef)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) '$idelmnts' is not defined. (no-undef)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) Operator '+' must be spaced. (space-infix-ops)
(#49) '$idelmnts' is not defined. (no-undef)
(#57) Unexpected space before function parentheses. (space-before-function-paren)

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

(7 errors, 0 warnings)

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

blocks/newsslider/block_newsslider.php
(#111) 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/news.php
(#52) Phpdocs for function news::__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
(#74) Phpdocs for function renderer::render_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, 3 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.)
blocks/newsslider/templates/news.mustache
(#1) Example context missing (@template section not found.)
blocks/newsslider/templates/news_label.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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