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

(33 errors, 5 warnings)

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

blocks/ungraded_assignments/block_ungraded_assignments.php
(#1) Moodle boilerplate not found
(#4) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#6) Missing @copyright tag
(#6) Missing @license tag
(#6) Missing docblock for class block_ungraded_assignments
(#7) Missing docblock for function init
(#11) Missing docblock for function get_content
(#24) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#33) Whitespace found at end of line
(#37) Short array syntax must be used to define arrays
(#44) Whitespace found at end of line
(#64) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#68) Expected "if (...) {\n"; found "if(...) {\n"
(#76) Expected "if (...) {\n"; found "if(...) {\n"
(#84) Expected "if (...) {\n"; found "if(...) {\n"
(#87) Short array syntax must be used to define arrays
(#99) Whitespace found at end of line
(#116) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#122) Expected "if (...) {\n"; found "if(...) {\n"
(#125) Short array syntax must be used to define arrays
(#133) File must end with a newline character
blocks/ungraded_assignments/db/access.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file access.php
(#1) Moodle boilerplate not found
(#21) File must end with a newline character
blocks/ungraded_assignments/lang/en/block_ungraded_assignments.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file block_ungraded_assignments.php
(#1) Moodle boilerplate not found
(#4) The string key "no_ungraded" is not in the correct order, it should be before "ungraded_assignments"
(#6) Unexpected string end, it should be a line feed after a semicolon
(#6) File must end with a newline character
blocks/ungraded_assignments/version.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file version.php
(#1) Moodle boilerplate not found
(#8) File must end with a newline character

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(121 errors, 26 warnings)

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

blocks/ungraded_assignments/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#9) Expected "#448FF7" to be "#448ff7" (color-hex-case)
(#10) Expected "#272F43" to be "#272f43" (color-hex-case)
(#11) Expected "#262F45" to be "#262f45" (color-hex-case)
(#12) Expected "#1AB394" to be "#1ab394" (color-hex-case)
(#15) Expected "#272F43" to be "#272f43" (color-hex-case)
(#21) Expected "#F5F6F8" to be "#f5f6f8" (color-hex-case)
(#22) Expected "#A8A8A8" to be "#a8a8a8" (color-hex-case)
(#23) Expected "#ECECEC" to be "#ececec" (color-hex-case)
(#28) Expected "#F4F4F4" to be "#f4f4f4" (color-hex-case)
(#29) Expected "#464D5D" to be "#464d5d" (color-hex-case)
(#30) Expected "#464D5D" to be "#464d5d" (color-hex-case)
(#31) Expected "#7C7C7C" to be "#7c7c7c" (color-hex-case)
(#33) Expected "#D3D3D3" to be "#d3d3d3" (color-hex-case)
(#35) Expected "#FAFAFA" to be "#fafafa" (color-hex-case)
(#36) Expected "#DDDDDD80" to be "#dddddd80" (color-hex-case)
(#38) Expected "#E3E3E3" to be "#e3e3e3" (color-hex-case)
(#41) Expected "#20A58A" to be "#20a58a" (color-hex-case)
(#42) Expected "#52AD93" to be "#52ad93" (color-hex-case)
(#43) Expected "#2680EB" to be "#2680eb" (color-hex-case)
(#47) Expected "#EF4C4C" to be "#ef4c4c" (color-hex-case)
(#48) Expected "#ECF4FE" to be "#ecf4fe" (color-hex-case)
(#49) Expected "#EEF6F5" to be "#eef6f5" (color-hex-case)
(#14) Expected "#333333" to be "#333" (color-hex-length)
(#20) Expected "#555555" to be "#555" (color-hex-length)
(#26) Expected "#bbbbbb" to be "#bbb" (color-hex-length)
(#192) Unexpected duplicate "height" (declaration-block-no-duplicate-properties)
(#9) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#199) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#13) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#15) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#20) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#28) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#31) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#33) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#34) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#35) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#36) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#38) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#42) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#47) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#49) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Unexpected whitespace before ":" (declaration-colon-space-before)
(#18) Unexpected whitespace before ":" (declaration-colon-space-before)
(#19) Unexpected whitespace before ":" (declaration-colon-space-before)
(#20) Unexpected whitespace before ":" (declaration-colon-space-before)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#198) Unexpected unit (length-zero-no-unit)
(#9) Unexpected whitespace at end of line (no-eol-whitespace)
(#63) Unexpected whitespace at end of line (no-eol-whitespace)
(#171) Unexpected whitespace at end of line (no-eol-whitespace)
(#223) Unexpected whitespace at end of line (no-eol-whitespace)
(#63) Expected newline after "," (selector-list-comma-newline-after)
(#171) Expected newline after "," (selector-list-comma-newline-after)
(#65) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#128) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#141) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 4 spaces (indentation)
(#150) Expected indentation of 4 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#162) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 4 spaces (indentation)
(#180) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 4 spaces (indentation)
(#188) Expected indentation of 4 spaces (indentation)
(#189) Expected indentation of 4 spaces (indentation)
(#190) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#198) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

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

blocks/ungraded_assignments/block_ungraded_assignments.php
(#42) Phpdocs for function block_ungraded_assignments::get_ungraded_assignments has incomplete parameters list
(#97) Phpdocs for function block_ungraded_assignments::get_ungraded_quizes 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, 2 warnings)

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

blocks/ungraded_assignments/templates/assignment_listing.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Text not allowed in element “ul” in this context. (ss="tree"> ((+no_ungraded%2C+block_ungraded_assignments+))</ul>)

Gherkin .feature problems

(0 errors, 0 warnings)

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