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

(4 errors, 4 warnings)

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

local/barcode/assign/submissions.php
(#61) Usage of ELSEIF not allowed; use ELSE IF instead
(#100) Usage of ELSEIF not allowed; use ELSE IF instead
local/barcode/barcode_submission_form.php
(#49) Line exceeds 132 characters; contains 138 characters
(#55) Line exceeds 132 characters; contains 139 characters
local/barcode/classes/task/email_group.php
(#61) Line exceeds 132 characters; contains 136 characters
(#65) Line exceeds 132 characters; contains 138 characters
local/barcode/submissions.php
(#51) Usage of ELSEIF not allowed; use ELSE IF instead
(#87) Usage of ELSEIF not allowed; use ELSE IF instead

Javascript coding style problems

(2 errors, 25 warnings)

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

local/barcode/amd/src/index.js
(#6) Multiple spaces found before '='. (no-multi-spaces)
(#139) Expected JSDoc for 'barcode' but found 'wstoken'. (valid-jsdoc)
(#161) Multiple spaces found before '='. (no-multi-spaces)
(#162) Multiple spaces found before '='. (no-multi-spaces)
(#163) Multiple spaces found before '='. (no-multi-spaces)
(#165) Multiple spaces found before '='. (no-multi-spaces)
(#166) Multiple spaces found before '='. (no-multi-spaces)
(#167) Multiple spaces found before '='. (no-multi-spaces)
(#168) Multiple spaces found before '='. (no-multi-spaces)
(#169) Multiple spaces found before '='. (no-multi-spaces)
(#171) Multiple spaces found before '='. (no-multi-spaces)
(#172) Multiple spaces found before '='. (no-multi-spaces)
(#174) Unexpected space after unary operator '!'. (space-unary-ops)
(#218) Multiple spaces found before '='. (no-multi-spaces)
(#241) Line 241 exceeds the maximum line length of 132. (max-len)
(#244) Line 244 exceeds the maximum line length of 132. (max-len)
(#272) Multiple spaces found before '{'. (no-multi-spaces)
(#304) Missing JSDoc for parameter 'count'. (valid-jsdoc)
(#314) Missing JSDoc for parameter 'count'. (valid-jsdoc)
(#324) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#344) Missing JSDoc comment. (require-jsdoc)
(#361) Missing JSDoc return type. (valid-jsdoc)
(#412) Unexpected space before function parentheses. (space-before-function-paren)
(#415) Missing JSDoc comment. (require-jsdoc)
(#419) Unexpected space before function parentheses. (space-before-function-paren)
(#432) Missing JSDoc comment. (require-jsdoc)
(#436) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(69 errors, 0 warnings)

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

local/barcode/styles.css
(#17) Expected single space before "{" (block-opening-brace-space-before)
(#31) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#32) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#32) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#139) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 8 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)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 8 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 8 spaces (indentation)
(#133) Expected indentation of 8 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 8 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

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

local/barcode/classes/privacy/provider.php
(#30) Class provider is not documented
local/barcode/classes/submission/upload_submission.php
(#71) Phpdocs for function upload_submission::__construct 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]