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

(65 errors, 3 warnings)

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

enrol/sber/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Expected 1 space before opening brace; found 0
(#46) Whitespace found at end of line
(#63) Whitespace found at end of line
(#77) Whitespace found at end of line
(#80) Whitespace found at end of line
(#89) Whitespace found at end of line
(#102) Whitespace found at end of line
(#104) Whitespace found at end of line
(#107) Whitespace found at end of line
(#108) Whitespace found at end of line
(#116) Whitespace found at end of line
(#120) Whitespace found at end of line
(#129) Whitespace found at end of line
(#132) Whitespace found at end of line
(#133) Whitespace found at end of line
(#141) Whitespace found at end of line
(#145) Whitespace found at end of line
(#147) Whitespace found at end of line
(#149) Whitespace found at end of line
(#159) Whitespace found at end of line
(#166) Whitespace found at end of line
(#171) Whitespace found at end of line
(#186) Whitespace found at end of line
(#199) Whitespace found at end of line
(#201) Whitespace found at end of line
(#205) Whitespace found at end of line
(#215) Whitespace found at end of line
(#216) Whitespace found at end of line
(#224) Whitespace found at end of line
(#228) Whitespace found at end of line
(#231) Whitespace found at end of line
(#232) Whitespace found at end of line
(#240) Whitespace found at end of line
(#244) Whitespace found at end of line
(#246) Whitespace found at end of line
(#254) Whitespace found at end of line
(#256) Whitespace found at end of line
(#260) Whitespace found at end of line
(#262) Whitespace found at end of line
(#263) Whitespace found at end of line
(#271) Whitespace found at end of line
(#273) Whitespace found at end of line
(#277) Whitespace found at end of line
(#279) Whitespace found at end of line
(#281) Whitespace found at end of line
(#283) Whitespace found at end of line
(#286) Whitespace found at end of line
enrol/sber/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
enrol/sber/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#220) Variable "returnUrl" must be all lower-case
enrol/sber/ordersuccess.php
(#56) Variable "plugin_instance" must not contain underscores.
(#64) Variable "plugin_instance" must not contain underscores.
(#66) Variable "plugin_instance" must not contain underscores.
(#74) Variable "plugin_instance" must not contain underscores.
(#74) Variable "plugin_instance" must not contain underscores.
enrol/sber/sendorder.php
(#35) Variable "orderNumber" must be all lower-case
(#36) Variable "returnUrl" must be all lower-case
(#41) Variable "registerUrl" must be all lower-case
(#45) Variable "orderNumber" must be all lower-case
(#45) Variable "returnUrl" must be all lower-case
(#53) Variable "registerUrl" must be all lower-case
(#57) Variable "orderId" must be all lower-case
(#58) Variable "formUrl" must be all lower-case
(#65) Variable "orderId" must be all lower-case
(#66) Variable "orderNumber" must be all lower-case
(#73) Variable "orderNumber" must be all lower-case
(#77) Variable "formUrl" must be all lower-case

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

(8 errors, 0 warnings)

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

enrol/sber/classes/privacy/provider.php
(#36) Class provider is not documented
enrol/sber/db/upgrade.php
(#27) Function xmldb_enrol_sber_upgrade is not documented
enrol/sber/lib.php
(#36) Function enrol_sber_plugin::get_currencies is not documented
(#79) Function enrol_sber_plugin::roles_protected is not documented
(#84) Function enrol_sber_plugin::allow_unenrol is not documented
(#89) Function enrol_sber_plugin::allow_manage is not documented
(#94) Function enrol_sber_plugin::show_enrolme_link is not documented
(#263) Phpdocs for function enrol_sber_plugin::restore_user_enrolment has incomplete parameters list

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 3 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

enrol/sber/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!
No changes detected to backup and restore, that may affect storage and transportability, please verify!

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]