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

(7 errors, 21 warnings)

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

mod/recommend/backup/moodle2/restore_recommend_stepslib.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
mod/recommend/classes/question_form.php
(#80) Possible useless method overriding detected
mod/recommend/classes/task/scheduler.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion
mod/recommend/db/install.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
mod/recommend/db/messages.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/recommend/db/uninstall.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/recommend/grade.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/recommend/lib.php
(#42) This comment is 50% valid code; is this commented out code?
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) No space found before comment text; expected "// case FEATURE_GRADE_HAS_GRADE:" but found "//case FEATURE_GRADE_HAS_GRADE:"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) This comment is 60% valid code; is this commented out code?
(#43) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#48) This comment is 50% valid code; is this commented out code?
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) No space found before comment text; expected "// case FEATURE_COMPLETION_TRACKS_VIEWS:" but found "//case FEATURE_COMPLETION_TRACKS_VIEWS:"
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 60% valid code; is this commented out code?
(#49) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 80% valid code; is this commented out code?
(#81) No space found before comment text; expected "// recommend_grade_item_update($recommend);" but found "//recommend_grade_item_update($recommend);"
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) This comment is 80% valid code; is this commented out code?
(#111) No space found before comment text; expected "// recommend_grade_item_update($recommend);" but found "//recommend_grade_item_update($recommend);"
mod/recommend/recommend.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(0 errors, 12 warnings)

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

mod/recommend/amd/src/edit.js
(#71) Extra space after key 'key'. (key-spacing)
(#71) Extra space after key 'component'. (key-spacing)
(#72) Extra space after key 'key'. (key-spacing)
(#72) Extra space after key 'component'. (key-spacing)
(#73) Extra space after key 'key'. (key-spacing)
(#87) Unexpected space between function name and paren. (no-spaced-func)
(#108) Extra space after key 'key'. (key-spacing)
(#109) Extra space after key 'key'. (key-spacing)
(#109) Extra space after key 'component'. (key-spacing)
(#109) There should be no space before '}' (object-curly-spacing)
(#110) Extra space after key 'key'. (key-spacing)
(#111) Extra space after key 'key'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]