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

(21 errors, 6 warnings)

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

mod/quiz/accessrule/proctoring/classes/external.php
(#54) Whitespace found at end of line
(#55) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space after "=>"; 0 found
(#57) Whitespace found at end of line
(#149) Line exceeds 132 characters; contains 162 characters
mod/quiz/accessrule/proctoring/config.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/quiz/accessrule/proctoring/report.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line exceeds 132 characters; contains 145 characters
(#59) Whitespace found at end of line
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#82) No space found before comment text; expected "// Print report." but found "//Print report."
(#88) Line exceeds maximum limit of 180 characters; contains 246 characters
(#95) No space found before comment text; expected "// Prepare data." but found "//Prepare data."
(#102) Whitespace found at end of line
(#107) Expected "if (...) {\n"; found "if(...){\n"
(#109) Expected "} else {\n"; found "}else{\n"
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#144) Line exceeds 132 characters; contains 177 characters
(#152) Whitespace found at end of line
mod/quiz/accessrule/proctoring/rule.php
(#39) Expected 1 space before opening brace; found 0
(#61) Expected 1 space before opening brace; found 0

Javascript coding style problems

(4 errors, 57 warnings)

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

mod/quiz/accessrule/proctoring/amd/src/proctoring.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Missing space before opening brace. (space-before-blocks)
(#12) Expected to return a value at the end of method 'setup'. (consistent-return)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Missing space before opening brace. (space-before-blocks)
(#15) Trailing spaces not allowed. (no-trailing-spaces)
(#19) Trailing spaces not allowed. (no-trailing-spaces)
(#24) Multiple spaces found before '// We will sca...'. (no-multi-spaces)
(#25) Multiple spaces found before '// This will b...'. (no-multi-spaces)
(#30) Operator '+' must be spaced. (space-infix-ops)
(#31) Operator '+' must be spaced. (space-infix-ops)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Missing space before opening brace. (space-before-blocks)
(#45) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Missing space before opening brace. (space-before-blocks)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Missing space before opening brace. (space-before-blocks)
(#84) Each then() should return a value or throw (promise/always-return)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Unexpected space before function parentheses. (space-before-function-paren)
(#90) Unexpected console statement. (no-console)
(#95) Expected space(s) after "if". (keyword-spacing)
(#95) Missing space before opening brace. (space-before-blocks)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#96) Missing space before opening brace. (space-before-blocks)
(#116) Unexpected space before function parentheses. (space-before-function-paren)
(#116) Missing space before opening brace. (space-before-blocks)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#125) Missing space before opening brace. (space-before-blocks)
(#126) Multiple spaces found before '// We will sca...'. (no-multi-spaces)
(#127) Multiple spaces found before '// This will b...'. (no-multi-spaces)
(#134) Missing JSDoc comment. (require-jsdoc)
(#134) Missing space before opening brace. (space-before-blocks)
(#140) Each then() should return a value or throw (promise/always-return)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#145) 'err' is defined but never used. (no-unused-vars)
(#155) Unexpected space before function parentheses. (space-before-function-paren)
(#155) Missing space before opening brace. (space-before-blocks)
(#175) Unexpected space before function parentheses. (space-before-function-paren)
(#175) Missing space before opening brace. (space-before-blocks)
(#183) Missing JSDoc comment. (require-jsdoc)
(#183) Missing space before opening brace. (space-before-blocks)
(#196) Missing JSDoc comment. (require-jsdoc)
(#196) Missing space before opening brace. (space-before-blocks)
(#218) Unexpected space before function parentheses. (space-before-function-paren)
(#218) Missing space before opening brace. (space-before-blocks)
(#234) Missing JSDoc comment. (require-jsdoc)
(#234) Missing space before opening brace. (space-before-blocks)
(#235) A space is required after ','. (comma-spacing)
(#248) Missing space before opening brace. (space-before-blocks)
(#249) There should be no space after this paren. (space-in-parens)
(#249) There should be no space before this paren. (space-in-parens)
(#251) Missing space before opening brace. (space-before-blocks)
(#253) There should be no space after this paren. (space-in-parens)
(#253) There should be no space before this paren. (space-in-parens)
(#255) There should be no space after this paren. (space-in-parens)
(#255) There should be no space before this paren. (space-in-parens)
(#261) Missing JSDoc comment. (require-jsdoc)
(#261) Missing space before opening brace. (space-before-blocks)
(#262) A space is required after ','. (comma-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(20 errors, 0 warnings)

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

mod/quiz/accessrule/proctoring/classes/external.php
(#38) Function quizaccess_proctoring_external::get_camshots_parameters is not documented
(#48) Function quizaccess_proctoring_external::get_camshots is not documented
(#82) Function quizaccess_proctoring_external::get_camshots_returns is not documented
(#103) Function quizaccess_proctoring_external::send_camshot_parameters is not documented
(#114) Function quizaccess_proctoring_external::send_camshot is not documented
(#167) Function quizaccess_proctoring_external::send_camshot_returns is not documented
mod/quiz/accessrule/proctoring/classes/privacy/provider.php
(#29) Class provider is not documented
mod/quiz/accessrule/proctoring/classes/screenshot.php
(#32) Class screenshot is not documented
mod/quiz/accessrule/proctoring/db/uninstall.php
(#17) No one-line description found in phpdocs for file
mod/quiz/accessrule/proctoring/rule.php
(#32) Class quizaccess_proctoring is not documented
(#35) Function quizaccess_proctoring::is_preflight_check_required is not documented
(#39) Function quizaccess_proctoring::add_preflight_check_form_fields is not documented
(#46) Function quizaccess_proctoring::validate_preflight_check is not documented
(#54) Function quizaccess_proctoring::make is not documented
(#61) Function quizaccess_proctoring::add_settings_form_fields is not documented
(#71) Function quizaccess_proctoring::save_settings is not documented
(#85) Function quizaccess_proctoring::delete_settings is not documented
(#90) Function quizaccess_proctoring::get_settings_sql is not documented
(#97) Function quizaccess_proctoring::description is not documented
(#118) Function quizaccess_proctoring::setup_attempt_page is not documented

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 "eslint:amd" 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]