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

(8 errors, 2 warnings)

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

question/behaviour/opaque/file.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#41) This comment is 52% valid code; is this commented out code?
question/behaviour/opaque/legacy.php
(#122) preg_replace() - /e modifier is deprecated in PHP 5.5
question/behaviour/opaque/opaquestate.php
(#394) Expected 1 space before "=="; 7 found
(#395) Expected 1 space before "=="; 7 found
(#396) Expected 1 space before "=="; 2 found
(#397) Expected 1 space before "=="; 5 found
(#398) Expected 1 space before "=="; 8 found
question/behaviour/opaque/resourcecache.php
(#139) Expected 1 space after "?"; newline found
question/behaviour/opaque/statecache.php
(#146) Empty CATCH statement detected

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(45 errors, 0 warnings)

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

question/behaviour/opaque/behaviour.php
(#48) Function qbehaviour_opaque::__construct is not documented
(#53) Function qbehaviour_opaque::is_compatible_question is not documented
(#57) Function qbehaviour_opaque::can_finish_during_attempt is not documented
(#61) Function qbehaviour_opaque::get_state_string is not documented
(#76) Function qbehaviour_opaque::init_first_step is not documented
(#97) Function qbehaviour_opaque::adjust_display_options is not documented
(#106) Function qbehaviour_opaque::get_question_summary is not documented
(#110) Function qbehaviour_opaque::is_same_response is not documented
(#125) Function qbehaviour_opaque::summarise_action is not documented
(#150) Function qbehaviour_opaque::process_action is not documented
(#166) Function qbehaviour_opaque::process_finish is not documented
(#183) Function qbehaviour_opaque::process_remote_action is not documented
(#235) Function qbehaviour_opaque::cleanup_results is not documented
(#239) Function qbehaviour_opaque::step_has_a_submitted_response is not documented
question/behaviour/opaque/behaviourtype.php
(#36) Function qbehaviour_opaque_type::can_questions_finish_during_the_attempt is not documented
question/behaviour/opaque/connection.php
(#33) No one-line description found in phpdocs for class qbehaviour_opaque_connection
(#42) There is no description in phpdocs for function generate_passkey
(#52) There is no description in phpdocs for function start
(#87) There is no description in phpdocs for function process
(#96) There is no description in phpdocs for function stop
(#43) Phpdocs for function qbehaviour_opaque_connection::generate_passkey has incomplete parameters list
(#53) Phpdocs for function qbehaviour_opaque_connection::start has incomplete parameters list
(#88) Phpdocs for function qbehaviour_opaque_connection::process has incomplete parameters list
question/behaviour/opaque/legacy.php
(#157) There is no description in phpdocs for function qbehaviour_opaque_response_contains_om_action
(#109) Phpdocs for function qbehaviour_opaque_hacks_filter_response has incomplete parameters list
(#144) Phpdocs for function qbehaviour_opaque_fix_up_submitted_data has incomplete parameters list
question/behaviour/opaque/opaquestate.php
(#327) There is no description in phpdocs for function get_results
(#334) There is no description in phpdocs for function get_css_filename
(#341) There is no description in phpdocs for function get_progress_info
(#348) There is no description in phpdocs for function get_results_sequence_number
(#166) Phpdocs for function qbehaviour_opaque_state::update has incomplete parameters list
(#386) Phpdocs for function qbehaviour_opaque_state::is_valid has incomplete parameters list
(#405) Phpdocs for function qbehaviour_opaque_state::extract_stuff_from_response has incomplete parameters list
question/behaviour/opaque/renderer.php
(#38) Function qbehaviour_opaque_renderer::controls is not documented
(#71) Function qbehaviour_opaque_renderer::soap_fault is not documented
(#29) No one-line description found in phpdocs for class qbehaviour_opaque_renderer
question/behaviour/opaque/resourcecache.php
(#72) There is no description in phpdocs for function file_path
(#80) There is no description in phpdocs for function file_meta_path
(#88) There is no description in phpdocs for function file_url
(#103) There is no description in phpdocs for function file_mime_type
(#115) There is no description in phpdocs for function file_in_cache
(#96) Phpdocs for function qbehaviour_opaque_resource_cache::stylesheet_filename has incomplete parameters list
question/behaviour/opaque/statecache.php
(#39) Constant qbehaviour_opaque_state_cache::MAX_IDLE_LIFETIME is not documented
(#206) There is no description in phpdocs for function get_last_used_options
question/behaviour/opaque/tests/opaquebehaviour_test.php
(#40) Invalid phpdocs tag @group 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

(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]