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

(4 errors, 16 warnings)

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

blocks/onlinesurvey/block_onlinesurvey.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/onlinesurvey/classes/privacy/provider.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/onlinesurvey/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/onlinesurvey/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#548) Inline comments must start with a capital letter, digit or 3-dots sequence
(#548) This comment is 62% valid code; is this commented out code?
(#648) Logical operator "or" is prohibited; use "||" instead
(#711) Inline comments must start with a capital letter, digit or 3-dots sequence
(#711) This comment is 69% valid code; is this commented out code?
(#720) Inline comments must start with a capital letter, digit or 3-dots sequence
(#720) This comment is 70% valid code; is this commented out code?
(#749) The use of function error_log() is forbidden; use debugging() instead
(#761) The use of function error_log() is forbidden; use debugging() instead
blocks/onlinesurvey/onlinesurvey_soap_client.php
(#107) Logical operator "and" is prohibited; use "&&" instead
(#128) method name "onlinesurvey_soap_client::__doRequest" is invalid; only PHP magic methods should be prefixed with a double underscore
(#128) Variable "one_way" must not contain underscores.
blocks/onlinesurvey/settings.php
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#248) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence

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]


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

(0 errors, 0 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]


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]