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
(#146) Expected catch,fail() or return (promise/catch-or-return)
(#146) Each then() should return a value or throw (promise/always-return)
(#151) Expected catch,fail() or return (promise/catch-or-return)
(#151) 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
(#41) 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
(#623) Phpdocs for function plagiarism_plugin_safeassign::get_total_file_size has incomplete parameters list
(#1123) Phpdocs for function plagiarism_plugin_safeassign::get_unsynced_files has incomplete parameters list
(#2070) Phpdocs for function plagiarism_plugin_safeassign::remove_submission has incomplete parameters list
plagiarism/safeassign/tests/behat/behat_plagiarism_safeassign.php
(#326) There is no description in phpdocs for function i_click_on_file_or_for_student
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_test.php
(#187) 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

(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

(1 errors, 1 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
plagiarism/safeassign/templates/originalityreport.mustache
(#1) HTML Validation info, line 5: The “type” attribute is unnecessary for JavaScript resources. (html ...<script type="text/javascript"> /)