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

(1 errors, 36 warnings)

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

blocks/smartest/backup/moodle2/restore_smartest_block_task.class.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Multiple artifacts detected.
blocks/smartest/block_smartest.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
blocks/smartest/classes/smartest_constants.php
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
blocks/smartest/classes/smartest_grades.php
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#53) This comment is 80% valid code; is this commented out code?
blocks/smartest/classes/smartest_moodle_jwt.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#125) Line exceeds maximum limit of 180 characters; contains 184 characters
blocks/smartest/db/upgrade.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/smartest/gr_import.php
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#59) Logical operator "and" is prohibited; use "&&" instead
(#121) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#128) Line exceeds 132 characters; contains 149 characters
(#132) This comment is 80% valid code; is this commented out code?
(#135) Line exceeds 132 characters; contains 145 characters
(#139) This comment is 80% valid code; is this commented out code?
(#142) Line exceeds 132 characters; contains 141 characters
(#149) Line exceeds 132 characters; contains 137 characters
(#155) Line exceeds 132 characters; contains 133 characters
blocks/smartest/lib.php
(#85) Logical operator "or" is prohibited; use "||" instead
blocks/smartest/sync.php
(#51) Logical operator "and" is prohibited; use "&&" instead
(#55) Logical operator "or" is prohibited; use "||" instead
(#115) Line exceeds 132 characters; contains 141 characters
(#118) Line exceeds 132 characters; contains 136 characters
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Line exceeds 132 characters; contains 153 characters
(#152) Line exceeds 132 characters; contains 145 characters
(#153) Line exceeds 132 characters; contains 174 characters
(#155) Line exceeds 132 characters; contains 149 characters
(#161) Line exceeds 132 characters; contains 173 characters
(#164) This comment is 67% valid code; is this commented out code?
(#166) Line exceeds 132 characters; contains 149 characters
(#169) This comment is 80% valid code; is this commented out code?
(#171) Line exceeds 132 characters; contains 145 characters
(#174) This comment is 80% valid code; is this commented out code?
(#176) Line exceeds 132 characters; contains 141 characters
(#180) Line exceeds 132 characters; contains 137 characters
(#185) Line exceeds 132 characters; contains 133 characters

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]