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

(137 errors, 59 warnings)

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

ai/provider/bedrock/classes/abstract_processor.php
(#44) Whitespace found at end of line
(#100) Whitespace found at end of line
(#107) Whitespace found at end of line
(#110) Whitespace found at end of line
(#133) File must end with a newline character
ai/provider/bedrock/classes/privacy/provider.php
(#116) File must end with a newline character
ai/provider/bedrock/classes/process_generate_image.php
(#27) Missing docblock for function get_model
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Whitespace found at end of line
(#62) There should be a comma after the last array item in a multi-line array.
(#81) Whitespace found at end of line
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Variable "isNova" must be all lower-case
(#85) Whitespace found at end of line
(#90) Variable "isNova" must be all lower-case
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Missing docblock for function create_request_params
(#103) Whitespace found at end of line
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Whitespace found at end of line
(#132) Whitespace found at end of line
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Whitespace found at end of line
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Whitespace found at end of line
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Whitespace found at end of line
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Variable "debugResponse" must be all lower-case
(#160) Variable "debugResponse" must be all lower-case
(#161) Variable "debugResponse" must be all lower-case
(#161) Variable "debugResponse" must be all lower-case
(#163) Whitespace found at end of line
(#164) Variable "debugResponse" must be all lower-case
(#184) Whitespace found at end of line
(#196) Whitespace found at end of line
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Whitespace found at end of line
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Whitespace found at end of line
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Whitespace found at end of line
(#213) Whitespace found at end of line
(#214) Missing docblock for function handle_api_success
(#216) Whitespace found at end of line
(#219) Whitespace found at end of line
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) Whitespace found at end of line
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Whitespace found at end of line
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#236) Whitespace found at end of line
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Whitespace found at end of line
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Whitespace found at end of line
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) Whitespace found at end of line
(#258) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) File must end with a newline character
ai/provider/bedrock/classes/process_generate_text.php
(#27) Missing docblock for function get_model
(#31) Missing docblock for function get_system_instruction
(#54) Whitespace found at end of line
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Whitespace found at end of line
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) There should be a comma after the last array item in a multi-line array.
(#72) Whitespace found at end of line
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Whitespace found at end of line
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Whitespace found at end of line
(#83) Whitespace found at end of line
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) There should be a comma after the last array item in a multi-line array.
(#92) There should be a comma after the last array item in a multi-line array.
(#93) There should be a comma after the last array item in a multi-line array.
(#94) There should be a comma after the last array item in a multi-line array.
(#97) Whitespace found at end of line
(#111) Whitespace found at end of line
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Whitespace found at end of line
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Whitespace found at end of line
(#135) Missing docblock for function create_request_params
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Variable "stopReason" must be all lower-case
(#152) Variable "stopReason" must be all lower-case
(#153) Variable "stopReason" must be all lower-case
(#154) Variable "stopReason" must be all lower-case
(#155) Variable "stopReason" must be all lower-case
(#157) Whitespace found at end of line
(#161) Variable "stopReason" must be all lower-case
(#163) Variable "stopReason" must be all lower-case
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Whitespace found at end of line
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Variable "finishReason" must be all lower-case
(#195) Whitespace found at end of line
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Variable "finishReason" must be all lower-case
(#198) Variable "finishReason" must be all lower-case
(#199) Variable "finishReason" must be all lower-case
(#200) Variable "finishReason" must be all lower-case
(#202) Whitespace found at end of line
(#208) Variable "finishReason" must be all lower-case
(#214) Missing docblock for function handle_api_success
(#221) File must end with a newline character
ai/provider/bedrock/classes/process_summarise_text.php
(#27) Missing docblock for function get_model
(#31) Missing docblock for function get_system_instruction
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Whitespace found at end of line
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Whitespace found at end of line
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Variable "promptWithInstruction" must be all lower-case
(#68) Whitespace found at end of line
(#76) Variable "promptWithInstruction" must be all lower-case
(#77) There should be a comma after the last array item in a multi-line array.
(#80) Whitespace found at end of line
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Whitespace found at end of line
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Whitespace found at end of line
(#91) Whitespace found at end of line
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) There should be a comma after the last array item in a multi-line array.
(#99) Variable "promptWithInstruction" must be all lower-case
(#100) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#105) Whitespace found at end of line
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Whitespace found at end of line
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Whitespace found at end of line
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Whitespace found at end of line
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "promptWithInstruction" must be all lower-case
(#133) Whitespace found at end of line
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Variable "promptWithInstruction" must be all lower-case
(#140) Whitespace found at end of line
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Whitespace found at end of line
(#157) Missing docblock for function create_request_params
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Variable "stopReason" must be all lower-case
(#174) Variable "stopReason" must be all lower-case
(#175) Variable "stopReason" must be all lower-case
(#176) Variable "stopReason" must be all lower-case
(#177) Variable "stopReason" must be all lower-case
(#179) Whitespace found at end of line
(#183) Variable "stopReason" must be all lower-case
(#185) Variable "stopReason" must be all lower-case
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Whitespace found at end of line
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) Variable "finishReason" must be all lower-case
(#217) Whitespace found at end of line
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#219) Variable "finishReason" must be all lower-case
(#220) Variable "finishReason" must be all lower-case
(#221) Variable "finishReason" must be all lower-case
(#222) Variable "finishReason" must be all lower-case
(#224) Whitespace found at end of line
(#230) Variable "finishReason" must be all lower-case
(#236) Missing docblock for function handle_api_success
(#243) File must end with a newline character
ai/provider/bedrock/classes/provider.php
(#60) Whitespace found at end of line
(#64) Whitespace found at end of line
(#110) Missing docblock for function is_request_allowed
(#172) Whitespace found at end of line
(#203) File must end with a newline character
ai/provider/bedrock/lang/en/aiprovider_bedrock.php
(#35) The string key "accesskeyid" is not in the correct order, it should be before "action:summarise_text:systeminstruction_desc"
(#39) The string key "region" is not in the correct order, it should be before "secretaccesskey_desc"
(#41) The string key "enableglobalratelimit" is not in the correct order, it should be before "region_desc"
(#55) Unexpected string end, it should be a line feed after a semicolon
(#55) File must end with a newline character
ai/provider/bedrock/lang/it/aiprovider_bedrock.php
(#35) The string key "accesskeyid" is not in the correct order, it should be before "action:summarise_text:systeminstruction_desc"
(#39) The string key "region" is not in the correct order, it should be before "secretaccesskey_desc"
(#41) The string key "enableglobalratelimit" is not in the correct order, it should be before "region_desc"
(#55) Unexpected string end, it should be a line feed after a semicolon
(#55) File must end with a newline character
ai/provider/bedrock/settings.php
(#59) Whitespace found at end of line
(#106) 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

(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]