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

(193 errors, 6 warnings)

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

plagiarism/copycheck/copycheck_settings_form.php
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 8 spaces, found 2
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 8 spaces, found 2
plagiarism/copycheck/copycheck_submissions.php
(#51) Line exceeds 132 characters; contains 134 characters
(#69) Inline control structures are not allowed
(#86) Inline control structures are not allowed
(#92) Line exceeds 132 characters; contains 152 characters
(#193) Public method name "plagiarism_plugin_copycheck_submissions::NewGuid" must be in lower-case letters only
(#195) Line exceeds 132 characters; contains 135 characters
(#220) Inline control structures are not allowed
(#305) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#307) Expected "if (...) {\n"; found "if (...)\n {\n"
(#318) A closing tag is not permitted at the end of a PHP file
plagiarism/copycheck/db/events.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
plagiarism/copycheck/db/install.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
plagiarism/copycheck/lang/en/plagiarism_copycheck.php
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
plagiarism/copycheck/lang/nl/plagiarism_copycheck.php
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
plagiarism/copycheck/lib.php
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 8 spaces, found 2
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 12 spaces, found 3
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected 12 spaces, found 3
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 16 spaces, found 4
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 16 spaces, found 4
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 16 spaces, found 4
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected 16 spaces, found 4
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 20 spaces, found 5
(#71) Expected 1 space after "="; 2 found
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 20 spaces, found 5
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 20 spaces, found 5
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 20 spaces, found 5
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected 16 spaces, found 4
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 20 spaces, found 5
(#76) Inline control structures are not allowed
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 20 spaces, found 5
(#77) Expected 1 space after "="; 2 found
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 20 spaces, found 5
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 20 spaces, found 5
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 20 spaces, found 5
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 20 spaces, found 5
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 20 spaces, found 5
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 16 spaces, found 4
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 16 spaces, found 4
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 16 spaces, found 4
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 20 spaces, found 5
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 20 spaces, found 5
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 20 spaces, found 5
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 20 spaces, found 5
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 20 spaces, found 5
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 20 spaces, found 5
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 20 spaces, found 5
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 20 spaces, found 5
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 20 spaces, found 5
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 20 spaces, found 5
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 20 spaces, found 5
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Line indented incorrectly; expected at least 20 spaces, found 5
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 20 spaces, found 5
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected at least 20 spaces, found 5
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected 16 spaces, found 4
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 12 spaces, found 3
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected 8 spaces, found 2
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Tab found within whitespace
(#106) Whitespace found at end of line
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 8 spaces, found 2
(#121) Inline control structures are not allowed
(#125) Inline control structures are not allowed
(#126) Inline control structures are not allowed
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Tab found within whitespace
(#156) Whitespace found at end of line
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 8 spaces, found 2
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected at least 12 spaces, found 3
(#160) Spaces must be used to indent lines; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected at least 12 spaces, found 3
(#161) Spaces must be used to indent lines; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected at least 12 spaces, found 3
(#163) Spaces must be used to indent lines; tabs are not allowed
(#163) Tab found within whitespace
(#163) Line indented incorrectly; expected at least 12 spaces, found 3
(#163) Inline control structures are not allowed
(#164) Spaces must be used to indent lines; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected at least 12 spaces, found 3
(#164) Inline control structures are not allowed
(#166) Spaces must be used to indent lines; tabs are not allowed
(#166) Tab found within whitespace
(#166) Line indented incorrectly; expected 12 spaces, found 3
(#167) Spaces must be used to indent lines; tabs are not allowed
(#167) Tab found within whitespace
(#167) Line indented incorrectly; expected at least 16 spaces, found 4
(#168) Spaces must be used to indent lines; tabs are not allowed
(#168) Tab found within whitespace
(#168) Line indented incorrectly; expected at least 16 spaces, found 4
(#169) Spaces must be used to indent lines; tabs are not allowed
(#169) Tab found within whitespace
(#169) Line indented incorrectly; expected 12 spaces, found 3
(#170) Spaces must be used to indent lines; tabs are not allowed
(#170) Tab found within whitespace
(#170) Line indented incorrectly; expected at least 16 spaces, found 4
(#171) Spaces must be used to indent lines; tabs are not allowed
(#171) Tab found within whitespace
(#171) Line indented incorrectly; expected 12 spaces, found 3
(#172) Spaces must be used to indent lines; tabs are not allowed
(#172) Tab found within whitespace
(#172) Line indented incorrectly; expected 8 spaces, found 2
plagiarism/copycheck/report.php
(#37) Inline control structures are not allowed
(#77) Line exceeds 132 characters; contains 173 characters
plagiarism/copycheck/settings.php
(#46) Inline control structures are not allowed

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 csslint [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]

npm-shrinkwrap.json
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]