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

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

course/format/timeline/classes/output/bkp.php
(#2) The opening <?php tag must be followed by exactly one newline.
course/format/timeline/classes/output/timeline.php
(#437) Inline comments must end in full-stops, exclamation marks, or question marks
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) 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

(2 errors, 1 warnings)

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

course/format/timeline/classes/output/bkp.php
(#3) Package is not specified for class bkp. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#3) Class bkp is not documented

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

(8 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

course/format/timeline/amd/build/createcomment.min.js
Uncommitted change detected.
course/format/timeline/amd/build/createcomment.min.js.map
Uncommitted change detected.
course/format/timeline/amd/build/createpost_modal.min.js
Uncommitted change detected.
course/format/timeline/amd/build/createpost_modal.min.js.map
Uncommitted change detected.
course/format/timeline/amd/build/sweetalert.min.js
Uncommitted change detected.
course/format/timeline/amd/build/sweetalert.min.js.map
Uncommitted change detected.
course/format/timeline/amd/build/tribute.min.js
Uncommitted change detected.
course/format/timeline/amd/build/tribute.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 4 warnings)

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

course/format/timeline/templates/post.mustache
(#1) HTML Validation error, line 33: Attribute “placeholder” not allowed on element “p” at this point. ( <p class="post-comment-input" placeholder="[[writeacomment, format_timeline]]" contenteditable="true" data-tribute="true"></p> )
course/format/timeline/templates/timeline.mustache
(#1) HTML Validation error, line 39: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div>...</d)
(#1) ESLint error []: Parsing error: Unexpected token ) ( ), Line: 9 Column: 58
course/format/timeline/templates/timeline_post_item.mustache
(#1) HTML Validation error, line 41: Attribute “placeholder” not allowed on element “p” at this point. ( <p class="post-comment-input" placeholder="[[writeacomment, format_timeline]]" contenteditable="true" data-tribute="true"></p> )

Gherkin .feature problems

(0 errors, 0 warnings)

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