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, 2 warnings)

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

availability/condition/week/classes/condition.php
(#131) Line exceeds 132 characters; contains 140 characters
availability/condition/week/version.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 2 warnings)

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

availability/condition/week/yui/src/form/js/form.js
(#6) Identifier 'availability_week' is not in camel case. (camelcase)
(#22) Expected JSDoc for 'weeksfromstart' but found 'standardFields'. (valid-jsdoc)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(12 errors, 0 warnings)

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

availability/condition/week/classes/condition.php
(#57) Function condition::save is not documented
(#62) Function condition::is_available is not documented
(#66) Function condition::is_available_for_all is not documented
(#80) Function condition::get_description is not documented
(#84) Function condition::get_standalone_description is not documented
(#103) Function condition::get_debug_string is not documented
(#134) Function condition::update_after_restore is not documented
(#122) Phpdocs for function condition::show_week has incomplete parameters list
availability/condition/week/classes/frontend.php
(#50) Function frontend::get_javascript_strings is not documented
(#54) Function frontend::get_javascript_init_params is not documented
availability/condition/week/tests/condition_test.php
(#20) Package availability_date is not valid
(#32) Package availability_date is not valid

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

(2 errors, 0 warnings)

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

availability/condition/week/yui/build/moodle-availability_week-form/moodle-availability_week-form-debug.js
Uncommitted change detected.
availability/condition/week/yui/build/moodle-availability_week-form/moodle-availability_week-form.js
Uncommitted change detected.

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]