Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(0 errors, 3 warnings)

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

public/mod/interactivevideo/lib.php
(#1290) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.
(#1295) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.
(#1306) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.

Javascript coding style problems

(0 errors, 1 warnings)

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

public/mod/interactivevideo/amd/src/player/dyntube.js
(#319) Expected to return a value at the end of async method 'seek'. (consistent-return)

CSS problems

(0 errors, 3 warnings)

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

public/mod/interactivevideo/styles.css
(#4026) Expected line length to be no more than 132 characters (max-line-length)
(#4031) Expected line length to be no more than 132 characters (max-line-length)
(#4048) Expected line length to be no more than 132 characters (max-line-length)

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

(1 errors, 0 warnings)

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

Problems running grunt

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]

public/mod/interactivevideo/templates/captionmenu.mustache
(#1) HTML Validation info, line 8: The “button” role is unnecessary for element “button”. (qid"> <button role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn border-0 btn-sm btn-control text-white bg-transparent py-0 px-1 mx-1 "> )
public/mod/interactivevideo/templates/courseindex.mustache
(#1) ESLint did not run
public/mod/interactivevideo/templates/mobile.mustache
(#1) HTML Validation info, line 3: Attribute “[allowfullscreen]” is not serializable as XML 1.0. (d><body><core-iframe src="/mod/interactivevideo/view.php?mobileapp=1&iframe=1&id=&lang=&token=" [allowFullscreen]="true"></core)
public/mod/interactivevideo/templates/player/chapterpanel.mustache
(#1) HTML Validation info, line 22: The “list” role is unnecessary for element “ul”. (/div> <ul data-region="chapterlists" class="list-group w-100 iv-rounded-0 m-0" role="list" aria-label="((chapterlist%2C+mod_interactivevideo))"> <)
public/mod/interactivevideo/templates/player/controls.mustache
(#1) HTML Validation info, line 8: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (> <div class="align-items-start position-relative w-100 " id="interactions-nav" aria-label="((interactions%2C+mod_interactivevideo))"> )
(#1) HTML Validation info, line 35: The “button” role is unnecessary for element “button”. ( <button id="playpause" data-toggle="tooltip" data-container="#wrapper" data-trigger="hover" role="button" data-title="((playtooltip%2C+mod_interactivevideo))" type="button" class="btn border-0 btn-sm btn-control text-white bg-transparent py-0 px-0" aria-label="((playpause%2C+mod_interactivevideo))" title="((playtooltip%2C+mod_interactivevideo))"> )
(#1) HTML Validation info, line 98: The “button” role is unnecessary for element “button”. ( <button role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn border-0 btn-sm btn-control text-white bg-transparent py-0 px-1 mx-1 "> )
public/mod/interactivevideo/templates/player/messagetitle.mustache
(#1) HTML Validation info, line 4: The “heading” role is unnecessary for element “h5”. (d><body><h5 class="modal-title text-truncate mb-0 d-flex align-items-center" id="modal-title-" role="heading" aria-level="5"> <)
(#1) HTML Validation info, line 4: Empty heading. (d><body><h5 class="modal-title text-truncate mb-0 d-flex align-items-center" id="modal-title-" role="heading" aria-level="5"> <)
public/mod/interactivevideo/templates/player/player.mustache
(#1) HTML Validation info, line 66: The “list” role is unnecessary for element “ul”. ( <ul data-region="chapterlists" class="list-group w-100 iv-rounded-0 m-0" role="list" aria-label="((chapterlist%2C+mod_interactivevideo))"> )
(#1) HTML Validation info, line 90: Empty heading. ( <h1 class="h1 text-white iv-font-weight-bold line-height-100 m-1 m-sm-2 p-sm-2 p-1"> )
(#1) HTML Validation info, line 155: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <div class="align-items-start position-relative w-100 " id="interactions-nav" aria-label="((interactions%2C+mod_interactivevideo))"> )
(#1) HTML Validation info, line 182: The “button” role is unnecessary for element “button”. ( <button id="playpause" data-toggle="tooltip" data-container="#wrapper" data-trigger="hover" role="button" data-title="((playtooltip%2C+mod_interactivevideo))" type="button" class="btn border-0 btn-sm btn-control text-white bg-transparent py-0 px-0" aria-label="((playpause%2C+mod_interactivevideo))" title="((playtooltip%2C+mod_interactivevideo))"> )
(#1) HTML Validation info, line 245: The “button” role is unnecessary for element “button”. ( <button role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn border-0 btn-sm btn-control text-white bg-transparent py-0 px-1 mx-1 "> )
public/mod/interactivevideo/templates/player/startscreen.mustache
(#1) HTML Validation info, line 19: Empty heading. ( <h1 class="h1 text-white iv-font-weight-bold line-height-100 m-1 m-sm-2 p-sm-2 p-1"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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