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

(10 errors, 78 warnings)

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

report/offlinequizcron/classes/job_files_table.php
(#114) File must end with a newline character
report/offlinequizcron/classes/jobs_table.php
(#75) File must end with a newline character
report/offlinequizcron/classes/privacy/provider.php
(#50) There must not be a space before the colon in a return type declaration
(#53) File must end with a newline character
report/offlinequizcron/db/access.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#38) There should be a comma after the last array item in a multi-line array.
report/offlinequizcron/download.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#44) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
report/offlinequizcron/index.php
(#35) Short array syntax must be used to define arrays
report/offlinequizcron/lang/en/report_offlinequizcron.php
(#41) The string key "importuser" is not in the correct order, it should be before "intro"
(#49) The string key "pagesize_details" is not in the correct order, it should be before "pagesize_jobs"
(#53) The string key "processingqueue" is not in the correct order, it should be before "processqueue"
(#57) The string key "search" is not in the correct order, it should be before "showjobswithstatus"
(#68) The string key "timefinish" is not in the correct order, it should be before "timestart"
report/offlinequizcron/locallib.php
(#53) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#118) Line exceeds 132 characters; contains 152 characters
(#134) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#191) There should be a comma after the last array item in a multi-line array.
(#266) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#310) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#409) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#439) Short array syntax must be used to define arrays
(#441) There should be a comma after the last array item in a multi-line array.
(#446) Short array syntax must be used to define arrays
(#449) Short array syntax must be used to define arrays
(#451) There should be a comma after the last array item in a multi-line array.
(#474) Short array syntax must be used to define arrays
report/offlinequizcron/processqueue.php
(#33) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
report/offlinequizcron/resubmit.php
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
report/offlinequizcron/version.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Short array syntax must be used to define arrays

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

(34 errors, 10 warnings)

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

report/offlinequizcron/styles.css
(#52) Expected newline before "}" (block-closing-brace-newline-before)
(#70) Expected newline after "{" (block-opening-brace-newline-after)
(#76) Expected newline after "{" (block-opening-brace-newline-after)
(#80) Expected newline after "{" (block-opening-brace-newline-after)
(#84) Expected newline after "{" (block-opening-brace-newline-after)
(#88) Expected newline after "{" (block-opening-brace-newline-after)
(#92) Expected newline after "{" (block-opening-brace-newline-after)
(#38) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#42) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#46) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#47) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#56) Expected "#BBBBBB" to be "#bbbbbb" (color-hex-case)
(#38) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#42) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#46) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#47) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#56) Expected "#BBBBBB" to be "#BBB" (color-hex-length)
(#38) Unexpected !important (declaration-no-important)
(#42) Unexpected !important (declaration-no-important)
(#46) Unexpected !important (declaration-no-important)
(#47) Unexpected !important (declaration-no-important)
(#56) Unexpected !important (declaration-no-important)
(#52) Unexpected whitespace at end of line (no-eol-whitespace)
(#70) Unexpected whitespace at end of line (no-eol-whitespace)
(#76) Unexpected whitespace at end of line (no-eol-whitespace)
(#80) Unexpected whitespace at end of line (no-eol-whitespace)
(#84) Unexpected whitespace at end of line (no-eol-whitespace)
(#88) Unexpected whitespace at end of line (no-eol-whitespace)
(#92) Unexpected whitespace at end of line (no-eol-whitespace)
(#29) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)

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

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

Problems running grunt
Task "gherkinlint" failed. Use --force to continue.

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

(1 errors, 0 warnings)

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

report/offlinequizcron/tests/behat/plugin_installed.feature
(#12) New line at EOF(end of file) is required