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

(45 errors, 3 warnings)

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

mod/interactivevideo/backup/moodle2/restore_interactivevideo_course_settings.php
(#105) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#108) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#108) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/interactivevideo/classes/event/course_module_instance_list_viewed.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/classes/event/course_module_viewed.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/classes/output/mobile.php
(#32) Opening brace must not be followed by a blank line
(#81) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#92) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#92) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/interactivevideo/classes/plugininfo/ivplugin.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/classes/privacy/provider.php
(#36) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#181) Long list syntax is not allowed
(#317) Long list syntax is not allowed
(#364) Long list syntax is not allowed
mod/interactivevideo/index.php
(#46) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#72) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#72) Closing parenthesis of a multi-line function call must be on a line by itself
mod/interactivevideo/interactions.php
(#138) Expected at least 1 space before "."; 0 found
(#138) Expected at least 1 space after "."; 0 found
(#138) Expected at least 1 space before "."; 0 found
mod/interactivevideo/lib.php
(#1010) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1011) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1283) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.
(#1288) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.
(#1299) The $escape parameter must be passed when calling str_getcsv() as its default value will change in a future PHP version.
(#1715) Long list syntax is not allowed
mod/interactivevideo/locallib.php
(#24) Opening brace must not be followed by a blank line
(#331) Long list syntax is not allowed
mod/interactivevideo/manage.php
(#134) Long list syntax is not allowed
(#199) Long list syntax is not allowed
mod/interactivevideo/mod_form.php
(#28) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/chapter/classes/form.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/chapter/classes/privacy/provider.php
(#28) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/chapter/lang/km/ivplugin_chapter.php
(#32) Expected 1 blank line at end of file; 2 found
mod/interactivevideo/plugins/contentbank/classes/external/getitem.php
(#43) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/contentbank/classes/external/getitems.php
(#43) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/contentbank/classes/main.php
(#137) Blank line found at start of control structure
mod/interactivevideo/plugins/contentbank/classes/privacy/provider.php
(#28) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/iframe/classes/form.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/iframe/classes/privacy/provider.php
(#28) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/richtext/classes/main.php
(#26) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/richtext/classes/privacy/provider.php
(#28) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/skipsegment/classes/external/add_skip.php
(#34) Opening brace must not be followed by a blank line
mod/interactivevideo/plugins/skipsegment/classes/privacy/provider.php
(#28) Opening brace must not be followed by a blank line

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

(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]

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)

Gherkin .feature problems

(0 errors, 0 warnings)

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