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

(27 errors, 15 warnings)

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

mod/courselinks/backup/moodle2/restore_courselinks_activity_task.class.php
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) This comment is 65% valid code; is this commented out code?
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) This comment is 69% valid code; is this commented out code?
mod/courselinks/classes/event/course_module_viewed.php
(#47) File must end with a newline character
mod/courselinks/classes/output/mobile.php
(#62) Line exceeds 132 characters; contains 137 characters
mod/courselinks/db/mobile.php
(#43) File must end with a newline character
mod/courselinks/db/upgrade.php
(#76) File must end with a newline character
mod/courselinks/index.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#32) File must end with a newline character
mod/courselinks/lang/en/courselinks.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) File must end with a newline character
mod/courselinks/lang/es/courselinks.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) File must end with a newline character
mod/courselinks/lang/fr/courselinks.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) File must end with a newline character
mod/courselinks/lib.php
(#36) Closing brace must be on a line by itself
(#37) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
(#39) Closing brace must be on a line by itself
(#40) Closing brace must be on a line by itself
(#41) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#45) Closing brace must be on a line by itself
(#46) Closing brace must be on a line by itself
(#176) Opening brace should be on the same line as the declaration
(#267) Line exceeds 132 characters; contains 145 characters
(#270) Line exceeds 132 characters; contains 148 characters
(#295) Line exceeds 132 characters; contains 143 characters
(#336) Line exceeds 132 characters; contains 162 characters
(#358) Line exceeds 132 characters; contains 150 characters
(#358) Inline comments must start with a capital letter, digit or 3-dots sequence
(#358) This comment is 65% valid code; is this commented out code?
(#407) Empty IF statement detected
(#514) Inline comments must end in full-stops, exclamation marks, or question marks
(#520) File must end with a newline character
mod/courselinks/mod_form.php
(#40) Visibility must be declared on method "definition"
(#98) Visibility must be declared on method "validation"
mod/courselinks/view.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) File must end with a newline character

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

(15 errors, 3 warnings)

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

mod/courselinks/backup/moodle2/restore_courselinks_activity_task.class.php
(#17) No one-line description found in phpdocs for file
mod/courselinks/backup/moodle2/restore_courselinks_stepslib.php
(#17) No one-line description found in phpdocs for file
mod/courselinks/db/access.php
(#17) No one-line description found in phpdocs for file
mod/courselinks/lang/en/courselinks.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/courselinks/lang/es/courselinks.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/courselinks/lang/fr/courselinks.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/courselinks/lib.php
(#31) Phpdocs for function courselinks_supports has incomplete parameters list
(#172) Phpdocs for function courselinks_get_courses_as_array has incomplete parameters list
(#224) Phpdocs for function courselinks_get_content has incomplete parameters list
(#250) Phpdocs for function courselinks_get_content_card has incomplete parameters list
(#288) Phpdocs for function courselinks_get_content_nav has incomplete parameters list
(#319) Phpdocs for function courselinks_get_content_list has incomplete parameters list
(#347) Phpdocs for function courselinks_get_course_image has incomplete parameters list
(#393) Phpdocs for function courselinks_has_access has incomplete parameters list
(#358) Invalid inline phpdocs tag @todo found

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, 1 warnings)

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

mod/courselinks/templates/mobile_view.mustache
(#1) Example context missing.

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]