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

(43 errors, 0 warnings)

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

mod/viewer3d/backup/moodle2/backup_viewer3d_activity_task.class.php
(#28) Opening brace must not be followed by a blank line
(#55) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#55) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
mod/viewer3d/backup/moodle2/backup_viewer3d_stepslib.php
(#24) Opening brace must not be followed by a blank line
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#34) Only one argument is allowed per line in a multi-line function call
(#35) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#35) Closing parenthesis of a multi-line function call must be on a line by itself
mod/viewer3d/backup/moodle2/restore_viewer3d_activity_task.class.php
(#28) Opening brace must not be followed by a blank line
mod/viewer3d/backup/moodle2/restore_viewer3d_stepslib.php
(#24) Opening brace must not be followed by a blank line
mod/viewer3d/classes/event/course_module_instance_list_viewed.php
(#26) Opening brace must not be followed by a blank line
mod/viewer3d/classes/event/course_module_viewed.php
(#26) Opening brace must not be followed by a blank line
mod/viewer3d/classes/privacy/provider.php
(#26) Opening brace must not be followed by a blank line
mod/viewer3d/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/viewer3d/lib.php
(#177) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#177) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#190) Expected at least 1 space before "."; 0 found
(#190) Expected at least 1 space after "."; 0 found
(#190) Expected at least 1 space before "."; 0 found
(#190) Expected at least 1 space after "."; 0 found
mod/viewer3d/mod_form.php
(#28) Opening brace must not be followed by a blank line
(#77) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#78) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#79) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#80) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#81) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#82) Multi-line function call not indented correctly; expected 12 spaces but found 8
mod/viewer3d/view.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found

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

(1 errors, 0 warnings)

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

mod/viewer3d/mod_form.php
(#72) Phpdocs for function mod_viewer3d_mod_form::data_preprocessing has incomplete parameters list

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

(2 errors, 0 warnings)

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

mod/viewer3d/amd/build/viewer3d.min.js
Uncommitted change detected.
mod/viewer3d/amd/build/viewer3d.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, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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