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

(57 errors, 0 warnings)

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

ai/provider/openrouter/classes/abstract_processor.php
(#32) Expected 1 space before asterisk; 0 found
(#33) Expected 1 space before asterisk; 0 found
ai/provider/openrouter/classes/privacy/provider.php
(#29) Expected 1 space before asterisk; 0 found
(#30) Expected 1 space before asterisk; 0 found
(#34) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
ai/provider/openrouter/classes/process_generate_image.php
(#31) Expected 1 space before asterisk; 0 found
(#32) Expected 1 space before asterisk; 0 found
ai/provider/openrouter/classes/process_generate_text.php
(#30) Whitespace found at end of line
ai/provider/openrouter/classes/process_summarise_text.php
(#26) Expected 1 space before asterisk; 0 found
(#27) Expected 1 space before asterisk; 0 found
ai/provider/openrouter/classes/provider.php
(#27) Expected 1 space before asterisk; 0 found
(#28) Expected 1 space before asterisk; 0 found
(#132) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#136) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 12
(#136) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#147) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#150) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 12
(#150) The closing parenthesis of a multi-line control structure must be on the line after the last expression
ai/provider/openrouter/lang/en/aiprovider_openrouter.php
(#21) Expected 1 space before asterisk; 0 found
(#22) Expected 1 space before asterisk; 0 found
ai/provider/openrouter/settings.php
(#22) Whitespace found at end of line
ai/provider/openrouter/tests/process_generate_image_test.php
(#27) Expected 1 space before asterisk; 0 found
(#28) Expected 1 space before asterisk; 0 found
(#129) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Only one argument is allowed per line in a multi-line function call
(#130) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#130) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Opening parenthesis of a multi-line function call must be the last content on the line
(#131) Only one argument is allowed per line in a multi-line function call
(#132) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#132) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Only one argument is allowed per line in a multi-line function call
(#134) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
ai/provider/openrouter/tests/process_generate_text_test.php
(#28) Expected 1 space before asterisk; 0 found
(#29) Expected 1 space before asterisk; 0 found
(#158) Function closing brace must go on the next line following the body; found 1 blank lines before brace
ai/provider/openrouter/tests/process_summarise_text_test.php
(#28) Expected 1 space before asterisk; 0 found
(#29) Expected 1 space before asterisk; 0 found
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Only one argument is allowed per line in a multi-line function call
(#104) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Only one argument is allowed per line in a multi-line function call
(#106) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#106) Closing parenthesis of a multi-line function call must be on a line by itself
(#107) Opening parenthesis of a multi-line function call must be the last content on the line
(#107) Only one argument is allowed per line in a multi-line function call
(#108) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#108) Closing parenthesis of a multi-line function call must be on a line by itself
(#152) Function closing brace must go on the next line following the body; found 1 blank lines before brace
ai/provider/openrouter/tests/provider_test.php
(#25) Expected 1 space before asterisk; 0 found
(#26) Expected 1 space before asterisk; 0 found
ai/provider/openrouter/version.php
(#21) Expected 1 space before asterisk; 0 found
(#22) Expected 1 space before asterisk; 0 found

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]