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

(155 errors, 25 warnings)

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

blocks/intelliboard/ajax.php
(#38) Variable "teacher_roles" must not contain underscores.
(#39) Variable "learner_roles" must not contain underscores.
(#41) Variable "grade_avg" must not contain underscores.
(#42) Variable "grade_single" must not contain underscores.
(#50) Usage of ELSEIF not allowed; use ELSE IF instead
(#64) Variable "learner_roles" must not contain underscores.
(#68) Usage of ELSEIF not allowed; use ELSE IF instead
(#75) Line exceeds 132 characters; contains 142 characters
(#78) Usage of ELSEIF not allowed; use ELSE IF instead
(#85) Line exceeds 132 characters; contains 134 characters
(#94) Line exceeds 132 characters; contains 140 characters
(#128) Usage of ELSEIF not allowed; use ELSE IF instead
(#136) Variable "learner_roles" must not contain underscores.
(#146) Line exceeds maximum limit of 180 characters; contains 222 characters
(#146) Variable "grade_avg" must not contain underscores.
(#150) Line exceeds maximum limit of 180 characters; contains 376 characters
(#155) Line exceeds maximum limit of 180 characters; contains 244 characters
(#155) Variable "grade_single" must not contain underscores.
(#159) Line exceeds maximum limit of 180 characters; contains 225 characters
(#167) Variable "grade_avg" must not contain underscores.
(#170) Line exceeds maximum limit of 180 characters; contains 371 characters
(#177) Variable "grade_single" must not contain underscores.
(#180) Line exceeds maximum limit of 180 characters; contains 220 characters
(#211) Usage of ELSEIF not allowed; use ELSE IF instead
(#212) Variable "sql_columns" must not contain underscores.
(#214) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#215) Variable "sql_columns" must not contain underscores.
(#217) Variable "sql_columns" must not contain underscores.
(#217) Expected 1 space after "="; 2 found
(#217) Variable "sql_columns" must not contain underscores.
(#217) Variable "sql_columns" must not contain underscores.
(#220) Expected 1 space before "=>"; 0 found
(#220) Expected 1 space after "=>"; 0 found
(#221) Expected 1 space before "=>"; 0 found
(#221) Expected 1 space after "=>"; 0 found
(#222) Expected 1 space before "=>"; 0 found
(#222) Expected 1 space after "=>"; 0 found
(#223) Expected 1 space before "=>"; 0 found
(#223) Expected 1 space after "=>"; 0 found
(#224) Expected 1 space before "=>"; 0 found
(#224) Expected 1 space after "=>"; 0 found
(#226) Variable "learner_roles" must not contain underscores.
(#228) Line exceeds maximum limit of 180 characters; contains 217 characters
(#236) Variable "sql_columns" must not contain underscores.
(#239) Line exceeds maximum limit of 180 characters; contains 323 characters
(#239) Variable "grade_avg" must not contain underscores.
(#240) Line exceeds maximum limit of 180 characters; contains 184 characters
(#241) Line exceeds maximum limit of 180 characters; contains 365 characters
(#245) Variable "max_time" must not contain underscores.
(#247) Variable "max_time" must not contain underscores.
(#247) Expected 1 space before "<"; 0 found
(#247) Expected 1 space after "<"; 0 found
(#248) Variable "max_time" must not contain underscores.
(#254) Variable "max_time" must not contain underscores.
(#254) Variable "max_time" must not contain underscores.
(#264) Expected 1 space before "=>"; 0 found
(#264) Expected 1 space before "=>"; 0 found
(#264) Expected 1 space after "=>"; 0 found
(#264) Line exceeds maximum limit of 180 characters; contains 207 characters
(#271) Expected 1 space before "=>"; 0 found
(#271) Expected 1 space before "=>"; 0 found
(#271) Expected 1 space after "=>"; 0 found
(#271) Line exceeds maximum limit of 180 characters; contains 221 characters
(#280) Expected 1 space before "=>"; 0 found
(#280) Expected 1 space before "=>"; 0 found
(#280) Expected 1 space after "=>"; 0 found
(#280) Line exceeds maximum limit of 180 characters; contains 215 characters
(#286) Usage of ELSEIF not allowed; use ELSE IF instead
(#288) Expected 1 space before "=>"; 0 found
(#288) Expected 1 space after "=>"; 0 found
(#289) Expected 1 space before "=>"; 0 found
(#289) Expected 1 space after "=>"; 0 found
(#290) Expected 1 space before "=>"; 0 found
(#290) Expected 1 space after "=>"; 0 found
(#291) Expected 1 space before "=>"; 0 found
(#291) Expected 1 space after "=>"; 0 found
(#292) Expected 1 space before "=>"; 0 found
(#292) Expected 1 space after "=>"; 0 found
(#313) Line exceeds 132 characters; contains 140 characters
(#338) Variable "grade_single" must not contain underscores.
(#342) Variable "grade_single" must not contain underscores.
(#346) Variable "grade_single" must not contain underscores.
(#350) Variable "grade_single" must not contain underscores.
(#354) Variable "grade_single" must not contain underscores.
(#358) Usage of ELSEIF not allowed; use ELSE IF instead
(#363) Expected 1 space before "=>"; 0 found
(#363) Expected 1 space after "=>"; 0 found
(#363) Expected 1 space before "=>"; 0 found
(#374) Variable "grade_single" must not contain underscores.
(#379) Line exceeds 132 characters; contains 136 characters
(#390) Line exceeds 132 characters; contains 164 characters
(#393) Variable "sql_columns" must not contain underscores.
(#395) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#396) Variable "sql_columns" must not contain underscores.
(#398) Variable "sql_columns" must not contain underscores.
(#398) Expected 1 space after "="; 2 found
(#398) Variable "sql_columns" must not contain underscores.
(#398) Variable "sql_columns" must not contain underscores.
(#410) Variable "sql_columns" must not contain underscores.
(#437) Variable "sql_columns" must not contain underscores.
(#451) Expected "} else {\n"; found "}else{\n"
(#452) Expected 1 space after first semicolon of FOR loop; 0 found
(#452) Expected 1 space after second semicolon of FOR loop; 0 found
(#452) Expected 1 space before "="; 0 found
(#452) Expected 1 space after "="; 0 found
(#452) Expected 1 space before "<"; 0 found
(#452) Expected 1 space after "<"; 0 found
(#470) Line exceeds 132 characters; contains 152 characters
(#476) Expected 1 space after "="; 2 found
(#481) Usage of ELSEIF not allowed; use ELSE IF instead
(#484) Usage of ELSEIF not allowed; use ELSE IF instead
(#486) Line exceeds 132 characters; contains 170 characters
(#491) Usage of ELSEIF not allowed; use ELSE IF instead
(#494) Usage of ELSEIF not allowed; use ELSE IF instead
(#495) Line exceeds 132 characters; contains 175 characters
blocks/intelliboard/block_intelliboard.php
(#91) Usage of ELSEIF not allowed; use ELSE IF instead
(#120) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space after "=>"; 0 found
(#126) Line exceeds 132 characters; contains 136 characters
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space after "=>"; 0 found
(#133) Line exceeds 132 characters; contains 137 characters
(#134) Expected 1 space before "=>"; 0 found
(#134) Expected 1 space after "=>"; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Commas (,) must be followed by white space.
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Line exceeds 132 characters; contains 136 characters
(#159) Line exceeds 132 characters; contains 154 characters
(#163) Expected 1 space before "=>"; 0 found
(#163) Expected 1 space after "=>"; 0 found
(#163) Commas (,) must be followed by white space.
(#163) Expected 1 space before "=>"; 0 found
(#163) Expected 1 space after "=>"; 0 found
(#163) Line exceeds 132 characters; contains 140 characters
(#164) Line exceeds 132 characters; contains 154 characters
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#168) Commas (,) must be followed by white space.
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#168) Line exceeds 132 characters; contains 138 characters
(#169) Line exceeds 132 characters; contains 154 characters
(#171) Expected 1 space before "=>"; 0 found
(#171) Expected 1 space after "=>"; 0 found
(#171) Commas (,) must be followed by white space.
(#171) Expected 1 space before "=>"; 0 found
(#171) Expected 1 space after "=>"; 0 found
(#171) Line exceeds 132 characters; contains 139 characters
(#172) Line exceeds 132 characters; contains 176 characters
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Commas (,) must be followed by white space.
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Line exceeds 132 characters; contains 148 characters
(#180) Line exceeds 132 characters; contains 143 characters
blocks/intelliboard/db/access.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/intelliboard/db/upgrade.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/intelliboard/edit_form.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#48) Line exceeds 132 characters; contains 141 characters
(#54) Line exceeds 132 characters; contains 144 characters
blocks/intelliboard/settings.php
(#29) Empty IF statement detected

Javascript coding style problems

(264 errors, 123 warnings)

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

blocks/intelliboard/script.js
(#26) Identifier 'intelliboard_block_data' is not in camel case. (camelcase)
(#27) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#29) Missing JSDoc comment. (require-jsdoc)
(#29) Identifier 'intelliboard_block_lang' is not in camel case. (camelcase)
(#29) Missing space before opening brace. (space-before-blocks)
(#30) Unexpected tab character. (no-tabs)
(#30) Expected space(s) after "if". (keyword-spacing)
(#30) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#30) Missing space before opening brace. (space-before-blocks)
(#31) Unexpected tab character. (no-tabs)
(#31) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#32) Unexpected tab character. (no-tabs)
(#32) Expected space(s) after "else". (keyword-spacing)
(#32) Expected space(s) before "else". (keyword-spacing)
(#33) Unexpected tab character. (no-tabs)
(#34) Unexpected tab character. (no-tabs)
(#36) Missing JSDoc comment. (require-jsdoc)
(#36) 'intelliboard_block_init' is defined but never used. (no-unused-vars)
(#36) Identifier 'intelliboard_block_init' is not in camel case. (camelcase)
(#36) Missing space before opening brace. (space-before-blocks)
(#37) Unexpected tab character. (no-tabs)
(#37) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#39) Unexpected tab character. (no-tabs)
(#39) 'jQuery' is not defined. (no-undef)
(#39) Missing space before opening brace. (space-before-blocks)
(#40) Unexpected tab character. (no-tabs)
(#41) Unexpected tab character. (no-tabs)
(#42) Unexpected tab character. (no-tabs)
(#42) 'jQuery' is not defined. (no-undef)
(#43) Unexpected tab character. (no-tabs)
(#44) Unexpected tab character. (no-tabs)
(#45) Unexpected tab character. (no-tabs)
(#45) 'jQuery' is not defined. (no-undef)
(#46) Unexpected tab character. (no-tabs)
(#46) 'jQuery' is not defined. (no-undef)
(#47) Unexpected tab character. (no-tabs)
(#47) 'jQuery' is not defined. (no-undef)
(#48) Unexpected tab character. (no-tabs)
(#48) 'jQuery' is not defined. (no-undef)
(#48) Infix operators must be spaced. (space-infix-ops)
(#49) Unexpected tab character. (no-tabs)
(#49) 'jQuery' is not defined. (no-undef)
(#51) Unexpected tab character. (no-tabs)
(#51) 'jQuery' is not defined. (no-undef)
(#52) Unexpected tab character. (no-tabs)
(#52) 'jQuery' is not defined. (no-undef)
(#53) Unexpected tab character. (no-tabs)
(#54) Unexpected tab character. (no-tabs)
(#55) Unexpected tab character. (no-tabs)
(#56) Unexpected tab character. (no-tabs)
(#57) Unexpected tab character. (no-tabs)
(#57) 'jQuery' is not defined. (no-undef)
(#58) 'jQuery' is not defined. (no-undef)
(#58) Unexpected tab character. (no-tabs)
(#60) Unexpected tab character. (no-tabs)
(#60) 'jQuery' is not defined. (no-undef)
(#63) 'jQuery' is not defined. (no-undef)
(#63) Unexpected tab character. (no-tabs)
(#63) Missing space before opening brace. (space-before-blocks)
(#64) Unexpected tab character. (no-tabs)
(#64) 'jQuery' is not defined. (no-undef)
(#65) Unexpected tab character. (no-tabs)
(#65) 'jQuery' is not defined. (no-undef)
(#67) Unexpected tab character. (no-tabs)
(#67) Expected space(s) after "if". (keyword-spacing)
(#67) Identifier 'intelliboard_block_data' is not in camel case. (camelcase)
(#67) Missing space before opening brace. (space-before-blocks)
(#68) Unexpected tab character. (no-tabs)
(#68) Unexpected console statement. (no-console)
(#69) Unexpected tab character. (no-tabs)
(#69) Unexpected console statement. (no-console)
(#70) Unexpected tab character. (no-tabs)
(#70) Identifier 'intelliboard_block_data' is not in camel case. (camelcase)
(#71) Unexpected tab character. (no-tabs)
(#72) Unexpected tab character. (no-tabs)
(#73) Unexpected tab character. (no-tabs)
(#74) 'jQuery' is not defined. (no-undef)
(#74) Unexpected tab character. (no-tabs)
(#74) Missing space before opening brace. (space-before-blocks)
(#75) Unexpected tab character. (no-tabs)
(#75) 'jQuery' is not defined. (no-undef)
(#76) Unexpected tab character. (no-tabs)
(#76) 'jQuery' is not defined. (no-undef)
(#77) Unexpected tab character. (no-tabs)
(#80) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#80) Missing JSDoc comment. (require-jsdoc)
(#80) Identifier 'intelliboard_load_data' is not in camel case. (camelcase)
(#82) 'jQuery' is not defined. (no-undef)
(#82) Unexpected tab character. (no-tabs)
(#83) Unexpected tab character. (no-tabs)
(#83) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#84) Unexpected tab character. (no-tabs)
(#85) Unexpected tab character. (no-tabs)
(#85) Infix operators must be spaced. (space-infix-ops)
(#86) Unexpected tab character. (no-tabs)
(#86) Missing space before opening brace. (space-before-blocks)
(#87) Unexpected tab character. (no-tabs)
(#87) 'jQuery' is not defined. (no-undef)
(#88) Unexpected tab character. (no-tabs)
(#88) 'jQuery' is not defined. (no-undef)
(#88) Infix operators must be spaced. (space-infix-ops)
(#88) Infix operators must be spaced. (space-infix-ops)
(#89) Unexpected tab character. (no-tabs)
(#89) 'jQuery' is not defined. (no-undef)
(#89) Infix operators must be spaced. (space-infix-ops)
(#89) Infix operators must be spaced. (space-infix-ops)
(#89) Missing space before value for key 'width'. (key-spacing)
(#90) Unexpected tab character. (no-tabs)
(#91) Unexpected tab character. (no-tabs)
(#91) There should be no spaces inside this paren. (space-in-parens)
(#91) There should be no spaces inside this paren. (space-in-parens)
(#92) Unexpected tab character. (no-tabs)
(#92) 'jQuery' is not defined. (no-undef)
(#92) Infix operators must be spaced. (space-infix-ops)
(#92) Infix operators must be spaced. (space-infix-ops)
(#92) Missing space before value for key 'width'. (key-spacing)
(#93) Unexpected tab character. (no-tabs)
(#93) 'jQuery' is not defined. (no-undef)
(#94) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#94) Unexpected tab character. (no-tabs)
(#95) Unexpected tab character. (no-tabs)
(#95) Identifier 'intelliboard_block_data' is not in camel case. (camelcase)
(#97) Unexpected tab character. (no-tabs)
(#97) Expected space(s) after "if". (keyword-spacing)
(#97) Missing space before opening brace. (space-before-blocks)
(#98) Unexpected tab character. (no-tabs)
(#98) 'jQuery' is not defined. (no-undef)
(#99) Unexpected tab character. (no-tabs)
(#100) Unexpected tab character. (no-tabs)
(#101) Unexpected tab character. (no-tabs)
(#105) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#106) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#106) Missing JSDoc comment. (require-jsdoc)
(#106) Identifier 'intelliboard_live_stream' is not in camel case. (camelcase)
(#106) 'intelliboard_live_stream' is defined but never used. (no-unused-vars)
(#106) Expected to return a value at the end of this function. (consistent-return)
(#108) Unexpected tab character. (no-tabs)
(#109) Unexpected tab character. (no-tabs)
(#110) Unexpected tab character. (no-tabs)
(#111) Unexpected tab character. (no-tabs)
(#112) Unexpected tab character. (no-tabs)
(#112) Identifier 'intelliboard_live_id' is not in camel case. (camelcase)
(#113) Unexpected tab character. (no-tabs)
(#113) 'jQuery' is not defined. (no-undef)
(#113) Infix operators must be spaced. (space-infix-ops)
(#114) Unexpected tab character. (no-tabs)
(#114) 'jQuery' is not defined. (no-undef)
(#115) Unexpected tab character. (no-tabs)
(#115) Identifier 'intelliboard_block_params' is not in camel case. (camelcase)
(#116) Unexpected tab character. (no-tabs)
(#117) Unexpected tab character. (no-tabs)
(#117) Infix operators must be spaced. (space-infix-ops)
(#117) Infix operators must be spaced. (space-infix-ops)
(#117) Infix operators must be spaced. (space-infix-ops)
(#118) Unexpected tab character. (no-tabs)
(#119) Unexpected tab character. (no-tabs)
(#119) Missing space before opening brace. (space-before-blocks)
(#120) Unexpected tab character. (no-tabs)
(#120) 'jQuery' is not defined. (no-undef)
(#120) Infix operators must be spaced. (space-infix-ops)
(#120) Infix operators must be spaced. (space-infix-ops)
(#121) Unexpected tab character. (no-tabs)
(#121) 'jQuery' is not defined. (no-undef)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Infix operators must be spaced. (space-infix-ops)
(#121) Missing space before value for key 'width'. (key-spacing)
(#122) Unexpected tab character. (no-tabs)
(#123) Unexpected tab character. (no-tabs)
(#123) There should be no spaces inside this paren. (space-in-parens)
(#123) There should be no spaces inside this paren. (space-in-parens)
(#124) Unexpected tab character. (no-tabs)
(#124) 'jQuery' is not defined. (no-undef)
(#124) Infix operators must be spaced. (space-infix-ops)
(#124) Infix operators must be spaced. (space-infix-ops)
(#124) Missing space before value for key 'width'. (key-spacing)
(#125) Unexpected tab character. (no-tabs)
(#125) 'jQuery' is not defined. (no-undef)
(#126) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#126) Unexpected tab character. (no-tabs)
(#127) Unexpected tab character. (no-tabs)
(#127) Expected space(s) after "if". (keyword-spacing)
(#127) Missing space before opening brace. (space-before-blocks)
(#128) Unexpected tab character. (no-tabs)
(#128) 'jQuery' is not defined. (no-undef)
(#129) Unexpected tab character. (no-tabs)
(#130) Unexpected tab character. (no-tabs)
(#131) Unexpected tab character. (no-tabs)
(#132) Unexpected tab character. (no-tabs)
(#133) Unexpected tab character. (no-tabs)
(#134) Unexpected tab character. (no-tabs)
(#134) Identifier 'intelliboard_live_id' is not in camel case. (camelcase)
(#135) Unexpected tab character. (no-tabs)
(#136) Unexpected tab character. (no-tabs)
(#136) Missing semicolon. (semi)
(#140) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#140) Missing JSDoc comment. (require-jsdoc)
(#140) 'intelliboard_activities_progress' is defined but never used. (no-unused-vars)
(#140) Identifier 'intelliboard_activities_progress' is not in camel case. (camelcase)
(#140) 'mode' is defined but never used. (no-unused-vars)
(#142) Unexpected tab character. (no-tabs)
(#142) Expected space(s) after "if". (keyword-spacing)
(#142) 'jQuery' is not defined. (no-undef)
(#142) Missing space before opening brace. (space-before-blocks)
(#143) Unexpected tab character. (no-tabs)
(#143) 'jQuery' is not defined. (no-undef)
(#144) Unexpected tab character. (no-tabs)
(#144) Expected space(s) after "else". (keyword-spacing)
(#144) Expected space(s) before "else". (keyword-spacing)
(#145) Unexpected tab character. (no-tabs)
(#145) 'jQuery' is not defined. (no-undef)
(#146) Unexpected tab character. (no-tabs)
(#147) Unexpected tab character. (no-tabs)
(#147) 'jQuery' is not defined. (no-undef)
(#147) There should be no spaces inside this paren. (space-in-parens)
(#147) There should be no spaces inside this paren. (space-in-parens)
(#147) Missing space before opening brace. (space-before-blocks)
(#148) Unexpected tab character. (no-tabs)
(#148) 'jQuery' is not defined. (no-undef)
(#149) Unexpected tab character. (no-tabs)
(#149) Missing semicolon. (semi)
(#151) Missing JSDoc comment. (require-jsdoc)
(#151) 'intelliboard_learners_progress' is defined but never used. (no-unused-vars)
(#151) Identifier 'intelliboard_learners_progress' is not in camel case. (camelcase)
(#151) 'mode' is defined but never used. (no-unused-vars)
(#151) Missing space before opening brace. (space-before-blocks)
(#152) Unexpected tab character. (no-tabs)
(#152) 'google' is not defined. (no-undef)
(#153) 'google' is not defined. (no-undef)
(#153) Unexpected tab character. (no-tabs)
(#153) Missing space before opening brace. (space-before-blocks)
(#154) Unexpected tab character. (no-tabs)
(#154) 'google' is not defined. (no-undef)
(#155) Unexpected tab character. (no-tabs)
(#156) Unexpected tab character. (no-tabs)
(#157) Unexpected tab character. (no-tabs)
(#158) Unexpected tab character. (no-tabs)
(#159) Unexpected tab character. (no-tabs)
(#160) Unexpected tab character. (no-tabs)
(#160) A space is required after ','. (comma-spacing)
(#160) A space is required after ','. (comma-spacing)
(#161) Unexpected tab character. (no-tabs)
(#161) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#162) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#162) Unexpected tab character. (no-tabs)
(#163) Unexpected tab character. (no-tabs)
(#163) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#164) Unexpected tab character. (no-tabs)
(#164) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#165) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#165) Unexpected tab character. (no-tabs)
(#165) Missing space before value for key 'colors'. (key-spacing)
(#165) A space is required after ','. (comma-spacing)
(#166) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#166) Unexpected tab character. (no-tabs)
(#167) Unexpected tab character. (no-tabs)
(#167) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#167) Missing space before value for key 'backgroundColor'. (key-spacing)
(#167) Missing space before value for key 'fill'. (key-spacing)
(#168) Unexpected tab character. (no-tabs)
(#169) Unexpected tab character. (no-tabs)
(#169) Expected space(s) after "if". (keyword-spacing)
(#169) 'jQuery' is not defined. (no-undef)
(#169) Missing space before opening brace. (space-before-blocks)
(#170) Unexpected tab character. (no-tabs)
(#170) 'jQuery' is not defined. (no-undef)
(#171) Unexpected tab character. (no-tabs)
(#171) Expected space(s) before "else". (keyword-spacing)
(#171) Expected space(s) after "else". (keyword-spacing)
(#172) Unexpected tab character. (no-tabs)
(#172) 'jQuery' is not defined. (no-undef)
(#173) Unexpected tab character. (no-tabs)
(#174) Unexpected tab character. (no-tabs)
(#174) 'google' is not defined. (no-undef)
(#175) Unexpected tab character. (no-tabs)
(#176) Unexpected tab character. (no-tabs)
(#178) Missing JSDoc comment. (require-jsdoc)
(#178) Identifier 'intelliboard_course_summary' is not in camel case. (camelcase)
(#178) 'intelliboard_course_summary' is defined but never used. (no-unused-vars)
(#178) 'mode' is defined but never used. (no-unused-vars)
(#178) Missing space before opening brace. (space-before-blocks)
(#179) 'google' is not defined. (no-undef)
(#179) Unexpected tab character. (no-tabs)
(#180) 'google' is not defined. (no-undef)
(#180) Unexpected tab character. (no-tabs)
(#180) Missing space before opening brace. (space-before-blocks)
(#181) Unexpected tab character. (no-tabs)
(#181) 'google' is not defined. (no-undef)
(#182) Unexpected tab character. (no-tabs)
(#183) Unexpected tab character. (no-tabs)
(#184) Unexpected tab character. (no-tabs)
(#185) Unexpected tab character. (no-tabs)
(#186) Unexpected tab character. (no-tabs)
(#187) Unexpected tab character. (no-tabs)
(#187) A space is required after ','. (comma-spacing)
(#187) A space is required after ','. (comma-spacing)
(#188) Unexpected tab character. (no-tabs)
(#188) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#189) Unexpected tab character. (no-tabs)
(#189) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#190) Unexpected tab character. (no-tabs)
(#190) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#191) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#191) Unexpected tab character. (no-tabs)
(#192) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#192) Unexpected tab character. (no-tabs)
(#192) Missing space before value for key 'colors'. (key-spacing)
(#192) A space is required after ','. (comma-spacing)
(#193) Unexpected tab character. (no-tabs)
(#193) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#194) Unexpected tab character. (no-tabs)
(#194) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#194) Missing space before value for key 'backgroundColor'. (key-spacing)
(#194) Missing space before value for key 'fill'. (key-spacing)
(#195) Unexpected tab character. (no-tabs)
(#196) Unexpected tab character. (no-tabs)
(#196) Expected space(s) after "if". (keyword-spacing)
(#196) 'jQuery' is not defined. (no-undef)
(#196) Missing space before opening brace. (space-before-blocks)
(#197) Unexpected tab character. (no-tabs)
(#197) 'jQuery' is not defined. (no-undef)
(#198) Unexpected tab character. (no-tabs)
(#198) Expected space(s) after "else". (keyword-spacing)
(#198) Expected space(s) before "else". (keyword-spacing)
(#199) Unexpected tab character. (no-tabs)
(#199) 'jQuery' is not defined. (no-undef)
(#200) Unexpected tab character. (no-tabs)
(#201) Unexpected tab character. (no-tabs)
(#201) 'google' is not defined. (no-undef)
(#202) Unexpected tab character. (no-tabs)
(#203) Unexpected tab character. (no-tabs)
(#205) Missing JSDoc comment. (require-jsdoc)
(#205) 'intelliboard_learners_performance' is defined but never used. (no-unused-vars)
(#205) Identifier 'intelliboard_learners_performance' is not in camel case. (camelcase)
(#205) 'mode' is defined but never used. (no-unused-vars)
(#205) Missing space before opening brace. (space-before-blocks)
(#206) 'google' is not defined. (no-undef)
(#206) Unexpected tab character. (no-tabs)
(#207) Unexpected tab character. (no-tabs)
(#207) 'google' is not defined. (no-undef)
(#207) Missing space before opening brace. (space-before-blocks)
(#208) Unexpected tab character. (no-tabs)
(#208) 'google' is not defined. (no-undef)
(#209) Unexpected tab character. (no-tabs)
(#209) There should be no space after '{'. (object-curly-spacing)
(#209) There should be no space before '}'. (object-curly-spacing)
(#210) Unexpected tab character. (no-tabs)
(#211) Unexpected tab character. (no-tabs)
(#212) Unexpected tab character. (no-tabs)
(#213) Unexpected tab character. (no-tabs)
(#214) Unexpected tab character. (no-tabs)
(#215) Unexpected tab character. (no-tabs)
(#217) Unexpected tab character. (no-tabs)
(#218) Unexpected tab character. (no-tabs)
(#218) Missing space before value for key 'title'. (key-spacing)
(#219) Unexpected tab character. (no-tabs)
(#219) There should be no space after '{'. (object-curly-spacing)
(#219) There should be no space before '}'. (object-curly-spacing)
(#220) Unexpected tab character. (no-tabs)
(#220) Missing space before value for key 'chartArea'. (key-spacing)
(#220) Missing space before value for key 'width'. (key-spacing)
(#221) Unexpected tab character. (no-tabs)
(#221) Missing space before value for key 'colors'. (key-spacing)
(#222) Unexpected tab character. (no-tabs)
(#222) Missing space before value for key 'backgroundColor'. (key-spacing)
(#222) Missing space before value for key 'fill'. (key-spacing)
(#223) Unexpected tab character. (no-tabs)
(#224) Unexpected tab character. (no-tabs)
(#224) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#225) Unexpected tab character. (no-tabs)
(#226) Unexpected tab character. (no-tabs)
(#226) Expected space(s) after "if". (keyword-spacing)
(#226) 'jQuery' is not defined. (no-undef)
(#226) Missing space before opening brace. (space-before-blocks)
(#227) Unexpected tab character. (no-tabs)
(#228) Unexpected tab character. (no-tabs)
(#229) Unexpected tab character. (no-tabs)
(#229) 'jQuery' is not defined. (no-undef)
(#230) Unexpected tab character. (no-tabs)
(#230) Expected space(s) after "else". (keyword-spacing)
(#230) Expected space(s) before "else". (keyword-spacing)
(#232) Unexpected tab character. (no-tabs)
(#232) 'jQuery' is not defined. (no-undef)
(#233) Unexpected tab character. (no-tabs)
(#234) Unexpected tab character. (no-tabs)
(#234) 'google' is not defined. (no-undef)
(#235) Unexpected tab character. (no-tabs)
(#236) Unexpected tab character. (no-tabs)

CSS problems

(66 errors, 7 warnings)

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

blocks/intelliboard/style.css
(#24) Expected single space before "{" (block-opening-brace-space-before)
(#27) Expected single space before "{" (block-opening-brace-space-before)
(#32) Expected single space before "{" (block-opening-brace-space-before)
(#39) Expected single space before "{" (block-opening-brace-space-before)
(#42) Expected single space before "{" (block-opening-brace-space-before)
(#48) Expected single space before "{" (block-opening-brace-space-before)
(#54) Expected single space before "{" (block-opening-brace-space-before)
(#57) Expected single space before "{" (block-opening-brace-space-before)
(#60) Expected single space before "{" (block-opening-brace-space-before)
(#63) Expected single space before "{" (block-opening-brace-space-before)
(#71) Expected single space before "{" (block-opening-brace-space-before)
(#79) Expected single space before "{" (block-opening-brace-space-before)
(#82) Expected single space before "{" (block-opening-brace-space-before)
(#97) Expected single space before "{" (block-opening-brace-space-before)
(#106) Expected single space before "{" (block-opening-brace-space-before)
(#119) Expected single space before "{" (block-opening-brace-space-before)
(#122) Expected single space before "{" (block-opening-brace-space-before)
(#125) Expected single space before "{" (block-opening-brace-space-before)
(#128) Expected single space before "{" (block-opening-brace-space-before)
(#131) Expected single space before "{" (block-opening-brace-space-before)
(#135) Expected single space before "{" (block-opening-brace-space-before)
(#139) Expected single space before "{" (block-opening-brace-space-before)
(#142) Expected single space before "{" (block-opening-brace-space-before)
(#145) Expected single space before "{" (block-opening-brace-space-before)
(#152) Expected single space before "{" (block-opening-brace-space-before)
(#155) Expected single space before "{" (block-opening-brace-space-before)
(#158) Expected single space before "{" (block-opening-brace-space-before)
(#164) Expected single space before "{" (block-opening-brace-space-before)
(#167) Expected single space before "{" (block-opening-brace-space-before)
(#172) Expected single space before "{" (block-opening-brace-space-before)
(#176) Expected single space before "{" (block-opening-brace-space-before)
(#181) Expected single space before "{" (block-opening-brace-space-before)
(#186) Expected single space before "{" (block-opening-brace-space-before)
(#191) Expected single space before "{" (block-opening-brace-space-before)
(#195) Expected single space before "{" (block-opening-brace-space-before)
(#199) Expected single space before "{" (block-opening-brace-space-before)
(#202) Expected single space before "{" (block-opening-brace-space-before)
(#209) Expected single space before "{" (block-opening-brace-space-before)
(#214) Expected single space before "{" (block-opening-brace-space-before)
(#220) Expected single space before "{" (block-opening-brace-space-before)
(#223) Expected single space before "{" (block-opening-brace-space-before)
(#228) Expected single space before "{" (block-opening-brace-space-before)
(#231) Expected single space before "{" (block-opening-brace-space-before)
(#234) Expected single space before "{" (block-opening-brace-space-before)
(#246) Expected single space before "{" (block-opening-brace-space-before)
(#249) Expected single space before "{" (block-opening-brace-space-before)
(#262) Expected single space before "{" (block-opening-brace-space-before)
(#265) Expected single space before "{" (block-opening-brace-space-before)
(#77) Expected "#3399ff" to be "#39f" (color-hex-length)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#86) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#120) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#160) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#242) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#243) Expected single space after "," in a single-line function (function-comma-space-after)
(#243) Expected single space after "," in a single-line function (function-comma-space-after)
(#243) Expected single space after "," in a single-line function (function-comma-space-after)
(#46) Expected indentation of 4 spaces (indentation)
(#61) 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)
(#229) Expected indentation of 4 spaces (indentation)
(#235) Expected indentation of 4 spaces (indentation)
(#250) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#74) Unexpected unit (length-zero-no-unit)
(#114) Unexpected unit (length-zero-no-unit)
(#114) Unexpected unit (length-zero-no-unit)
(#174) Unexpected unit (length-zero-no-unit)
(#183) Unexpected unit (length-zero-no-unit)
(#184) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(21 errors, 0 warnings)

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

blocks/intelliboard/ajax.php
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/block_intelliboard.php
(#35) Function block_intelliboard::init is not documented
(#39) Function block_intelliboard::instance_allow_multiple is not documented
(#43) Function block_intelliboard::has_config is not documented
(#47) Function block_intelliboard::instance_allow_config is not documented
(#51) Function block_intelliboard::applicable_formats is not documented
(#61) Function block_intelliboard::specialization is not documented
(#68) Function block_intelliboard::hide_header is not documented
(#71) Function block_intelliboard::get_content is not documented
(#30) Class block_intelliboard does not have @copyright tag
(#30) Class block_intelliboard does not have @license tag
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/db/access.php
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/db/upgrade.php
(#32) Function xmldb_block_intelliboard_upgrade is not documented
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/edit_form.php
(#27) Class block_intelliboard_edit_form is not documented
(#28) Function block_intelliboard_edit_form::specific_definition is not documented
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/lang/en/block_intelliboard.php
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/settings.php
(#24) Invalid phpdocs tag @website used
blocks/intelliboard/version.php
(#24) Invalid phpdocs tag @website used

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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