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

(49 errors, 24 warnings)

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

blocks/assignment_review/block_assignment_review.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Expected "if (...) {\n"; found "if(...) {\n"
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) This comment is 50% valid code; is this commented out code?
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Line indented incorrectly; expected at least 16 spaces, found 0
(#114) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#115) Line indented incorrectly; expected at least 16 spaces, found 0
(#115) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#116) Line indented incorrectly; expected at least 16 spaces, found 0
(#116) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#117) Line indented incorrectly; expected at least 16 spaces, found 0
(#117) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Line indented incorrectly; expected at least 16 spaces, found 0
(#118) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#120) Expected 1 space after ".="; newline found
(#121) Whitespace found at end of line within string
(#126) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Expected 1 space after ".="; newline found
(#166) Whitespace found at end of line within string
blocks/assignment_review/classes/comment.php
(#18) Expected 1 space(s) before asterisk; 0 found
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found
(#23) Expected 1 space(s) before asterisk; 0 found
(#24) Expected 1 space(s) before asterisk; 0 found
(#30) Expected 1 space(s) before asterisk; 0 found
(#31) Expected 1 space(s) before asterisk; 0 found
(#32) Expected 1 space(s) before asterisk; 0 found
(#36) Expected 1 space(s) before asterisk; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
blocks/assignment_review/db/upgrade.php
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/assignment_review/db/upgradelib.php
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/assignment_review/edit_form.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/assignment_review/lib.php
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#50) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#51) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Line indented incorrectly; expected at least 4 spaces, found 0
(#52) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "comment_param" must not contain underscores.
(#94) Variable "comment_param" must not contain underscores.
(#97) Variable "comment_param" must not contain underscores.
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
blocks/assignment_review/settings.php
(#45) Expected 1 space before "="; 0 found
(#45) Expected 1 space after "="; 0 found
(#46) Line exceeds 132 characters; contains 146 characters
(#48) Line exceeds 132 characters; contains 136 characters
(#67) Expected 1 space before "="; 0 found
(#67) Expected 1 space after "="; 0 found
(#68) Line exceeds 132 characters; contains 144 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#82) Line exceeds 132 characters; contains 133 characters

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 spaces inside 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) Infix operators must be spaced. (space-infix-ops)
(#67) Infix operators 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 "{" of a multi-line block (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

(6 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
(#122) Phpdocs for function block_assignment_review_comment_display has incomplete parameters list
(#81) Package block_comments is not valid
(#106) Package block_comments is not valid
(#119) Package block_comments is not valid

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 "stylelint:css" 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

(0 errors, 0 warnings)

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