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

(36 errors, 5 warnings)

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

mod/assign/submission/snap/classes/event/submission_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/submission/snap/lang/en/assignsubmission_snap.php
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
mod/assign/submission/snap/lib.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) 3 slashes comments are not allowed; use "// Comment." instead
mod/assign/submission/snap/locallib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#34) Whitespace found at end of line
(#54) Variable "distrosInfo" must be all lower-case
(#55) Variable "distroCodes" must be all lower-case
(#55) Variable "distrosInfo" must be all lower-case
(#57) Variable "distrosInfo" must be all lower-case
(#65) Variable "distroCodes" must be all lower-case
(#76) Commas (,) must be followed by white space.
(#81) Usage of ELSEIF not allowed; use ELSE IF instead
(#83) Usage of ELSEIF not allowed; use ELSE IF instead
(#93) Commas (,) must be followed by white space.
(#141) Line exceeds 132 characters; contains 133 characters
(#143) Variable "snapDistro" must be all lower-case
(#144) Variable "snapDistro" must be all lower-case
(#424) Variable "distros_raw" must not contain underscores.
(#424) Commas (,) must be followed by white space.
(#426) Variable "distroCodes" must be all lower-case
(#427) Variable "distros_raw" must not contain underscores.
(#430) Variable "distroCode" must be all lower-case
(#431) Variable "distroName" must be all lower-case
(#432) Variable "distroURL" must be all lower-case
(#433) Variable "distroCode" must be all lower-case
(#433) Variable "distroCode" must be all lower-case
(#433) Variable "distroName" must be all lower-case
(#433) Variable "distroURL" must be all lower-case
(#434) Variable "distroCodes" must be all lower-case
(#434) Variable "distroCode" must be all lower-case
(#437) Variable "distroCodes" must be all lower-case
(#438) Variable "distroCodes" must be all lower-case
(#489) Usage of ELSEIF not allowed; use ELSE IF instead
mod/assign/submission/snap/settings.php
(#34) Variable "exampleDistros" must be all lower-case
(#34) Line exceeds 132 characters; contains 168 characters
(#38) Variable "exampleDistros" must be all lower-case

Javascript coding style problems

(0 errors, 8 warnings)

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

mod/assign/submission/snap/amd/src/init.js
(#48) A space is required after ','. (comma-spacing)
(#49) Requires a space after '{'. (block-spacing)
(#49) Statement inside of curly braces should be on next line. (brace-style)
(#49) Requires a space before '}'. (block-spacing)
(#49) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#50) A space is required after ','. (comma-spacing)
(#51) Missing space before value for key 'selector'. (key-spacing)
(#51) A space is required after ','. (comma-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 0 warnings)

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

mod/assign/submission/snap/lib.php
(#18) Package ssignsubmission_snap is not valid
(#25) Found comment starting with three or more slashes
(#17) No one-line description found in phpdocs for file
mod/assign/submission/snap/locallib.php
(#35) Class assign_submission_snap 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

(1 errors, 1 warnings)

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

Problems running grunt
ENOENT: no such file or directory, stat 'mod/assign/submission/snap/run' Use --force to continue.

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]

mod/assign/submission/snap/templates/snapview.mustache
(#1) HTML Validation error, line 14: Bad value for attribute “src” on element “iframe”: Illegal character in fragment: “<” is not allowed. ()

Gherkin .feature problems

(0 errors, 0 warnings)

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