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

(21 errors, 8 warnings)

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

local/preventcopy/lang/en/local_preventcopy.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file local_preventcopy.php
(#24) The string key "nonstudentrole" is not in the correct order, it should be before "studentroledesc"
(#30) The string key "listofpages" is not in the correct order, it should be before "preventcopyjsdesc"
(#31) Unexpected string end, it should be a line feed after a semicolon
(#31) File must end with a newline character
local/preventcopy/lib.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Expected "if (...) {\n"; found "if(...){\n"
(#44) Whitespace found at end of line
(#46) Whitespace found at end of line
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Expected 1 space before "=="; 0 found
(#64) Expected 1 space after "=="; 0 found
(#65) Whitespace found at end of line
(#66) Expected 1 space before "=="; 0 found
(#66) Expected 1 space after "=="; 0 found
(#67) Whitespace found at end of line
(#79) function name "shouldPreventCopy" must be lower-case letters only
(#79) Expected 1 space before opening brace; found 0
local/preventcopy/settings.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) File must end with a newline character
local/preventcopy/version.php
(#33) File must end with a newline character

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]

local/preventcopy/amd/build/inject.min.js
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]