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

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


Javascript coding style problems

(0 errors, 7 warnings)

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

plagiarism/safeassign/amd/src/formelements.js
(#124) Expected catch,fail() or return (promise/catch-or-return)
plagiarism/safeassign/amd/src/score.js
(#133) Expected catch,fail() or return (promise/catch-or-return)
(#133) Each then() should return a value or throw (promise/always-return)
(#138) Expected catch,fail() or return (promise/catch-or-return)
(#138) Each then() should return a value or throw (promise/always-return)
plagiarism/safeassign/amd/src/settings.js
(#181) There should be no spaces inside this paren. (space-in-parens)
(#181) There should be no spaces inside this paren. (space-in-parens)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(18 errors, 0 warnings)

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

plagiarism/safeassign/classes/local.php
(#70) Phpdocs for function local::duringspecifictest has incomplete parameters list
plagiarism/safeassign/classes/observer.php
(#98) Phpdocs for function plagiarism_safeassign_observer::role_assigned has incomplete parameters list
(#108) Phpdocs for function plagiarism_safeassign_observer::role_unassigned has incomplete parameters list
plagiarism/safeassign/classes/privacy/provider.php
(#39) Class provider is not documented
plagiarism/safeassign/classes/task/send_notifications.php
(#38) Class send_notifications is not documented
(#40) Function send_notifications::get_name is not documented
(#44) Function send_notifications::execute is not documented
plagiarism/safeassign/lib.php
(#615) Phpdocs for function plagiarism_plugin_safeassign::get_total_file_size has incomplete parameters list
(#1118) Phpdocs for function plagiarism_plugin_safeassign::get_unsynced_files has incomplete parameters list
plagiarism/safeassign/tests/db_sanity_checks_test.php
(#110) Function plagiarism_safeassign_sanity_checks_testcase::create_submission is not documented
plagiarism/safeassign/tests/privacy_provider_test.php
(#53) Function plagiarism_safeassign_privacy_provider_testcase::make_teacher_enrolment is not documented
(#62) Function plagiarism_safeassign_privacy_provider_testcase::create_assignment is not documented
(#82) Function plagiarism_safeassign_privacy_provider_testcase::make_onlinetext_submission is not documented
(#120) Function plagiarism_safeassign_privacy_provider_testcase::make_file_submission is not documented
(#162) Function plagiarism_safeassign_privacy_provider_testcase::validate_file is not documented
plagiarism/safeassign/tests/restore_course_and_assignments.php
(#47) Function plagiarism_safeassign_restore_course_testcase::test_restore_to_existing_course is not documented
(#88) Function plagiarism_safeassign_restore_course_testcase::test_restore_to_new_course is not documented
(#182) Function plagiarism_safeassign_restore_course_testcase::create_test_data is not documented

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

(1 errors, 1 warnings)

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

Task "gherkinlint" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]

plagiarism/safeassign/templates/modal.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error