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

(12 errors, 11 warnings)

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

blocks/dukreminder/block_dukreminder.php
(#39) Expected 5 space(s) before asterisk; 4 found
(#40) Line indented incorrectly; expected 4 spaces, found 5
(#42) Closing brace indented incorrectly; expected 5 spaces, found 4
blocks/dukreminder/course_reminders.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#77) This comment is 50% valid code; is this commented out code?
(#88) This comment is 48% valid code; is this commented out code?
(#90) Expected 1 space after "="; newline found
blocks/dukreminder/db/access.php
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
blocks/dukreminder/db/upgrade.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/dukreminder/inc.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
blocks/dukreminder/lang/en/block_dukreminder.php
(#22) Spaces must be used for alignment; tabs are not allowed
blocks/dukreminder/lib/lib.php
(#47) Expected MOODLE_INTERNAL check or config.php inclusion
(#198) Line exceeds 132 characters; contains 156 characters
(#239) This comment is 49% valid code; is this commented out code?
(#256) This comment is 42% valid code; is this commented out code?
(#290) This comment is 66% valid code; is this commented out code?
blocks/dukreminder/lib/reminder_form.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#80) Commas (,) must be followed by white space.
(#110) This comment is 57% valid code; is this commented out code?
(#119) This comment is 58% valid code; is this commented out code?
(#177) Commas (,) must be followed by white space.
blocks/dukreminder/new_reminder.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 2 warnings)

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

blocks/dukreminder/lib/form.js
(#1) 'insertTextAtCursor' is defined but never used.
(#2) 'html' is defined but never used.

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(11 errors, 0 warnings)

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

blocks/dukreminder/block_dukreminder.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/classes/event/send_mail.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/course_reminders.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/db/access.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/db/upgrade.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/inc.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/lang/en/block_dukreminder.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/lib/lib.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/lib/reminder_form.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/new_reminder.php
(#23) Invalid phpdocs tag @ideaandconcept used
blocks/dukreminder/version.php
(#23) Invalid phpdocs tag @ideaandconcept used

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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]