Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(26 errors, 7 warnings)

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

question/behaviour/adaptive_adapted_for_coderunner/behaviour.php
(#20) Incorrect @package tag for file behaviour.php. Expected qbehaviour_adaptive_adapted_for_coderunner, found qbehaviour.
(#49) Missing docblock for class qbehaviour_adaptive_adapted_for_coderunner
(#57) Missing docblock for function __construct
(#75) Missing docblock for function can_finish_during_attempt
(#79) Missing docblock for function is_compatible_question
(#85) Missing docblock for function get_expected_data
(#97) Missing docblock for function get_state_string
(#112) Missing docblock for function process_save
(#137) Missing docblock for function process_action
(#146) Missing docblock for function summarise_action
(#155) Missing docblock for function process_submit
(#228) Missing docblock for function grade_response
(#262) Missing docblock for function adjusted_fraction
(#320) Missing docblock for function adaptive_mark_details_from_step
(#341) Missing docblock for function process_finish
question/behaviour/adaptive_adapted_for_coderunner/behaviourtype.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Missing docblock for function is_archetypal
(#40) Missing docblock for function can_questions_finish_during_the_attempt
question/behaviour/adaptive_adapted_for_coderunner/classes/privacy/provider.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class provider
(#31) Whitespace found at end of line
(#38) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
question/behaviour/adaptive_adapted_for_coderunner/lang/en/qbehaviour_adaptive_adapted_for_coderunner.php
(#20) Incorrect @package tag for file qbehaviour_adaptive_adapted_for_coderunner.php. Expected qbehaviour_adaptive_adapted_for_coderunner, found qbehaviour.
question/behaviour/adaptive_adapted_for_coderunner/renderer.php
(#32) Missing docblock for class qbehaviour_adaptive_adapted_for_coderunner_renderer
(#33) Opening brace should be on the same line as the declaration for class qbehaviour_adaptive_adapted_for_coderunner_renderer
(#34) Missing docblock for function controls
(#66) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#114) Missing docblock for function feedback
question/behaviour/adaptive_adapted_for_coderunner/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php

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 stylelint [More info]


PHPDocs style problems

(3 errors, 0 warnings)

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

question/behaviour/adaptive_adapted_for_coderunner/behaviour.php
(#304) Phpdocs for function qbehaviour_adaptive_adapted_for_coderunner::is_improvement_possible has incomplete parameters list
(#407) Inline phpdocs tag {@link start_based_on()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/behaviour/adaptive_adapted_for_coderunner/renderer.php
(#54) Phpdocs for function qbehaviour_adaptive_adapted_for_coderunner_renderer::precheck_button has incomplete parameters list

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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