Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

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

blocks/assignment_review/block_assignment_review.php
(#141) This comment is 57% valid code; is this commented out code?
(#161) This comment is 58% valid code; is this commented out code?
blocks/assignment_review/tests/privacy_test.php
(#100) Test method test_get_metadata() is missing any coverage information, own or at class level
(#112) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#155) Test method test_export_data_for_user() is missing any coverage information, own or at class level
(#155) Test method test_export_data_for_user() is missing a return type
(#248) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#295) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
blocks/assignment_review/version.php
(#31) This comment is 50% valid code; is this commented out code?

Javascript coding style problems

(15 errors, 8 warnings)

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

blocks/assignment_review/script.js
(#26) '$' is not defined. (no-undef)
(#27) '$' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#35) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#37) '$' is not defined. (no-undef)
(#41) Expected space or tab after '//' in comment. (spaced-comment)
(#43) '$' is not defined. (no-undef)
(#48) '$' is not defined. (no-undef)
(#48) There should be no space before this paren. (space-in-parens)
(#51) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#52) '$' is not defined. (no-undef)
(#53) '$' is not defined. (no-undef)
(#56) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#57) '$' is not defined. (no-undef)
(#59) '$' is not defined. (no-undef)
(#60) '$' is not defined. (no-undef)
(#67) '$' is not defined. (no-undef)
(#67) Operator '+' must be spaced. (space-infix-ops)
(#67) Operator '+' must be spaced. (space-infix-ops)
(#67) A space is required after ','. (comma-spacing)
(#70) '$' is not defined. (no-undef)
(#74) Missing semicolon. (semi)

CSS problems

(3 errors, 0 warnings)

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

blocks/assignment_review/styles.css
(#15) Expected newline after "{" (block-opening-brace-newline-after)
(#12) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#15) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(4 errors, 0 warnings)

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

blocks/assignment_review/edit_form.php
(#36) Phpdocs for function block_assignment_review_edit_form::specific_definition has incomplete parameters list
blocks/assignment_review/lib.php
(#31) Phpdocs for function block_assignment_review_pluginfile has incomplete parameters list
(#84) Phpdocs for function block_assignment_review_comment_validate has incomplete parameters list
(#122) Phpdocs for function block_assignment_review_comment_display has incomplete parameters list

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]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]