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

(15 errors, 27 warnings)

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

course/format/topcoll/config.php
(#40) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/topcoll/db/upgrade.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/topcoll/js/tc_colourpopup.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Member variable "_hiddenLabel" must be all lower-case
(#52) Public method name "MoodleQuickForm_tccolourpopup::MoodleQuickForm_tccolourpopup" must be in lower-case letters only
(#52) PHP4 style constructors are not allowed; use "__construct()" instead
(#56) Public method name "MoodleQuickForm_tccolourpopup::setHiddenLabel" must be in lower-case letters only
(#56) Variable "hiddenLabel" must be all lower-case
(#57) Variable "hiddenLabel" must be all lower-case
(#60) Public method name "MoodleQuickForm_tccolourpopup::toHtml" must be in lower-case letters only
(#91) Public method name "MoodleQuickForm_tccolourpopup::_generateId" must be in lower-case letters only
(#105) Public method name "MoodleQuickForm_tccolourpopup::setHelpButton" must be in lower-case letters only
(#114) Public method name "MoodleQuickForm_tccolourpopup::getHelpButton" must be in lower-case letters only
(#125) Public method name "MoodleQuickForm_tccolourpopup::getElementTemplateType" must be in lower-case letters only
course/format/topcoll/lang/en/format_topcoll.php
(#77) This comment is 50% valid code; is this commented out code?
(#78) This comment is 50% valid code; is this commented out code?
(#79) This comment is 50% valid code; is this commented out code?
(#80) This comment is 50% valid code; is this commented out code?
(#81) This comment is 50% valid code; is this commented out code?
(#82) This comment is 50% valid code; is this commented out code?
(#85) This comment is 50% valid code; is this commented out code?
(#86) This comment is 50% valid code; is this commented out code?
(#87) This comment is 50% valid code; is this commented out code?
(#88) This comment is 50% valid code; is this commented out code?
(#89) This comment is 50% valid code; is this commented out code?
(#90) This comment is 50% valid code; is this commented out code?
(#91) This comment is 50% valid code; is this commented out code?
(#92) This comment is 50% valid code; is this commented out code?
course/format/topcoll/lang/en_ar/format_topcoll.php
(#54) This comment is 50% valid code; is this commented out code?
(#55) This comment is 50% valid code; is this commented out code?
(#56) This comment is 50% valid code; is this commented out code?
(#59) This comment is 50% valid code; is this commented out code?
(#60) This comment is 50% valid code; is this commented out code?
(#61) This comment is 50% valid code; is this commented out code?
(#62) This comment is 50% valid code; is this commented out code?
course/format/topcoll/lib.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/topcoll/renderer.php
(#856) Line exceeds 132 characters; contains 133 characters
(#883) Line exceeds 132 characters; contains 134 characters
course/format/topcoll/settopcollpref.php
(#32) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
course/format/topcoll/tests/courseformatrenderer_test.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/topcoll/togglelib.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/topcoll/version.php
(#39) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 10 warnings)

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

course/format/topcoll/js/tc_colourpopup.js
(#64) Line is too long.
(#66) Line is too long.
(#185) Use '===' to compare with '0'.
(#71) 'e' is defined but never used.
(#86) 'e' is defined but never used.
(#89) 'e' is defined but never used.
(#93) 'e' is defined but never used.
(#97) 'e' is defined but never used.
(#109) 'e' is defined but never used.
course/format/topcoll/module.js
(#176) 'console' is not defined.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(83 errors, 17 warnings)

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

course/format/topcoll/backup/moodle2/restore_format_topcoll_plugin.class.php
(#100) Function restore_format_topcoll_plugin::after_execute_structure is not documented
(#37) No one-line description found in phpdocs for class restore_format_topcoll_plugin
(#60) Phpdocs for function restore_format_topcoll_plugin::process_topcoll has incomplete parameters list
(#37) Class restore_format_topcoll_plugin does not have @copyright tag
(#37) Class restore_format_topcoll_plugin does not have @license tag
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/config.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/db/access.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/db/upgrade.php
(#37) Function xmldb_format_topcoll_upgrade is not documented
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/format.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/js/tc_colourpopup.php
(#52) Function MoodleQuickForm_tccolourpopup::MoodleQuickForm_tccolourpopup is not documented
(#56) Function MoodleQuickForm_tccolourpopup::setHiddenLabel is not documented
(#60) Function MoodleQuickForm_tccolourpopup::toHtml is not documented
(#49) Variable MoodleQuickForm_tccolourpopup::$_helpbutton is not documented
(#50) Variable MoodleQuickForm_tccolourpopup::$_hiddenLabel is not documented
(#102) Phpdocs for function MoodleQuickForm_tccolourpopup::setHelpButton has incomplete parameters list
(#36) Class MoodleQuickForm_tccolourpopup does not have @copyright tag
(#36) Class MoodleQuickForm_tccolourpopup does not have @license tag
(#27) Not recommended phpdocs tag @version used
(#40) Not recommended phpdocs tag @access used
(#25) Package course/format is not valid
course/format/topcoll/lang/en/format_topcoll.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/lang/en_ar/format_topcoll.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/lang/en_us/format_topcoll.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/lib.php
(#36) Class format_topcoll is not documented
(#158) Function format_topcoll::get_section_dates is not documented
(#283) Function format_topcoll::section_format_options is not documented
(#1219) Function format_topcoll::get_context is not documented
(#37) Variable format_topcoll::$settings is not documented
(#56) Phpdocs for function format_topcoll::get_settings has incomplete parameters list
(#1241) Phpdocs for function format_topcoll_delete_course has incomplete parameters list
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/renderer.php
(#39) Class format_topcoll_renderer is not documented
(#478) Function format_topcoll_renderer::section_summary_container is not documented
(#1013) Function format_topcoll_renderer::set_portable is not documented
(#1028) Function format_topcoll_renderer::set_user_preference is not documented
(#1032) Function format_topcoll_renderer::set_default_user_preference is not documented
(#1036) Function format_topcoll_renderer::get_row_class is not documented
(#1040) Function format_topcoll_renderer::get_column_class is not documented
(#1046) Function format_topcoll_renderer::get_format_responsive is not documented
(#41) Variable format_topcoll_renderer::$tccolumnwidth is not documented
(#42) Variable format_topcoll_renderer::$tccolumnpadding is not documented
(#43) Variable format_topcoll_renderer::$mobiletheme is not documented
(#44) Variable format_topcoll_renderer::$tablettheme is not documented
(#45) Variable format_topcoll_renderer::$courseformat is not documented
(#46) Variable format_topcoll_renderer::$tcsettings is not documented
(#47) Variable format_topcoll_renderer::$userpreference is not documented
(#48) Variable format_topcoll_renderer::$defaultuserpreference is not documented
(#49) Variable format_topcoll_renderer::$togglelib is not documented
(#50) Variable format_topcoll_renderer::$isoldtogglepreference is not documented
(#51) Variable format_topcoll_renderer::$userisediting is not documented
(#52) Variable format_topcoll_renderer::$tctoggleiconsize is not documented
(#53) Variable format_topcoll_renderer::$formatresponsive is not documented
(#54) Variable format_topcoll_renderer::$rtl is not documented
(#59) Phpdocs for function format_topcoll_renderer::__construct has incomplete parameters list
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/settings.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/settopcollpref.php
(#25) Not recommended phpdocs tag @version used
(#23) Package course/format is not valid
course/format/topcoll/tests/courseformatrenderer_test.php
(#36) Variable format_topcoll_courseformatrenderer_testcase::$outputus is not documented
(#37) Variable format_topcoll_courseformatrenderer_testcase::$course is not documented
(#38) Variable format_topcoll_courseformatrenderer_testcase::$courseformat is not documented
(#30) Class format_topcoll_courseformatrenderer_testcase does not have @copyright tag
(#30) Class format_topcoll_courseformatrenderer_testcase does not have @license tag
(#32) Invalid phpdocs tag @group used
(#22) Not recommended phpdocs tag @version used
(#20) Package course/format is not valid
course/format/topcoll/togglelib.php
(#35) Class topcoll_togglelib is not documented
(#48) Variable topcoll_togglelib::$toggles is not documented
(#41) Constant topcoll_togglelib::TOGGLE_6 is not documented
(#42) Constant topcoll_togglelib::TOGGLE_5 is not documented
(#43) Constant topcoll_togglelib::TOGGLE_4 is not documented
(#44) Constant topcoll_togglelib::TOGGLE_3 is not documented
(#45) Constant topcoll_togglelib::TOGGLE_2 is not documented
(#46) Constant topcoll_togglelib::TOGGLE_1 is not documented
(#50) Phpdocs for function topcoll_togglelib::set_toggles has incomplete parameters list
(#60) Phpdocs for function topcoll_togglelib::get_toggle_state has incomplete parameters list
(#71) Phpdocs for function topcoll_togglelib::set_toggle_state has incomplete parameters list
(#88) Phpdocs for function topcoll_togglelib::is_old_preference has incomplete parameters list
(#104) Phpdocs for function topcoll_togglelib::get_required_digits has incomplete parameters list
(#129) Phpdocs for function topcoll_togglelib::get_toggle_pos has incomplete parameters list
(#138) Phpdocs for function topcoll_togglelib::get_toggle_flag has incomplete parameters list
(#169) Phpdocs for function topcoll_togglelib::decode_character_to_value has incomplete parameters list
(#178) Phpdocs for function topcoll_togglelib::encode_value_to_character has incomplete parameters list
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid
course/format/topcoll/version.php
(#27) Not recommended phpdocs tag @version used
(#25) Package course/format is not valid

Update savepoints problems

(2 errors, 0 warnings)

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

course/format/topcoll/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2114052000 is missing corresponding savepoint call

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]