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

(51 errors, 1 warnings)

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

mod/recordingsbn/config-dist.php
(#28) Variable "RECORDINGSBN_CFG" must be all lower-case
(#28) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#29) Variable "RECORDINGSBN_CFG" must be all lower-case
(#29) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#30) Variable "RECORDINGSBN_CFG" must be all lower-case
(#30) Variable "RECORDINGSBN_CFG" must not contain underscores.
mod/recordingsbn/locallib.php
(#28) Variable "RECORDINGSBN_CFG" must be all lower-case
(#28) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#33) Variable "RECORDINGSBN_CFG" must be all lower-case
(#33) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#34) Variable "RECORDINGSBN_CFG" must be all lower-case
(#34) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#34) Variable "RECORDINGSBN_CFG" must be all lower-case
(#34) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#34) Line exceeds maximum limit of 180 characters; contains 209 characters
(#38) Variable "RECORDINGSBN_CFG" must be all lower-case
(#38) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#39) Variable "RECORDINGSBN_CFG" must be all lower-case
(#39) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#39) Variable "RECORDINGSBN_CFG" must be all lower-case
(#39) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#39) Expected 1 space before ":"; 0 found
(#39) Line exceeds maximum limit of 180 characters; contains 212 characters
(#43) Variable "RECORDINGSBN_CFG" must be all lower-case
(#43) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#44) Variable "RECORDINGSBN_CFG" must be all lower-case
(#44) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#44) Variable "RECORDINGSBN_CFG" must be all lower-case
(#44) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#44) Line exceeds maximum limit of 180 characters; contains 285 characters
(#48) Variable "RECORDINGSBN_CFG" must be all lower-case
(#48) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#49) Variable "RECORDINGSBN_CFG" must be all lower-case
(#49) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#49) Variable "RECORDINGSBN_CFG" must be all lower-case
(#49) Variable "RECORDINGSBN_CFG" must not contain underscores.
(#49) Line exceeds maximum limit of 180 characters; contains 289 characters
mod/recordingsbn/settings.php
(#28) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#28) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#33) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#33) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#34) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#34) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#39) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#39) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#45) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#45) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#52) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#52) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
(#58) Variable "BIGBLUEBUTTONBN_CFG" must be all lower-case
(#58) Variable "BIGBLUEBUTTONBN_CFG" must not contain underscores.
mod/recordingsbn/view.php
(#80) Line exceeds 132 characters; contains 155 characters

Javascript coding style problems

(12 errors, 10 warnings)

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

mod/recordingsbn/module.js
(#4) Identifier 'mod_recordingsbn' is not in camel case. (camelcase)
(#12) 'bigbluebuttonbn_dataSource' is defined but never used. (no-unused-vars)
(#12) Identifier 'bigbluebuttonbn_dataSource' is not in camel case. (camelcase)
(#13) Identifier 'bigbluebuttonbn_ping_interval_id' is not in camel case. (camelcase)
(#13) 'bigbluebuttonbn_ping_interval_id' is defined but never used. (no-unused-vars)
(#15) Identifier 'datatable_init' is not in camel case. (camelcase)
(#15) 'Y' is defined but never used. (no-unused-vars)
(#16) There should be no space after '{'. (object-curly-spacing)
(#16) There should be no space before '}'. (object-curly-spacing)
(#17) Expected space(s) after "for". (keyword-spacing)
(#17) 'recordingsbn' is not defined. (no-undef)
(#17) Missing space before opening brace. (space-before-blocks)
(#18) 'recordingsbn' is not defined. (no-undef)
(#19) 'recordingsbn' is not defined. (no-undef)
(#19) 'bigbluebuttonbn' is not defined. (no-undef)
(#22) 'YUI' is not defined. (no-undef)
(#22) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) 'table' is assigned a value but never used. (no-unused-vars)
(#25) 'recordingsbn' is not defined. (no-undef)
(#26) 'recordingsbn' is not defined. (no-undef)
(#31) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(14 errors, 0 warnings)

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

mod/recordingsbn/lib.php
(#69) Phpdocs for function recordingsbn_add_instance has incomplete parameters list
(#88) Phpdocs for function recordingsbn_update_instance has incomplete parameters list
(#124) Phpdocs for function recordingsbn_user_outline has incomplete parameters list
(#140) Phpdocs for function recordingsbn_user_complete has incomplete parameters list
(#150) Phpdocs for function recordingsbn_print_recent_activity has incomplete parameters list
(#176) Phpdocs for function recordingsbn_print_recent_mod_activity has incomplete parameters list
(#229) Phpdocs for function recordingsbn_scale_used has incomplete parameters list
(#242) Phpdocs for function recordingsbn_scale_used_anywhere has incomplete parameters list
(#293) Phpdocs for function recordingsbn_extend_navigation has incomplete parameters list
mod/recordingsbn/locallib.php
(#32) Function recordingsbn_get_cfg_ui_html_default is not documented
(#37) Function recordingsbn_get_cfg_ui_html_editable is not documented
(#42) Function recordingsbn_get_cfg_include_deleted_activities_default is not documented
(#47) Function recordingsbn_get_cfg_include_deleted_activities_editable is not documented
(#52) Function recordingsbn_get_moodle_version_major is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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