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

(80 errors, 4 warnings)

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

mod/scormremote/backup/moodle2/backup_scormremote_stepslib.php
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
mod/scormremote/classes/form/client.php
(#83) Expected 1 space before "="; 3 found
mod/scormremote/classes/form/wrapper.php
(#71) Expected 1 space before "="; 3 found
mod/scormremote/classes/packagefile.php
(#162) Expected 1 space before "=>"; 7 found
(#163) Expected 1 space before "=>"; 9 found
(#164) Expected 1 space before "=>"; 9 found
mod/scormremote/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/scormremote/classes/subscription.php
(#85) Expected 1 space before "=>"; 3 found
mod/scormremote/classes/utils.php
(#104) Expected 1 space before "="; 2 found
mod/scormremote/clients.php
(#44) Expected 1 space before "="; 7 found
(#45) Expected 1 space before "="; 2 found
(#47) Expected 1 space before "="; 3 found
(#77) Expected 1 space before "=>"; 5 found
(#78) Expected 1 space before "=>"; 4 found
(#79) Expected 1 space before "=>"; 6 found
mod/scormremote/db/access.php
(#32) Expected 1 space before "=>"; 6 found
(#34) Expected 1 space before "=>"; 3 found
(#41) Expected 1 space before "=>"; 3 found
(#42) Expected 1 space before "=>"; 6 found
(#44) Expected 1 space before "=>"; 3 found
(#49) Expected 1 space before "=>"; 3 found
(#50) Expected 1 space before "=>"; 6 found
(#52) Expected 1 space before "=>"; 3 found
(#57) Expected 1 space before "=>"; 6 found
(#59) Expected 1 space before "=>"; 3 found
(#65) Expected 1 space before "=>"; 6 found
(#67) Expected 1 space before "=>"; 3 found
(#73) Expected 1 space before "=>"; 3 found
(#74) Expected 1 space before "=>"; 6 found
(#76) Expected 1 space before "=>"; 3 found
(#81) Expected 1 space before "=>"; 3 found
(#82) Expected 1 space before "=>"; 6 found
(#84) Expected 1 space before "=>"; 3 found
(#89) Expected 1 space before "=>"; 6 found
(#91) Expected 1 space before "=>"; 3 found
mod/scormremote/db/upgrade.php
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
mod/scormremote/error.php
(#38) Expected 1 space before "=>"; 4 found
(#39) Expected 1 space before "=>"; 3 found
(#46) Expected 1 space before "=>"; 4 found
(#47) Expected 1 space before "=>"; 3 found
(#54) Expected 1 space before "=>"; 4 found
(#55) Expected 1 space before "=>"; 3 found
(#62) Expected 1 space before "=>"; 4 found
(#63) Expected 1 space before "=>"; 3 found
mod/scormremote/index.php
(#60) Expected 1 space before "="; 2 found
(#63) Expected 1 space before "="; 2 found
(#66) Expected 1 space before "="; 2 found
mod/scormremote/lang/en/scormremote.php
(#29) Expected 1 space before "="; 7 found
(#30) Expected 1 space before "="; 7 found
mod/scormremote/lib.php
(#162) Expected 1 space before "="; 3 found
(#246) Expected 1 space before "=>"; 7 found
(#247) Expected 1 space before "=>"; 9 found
mod/scormremote/submit_completion.php
(#36) Expected 1 space before "="; 4 found
(#37) Expected 1 space before "="; 2 found
mod/scormremote/tests/client_test.php
(#75) Expected 1 space before "=>"; 2 found
(#76) Expected 1 space before "=>"; 9 found
(#77) Expected 1 space before "=>"; 3 found
(#78) Expected 1 space before "=>"; 6 found
(#79) Expected 1 space before "=>"; 4 found
(#81) Expected 1 space before "=>"; 4 found
(#82) Expected 1 space before "=>"; 6 found
(#83) Expected 1 space before "=>"; 5 found
(#85) Expected 1 space before "=>"; 4 found
(#86) Expected 1 space before "=>"; 9 found
(#87) Expected 1 space before "=>"; 7 found
(#88) Expected 1 space before "=>"; 11 found
(#89) Expected 1 space before "=>"; 10 found
(#90) Expected 1 space before "=>"; 14 found
(#91) Expected 1 space before "=>"; 15 found
(#92) Expected 1 space before "=>"; 14 found
(#93) Expected 1 space before "=>"; 2 found
(#94) Expected 1 space before "=>"; 2 found
(#95) Expected 1 space before "=>"; 3 found
(#96) Expected 1 space before "=>"; 3 found
(#99) Expected 1 space before "=>"; 11 found
mod/scormremote/tiers.php
(#43) Expected 1 space before "="; 7 found
(#44) Expected 1 space before "="; 2 found
(#46) Expected 1 space before "="; 3 found
mod/scormremote/wrapper.php
(#33) Expected 1 space before "="; 5 found
(#34) Expected 1 space before "="; 2 found
(#36) Expected 1 space before "="; 3 found
(#39) Expected 1 space before "="; 5 found
(#41) Expected 1 space before "="; 3 found

Javascript coding style problems

(0 errors, 105 warnings)

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

mod/scormremote/amd/src/layer2.js
(#5) There should be no space after '{'. (babel/object-curly-spacing)
(#5) There should be no space before '}'. (babel/object-curly-spacing)
(#6) There should be no space after '{'. (babel/object-curly-spacing)
(#6) There should be no space before '}'. (babel/object-curly-spacing)
(#10) Comments should not begin with a lowercase character. (capitalized-comments)
(#65) Missing JSDoc comment. (require-jsdoc)
(#66) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#70) There should be no space after this paren. (space-in-parens)
(#70) There should be no space before this paren. (space-in-parens)
(#70) Comments should not begin with a lowercase character. (capitalized-comments)
(#110) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#112) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#127) Missing JSDoc comment. (require-jsdoc)
(#128) Requires a space after '{'. (block-spacing)
(#128) Statement inside of curly braces should be on next line. (brace-style)
(#128) Requires a space before '}'. (block-spacing)
(#128) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#134) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#136) Comments should not begin with a lowercase character. (capitalized-comments)
(#139) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#146) 'result' used outside of binding context. (block-scoped-var)
(#160) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#161) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#162) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#162) Comments should not begin with a lowercase character. (capitalized-comments)
(#164) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#165) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#168) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#170) Comments should not begin with a lowercase character. (capitalized-comments)
(#190) Missing JSDoc comment. (require-jsdoc)
(#195) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#196) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#197) 'err' used outside of binding context. (block-scoped-var)
(#197) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#197) Comments should not begin with a lowercase character. (capitalized-comments)
(#198) 'err' used outside of binding context. (block-scoped-var)
(#199) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#203) 'err' is already defined. (no-redeclare)
(#203) 'err' used outside of binding context. (block-scoped-var)
(#203) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#204) 'err' used outside of binding context. (block-scoped-var)
(#204) 'err' used outside of binding context. (block-scoped-var)
(#217) Missing JSDoc comment. (require-jsdoc)
(#222) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#223) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#224) 'err' used outside of binding context. (block-scoped-var)
(#224) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#224) Comments should not begin with a lowercase character. (capitalized-comments)
(#225) 'err' used outside of binding context. (block-scoped-var)
(#226) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#230) 'err' is already defined. (no-redeclare)
(#230) 'err' used outside of binding context. (block-scoped-var)
(#230) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#231) 'err' used outside of binding context. (block-scoped-var)
(#244) Missing JSDoc comment. (require-jsdoc)
(#248) Comments should not begin with a lowercase character. (capitalized-comments)
(#248) Expected space or tab after '//' in comment. (spaced-comment)
(#249) Expected space or tab after '//' in comment. (spaced-comment)
(#262) Missing JSDoc comment. (require-jsdoc)
(#279) Missing JSDoc comment. (require-jsdoc)
(#304) There should be no space after '{'. (babel/object-curly-spacing)
(#304) There should be no space before '}'. (babel/object-curly-spacing)
(#314) Comments should not begin with a lowercase character. (capitalized-comments)
(#317) Comments should not begin with a lowercase character. (capitalized-comments)
(#360) JSDoc type missing brace. (valid-jsdoc)
(#388) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#406) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#416) ["function"] is better written in dot notation. (dot-notation)
(#417) ["params"] is better written in dot notation. (dot-notation)
(#449) Missing JSDoc comment. (require-jsdoc)
(#454) Operator '+' must be spaced. (space-infix-ops)
(#454) Operator '+' must be spaced. (space-infix-ops)
(#459) Operator '+' must be spaced. (space-infix-ops)
(#459) Operator '+' must be spaced. (space-infix-ops)
(#478) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#492) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#498) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#504) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#507) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#511) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#526) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#541) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#554) Missing JSDoc comment. (require-jsdoc)
(#555) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#557) There should be no space after '{'. (babel/object-curly-spacing)
(#557) Unquoted reserved word 'function' used as key. (quote-props)
(#557) There should be no space before '}'. (babel/object-curly-spacing)
(#571) Unnecessary escape character: \d. (no-useless-escape)
mod/scormremote/amd/src/layer3.js
(#12) Expected space or tab after '//' in comment. (spaced-comment)
(#14) Expected space or tab after '//' in comment. (spaced-comment)
(#23) Expected space or tab after '//' in comment. (spaced-comment)
(#32) Missing JSDoc comment. (require-jsdoc)
(#75) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#81) ["function"] is better written in dot notation. (dot-notation)
(#82) ["arguments"] is better written in dot notation. (dot-notation)
(#116) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#131) Missing JSDoc comment. (require-jsdoc)
(#140) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#144) Multiple spaces found before '='. (no-multi-spaces)
(#144) Multiple spaces found before 'new'. (no-multi-spaces)
(#178) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#182) Multiple spaces found before '='. (no-multi-spaces)
(#182) Multiple spaces found before 'new'. (no-multi-spaces)
(#223) Unexpected @returns tag; function has no return statement. (valid-jsdoc)
(#228) Unquoted reserved word 'function' used as key. (quote-props)

CSS problems

(0 errors, 0 warnings)

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


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, 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

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


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]