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

(6 errors, 7 warnings)

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

course/format/topicsactivitycards/classes/course_renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Line exceeds 132 characters; contains 133 characters
(#127) global $OUTPUT cannot be used in renderers. Use $this->output.
(#127) global $PAGE cannot be used in renderers. Use $this->page.
(#141) global $PAGE cannot be used in renderers. Use $this->page.
(#144) global $PAGE cannot be used in renderers. Use $this->page.
course/format/topicsactivitycards/format.php
(#41) Expected 1 space after ">="; 0 found
(#57) Inline comments must end in full-stops, exclamation marks, or question marks

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

(13 errors, 1 warnings)

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

course/format/topicsactivitycards/backup/moodle2/restore_format_topicsactivitycards_plugin.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/classes/course_renderer.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#12) Class course_renderer is not documented
(#19) Inline phpdocs tag {@link core_course_renderer::course_section_cm()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#95) Inline phpdocs tag {@link core_course_renderer::course_section_cm()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#116) Inline phpdocs tag {@link core_course_renderer::course_section_cm()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#12) Package is not specified for class course_renderer. It is also not specified in file-level phpdocs
course/format/topicsactivitycards/classes/privacy/provider.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/format.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/lang/en/format_topicsactivitycards.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/lib.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/renderer.php
(#17) No one-line description found in phpdocs for file
course/format/topicsactivitycards/version.php
(#17) No one-line description found in phpdocs for file

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]

course/format/topicsactivitycards/templates/coursemodule.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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