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

(0 errors, 6 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, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#41) This comment is 50% valid code; is this commented out code?
question/behaviour/opaque/tests/opaquebehaviour_test.php
(#57) Test method test_wrong_three_times() is missing any coverage information, own or at class level
(#151) Test method test_right_first_time() is missing any coverage information, own or at class level
(#196) Test method test_different_max() is missing any coverage information, own or at class level
(#240) Test method test_gave_up() is missing any coverage information, own or at class level

Javascript coding style problems

(6 errors, 8 warnings)

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

question/behaviour/opaque/tinymce_supsub_plugin.js
(#29) 'tinymce' is not defined. (no-undef)
(#37) Extra space after key 'init'. (key-spacing)
(#42) 'tinymce' is not defined. (no-undef)
(#48) Expected space or tab after '/*' in comment. (spaced-comment)
(#56) 'tinymce' is not defined. (no-undef)
(#69) 'tinymce' is not defined. (no-undef)
(#81) Extra space after key 'getInfo'. (key-spacing)
(#83) Extra space after key 'longname'. (key-spacing)
(#84) Extra space after key 'author'. (key-spacing)
(#85) Extra space after key 'authorurl'. (key-spacing)
(#86) Extra space after key 'infourl'. (key-spacing)
(#87) Extra space after key 'version'. (key-spacing)
(#93) 'tinymce' is not defined. (no-undef)
(#93) 'tinymce' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(43 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::get_state_string is not documented
(#72) Function qbehaviour_opaque::init_first_step is not documented
(#93) Function qbehaviour_opaque::adjust_display_options is not documented
(#102) Function qbehaviour_opaque::get_question_summary is not documented
(#106) Function qbehaviour_opaque::is_same_response is not documented
(#121) Function qbehaviour_opaque::summarise_action is not documented
(#146) Function qbehaviour_opaque::process_action is not documented
(#162) Function qbehaviour_opaque::process_finish is not documented
(#179) Function qbehaviour_opaque::process_remote_action is not documented
(#231) Function qbehaviour_opaque::cleanup_results is not documented
(#235) Function qbehaviour_opaque::step_has_a_submitted_response is not documented
question/behaviour/opaque/behaviourtype.php
(#32) Function qbehaviour_opaque_type::can_questions_finish_during_the_attempt is not documented
question/behaviour/opaque/connection.php
(#29) No one-line description found in phpdocs for class qbehaviour_opaque_connection
(#38) There is no description in phpdocs for function generate_passkey
(#48) There is no description in phpdocs for function start
(#83) There is no description in phpdocs for function process
(#92) There is no description in phpdocs for function stop
(#39) Phpdocs for function qbehaviour_opaque_connection::generate_passkey has incomplete parameters list
(#49) Phpdocs for function qbehaviour_opaque_connection::start has incomplete parameters list
(#84) Phpdocs for function qbehaviour_opaque_connection::process has incomplete parameters list
question/behaviour/opaque/legacy.php
(#167) There is no description in phpdocs for function qbehaviour_opaque_response_contains_om_action
(#119) Phpdocs for function qbehaviour_opaque_hacks_filter_response has incomplete parameters list
(#154) 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
(#34) Function qbehaviour_opaque_renderer::controls is not documented
(#67) Function qbehaviour_opaque_renderer::soap_fault is not documented
(#25) No one-line description found in phpdocs for class qbehaviour_opaque_renderer
question/behaviour/opaque/resourcecache.php
(#68) There is no description in phpdocs for function file_path
(#76) There is no description in phpdocs for function file_meta_path
(#84) There is no description in phpdocs for function file_url
(#99) There is no description in phpdocs for function file_mime_type
(#111) There is no description in phpdocs for function file_in_cache
(#92) Phpdocs for function qbehaviour_opaque_resource_cache::stylesheet_filename has incomplete parameters list
question/behaviour/opaque/statecache.php
(#36) Constant qbehaviour_opaque_state_cache::MAX_IDLE_LIFETIME is not documented
(#203) There is no description in phpdocs for function get_last_used_options

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]


Gherkin .feature problems

(0 errors, 0 warnings)

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