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

(1 errors, 1 warnings)

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

plagiarism/compilatio/classes/privacy/provider.php
(#34) Duplicate interface name "plagiarism_compilatio\privacy\user_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/plagiarism/compilatio/classes/privacy/provider.php on line 30
plagiarism/compilatio/db/upgrade.php
(#108) Whitespace found at end of line

Javascript coding style problems

(12 errors, 44 warnings)

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

plagiarism/compilatio/amd/src/compilatio_ajax_api.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#24) There should be no space after '{'. (babel/object-curly-spacing)
(#24) There should be no space before '}'. (babel/object-curly-spacing)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#48) This line has a length of 149. Maximum allowed is 132. (max-len)
(#48) There should be no space after '{'. (babel/object-curly-spacing)
(#48) There should be no space before '}'. (babel/object-curly-spacing)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#55) 'refreshButton' is assigned a value but never used. (no-unused-vars)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#63) Unexpected space before function parentheses. (space-before-function-paren)
(#66) This line has a length of 155. Maximum allowed is 132. (max-len)
(#69) Unexpected space before function parentheses. (space-before-function-paren)
(#70) This line has a length of 134. Maximum allowed is 132. (max-len)
(#70) There should be no space after '{'. (babel/object-curly-spacing)
(#70) There should be no space before '}'. (babel/object-curly-spacing)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#70) 'data' is defined but never used. (no-unused-vars)
(#83) 'compilatioTabs' is assigned a value but never used. (no-unused-vars)
(#83) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Missing space before opening brace. (space-before-blocks)
(#100) A space is required after ','. (comma-spacing)
(#100) Missing space before opening brace. (space-before-blocks)
(#103) A space is required after ','. (comma-spacing)
(#103) Missing space before opening brace. (space-before-blocks)
(#106) A space is required after ','. (comma-spacing)
(#106) Missing space before opening brace. (space-before-blocks)
(#110) Missing JSDoc comment. (require-jsdoc)
(#111) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#112) Expected space(s) after "if". (keyword-spacing)
(#113) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#125) A space is required after ','. (comma-spacing)
(#125) Missing space before opening brace. (space-before-blocks)
(#126) 'elementClicked' is not defined. (no-undef)
(#127) 'elementClicked' is not defined. (no-undef)
(#128) 'elementClicked' is not defined. (no-undef)
(#132) A space is required after ','. (comma-spacing)
(#132) 'event' is defined but never used. (no-unused-vars)
(#132) Missing space before opening brace. (space-before-blocks)
plagiarism/compilatio/amd/src/compilatio_form.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#8) 'afterPercentValues' is assigned a value but never used. (no-unused-vars)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unquoted reserved word 'class' used as key. (quote-props)
(#10) Missing space before value for key 'class'. (key-spacing)
(#11) Unquoted reserved word 'class' used as key. (quote-props)
(#11) Missing space before value for key 'class'. (key-spacing)
plagiarism/compilatio/js/statistics_functions.js
(#17) Parsing error: Parenthesized pattern

CSS problems

(2 errors, 0 warnings)

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

plagiarism/compilatio/styles.css
(#346) Expected newline after "," (selector-list-comma-newline-after)
plagiarism/compilatio/css/no_js_styles.css
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 1 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

plagiarism/compilatio/db/upgrade.php
Detected fewer 'if' blocks (0) than 'savepoint' calls (2). Repeated savepoints?

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]