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

(11 errors, 3 warnings)

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

mod/checkmark/classes/MTablePDF.php
(#29) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/checkmark/db/events.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/db/manual_upgrade.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/db/tasks.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/lib.php
(#1194) Expected 1 space before "-"; 0 found
(#1194) Expected 1 space after "-"; 0 found
(#1199) Expected 1 space before "-"; 0 found
(#1199) Expected 1 space after "-"; 0 found
(#1201) Expected 1 space before "-"; 0 found
(#1201) Expected 1 space after "-"; 0 found
(#1314) Commas (,) must be followed by white space.
(#1314) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1314) Inline comments must end in full-stops, exclamation marks, or question marks
(#1314) No space found before comment text; expected "// c.id '.$sqlcheckmarkids," but found "//c.id '.$sqlcheckmarkids,"

Javascript coding style problems

(0 errors, 40 warnings)

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

mod/checkmark/amd/src/settings.js
(#37) Identifier 'dividing_symbol' is not in camel case. (camelcase)
(#46) Identifier 'update_settings' is not in camel case. (camelcase)
(#53) Identifier 'type_selector' is not in camel case. (camelcase)
(#54) Identifier 'point_selector' is not in camel case. (camelcase)
(#55) Identifier 'flexiblenaming_selector' is not in camel case. (camelcase)
(#56) Identifier 'examplegrades_selector' is not in camel case. (camelcase)
(#57) Identifier 'examplenames_selector' is not in camel case. (camelcase)
(#58) Identifier 'examplecount_selector' is not in camel case. (camelcase)
(#77) Identifier 'temp_string' is not in camel case. (camelcase)
(#78) Identifier 'temp_array' is not in camel case. (camelcase)
(#78) Identifier 'temp_string' is not in camel case. (camelcase)
(#79) Identifier 'temp_array' is not in camel case. (camelcase)
(#80) Expected space(s) after "if". (keyword-spacing)
(#80) Identifier 'temp_array' is not in camel case. (camelcase)
(#81) Identifier 'temp_array' is not in camel case. (camelcase)
(#109) Identifier 'examplegrades_selector' is not in camel case. (camelcase)
(#112) Identifier 'examplegrades_selector' is not in camel case. (camelcase)
(#125) Identifier 'dividing_symbol' is not in camel case. (camelcase)
(#125) Identifier 'dividing_symbol' is not in camel case. (camelcase)
(#129) Identifier 'type_selector' is not in camel case. (camelcase)
(#130) Identifier 'flexiblenaming_selector' is not in camel case. (camelcase)
(#131) Identifier 'examplegrades_selector' is not in camel case. (camelcase)
(#132) Identifier 'examplenames_selector' is not in camel case. (camelcase)
(#133) Identifier 'examplecount_selector' is not in camel case. (camelcase)
(#144) Expected space(s) after "if". (keyword-spacing)
mod/checkmark/amd/src/submission.js
(#45) Identifier 'update_summary' is not in camel case. (camelcase)
(#46) Identifier 'examples_new' is not in camel case. (camelcase)
(#47) Identifier 'grade_new' is not in camel case. (camelcase)
(#53) Identifier 'is_checked' is not in camel case. (camelcase)
(#56) Identifier 'is_checked' is not in camel case. (camelcase)
(#58) Identifier 'is_checked' is not in camel case. (camelcase)
(#60) Identifier 'is_checked' is not in camel case. (camelcase)
(#61) Identifier 'examples_new' is not in camel case. (camelcase)
(#62) Identifier 'grade_new' is not in camel case. (camelcase)
(#66) Identifier 'examples_new' is not in camel case. (camelcase)
(#67) Identifier 'grade_new' is not in camel case. (camelcase)
(#80) Identifier 'reset_submission_form' is not in camel case. (camelcase)
(#103) Identifier 'id_fieldname' is not in camel case. (camelcase)
(#106) Identifier 'id_fieldname' is not in camel case. (camelcase)
(#107) Identifier 'id_fieldname' is not in camel case. (camelcase)

CSS problems

(0 errors, 7 warnings)

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

mod/checkmark/styles.css
(#156) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#161) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#168) Rule is empty.
(#256) Unknown property 'border-left-color-ltr-source'.
(#257) Unknown property 'border-left-color-rtl-source'.
(#258) Unknown property 'border-right-color-ltr-source'.
(#259) Unknown property 'border-right-color-rtl-source'.

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]