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

(96 errors, 44 warnings)

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

enrol/teameo/classes/external/enrol_users.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#75) There should be a comma after the last array item in a multi-line array.
(#93) Short array syntax must be used to define arrays
(#125) Line exceeds 132 characters; contains 146 characters
(#133) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
enrol/teameo/classes/external/get_enrolled_users.php
(#57) There should be a comma after the last array item in a multi-line array.
(#78) There should be a comma after the last array item in a multi-line array.
(#84) Expected 6 spaces before asterisk; 5 found
(#85) Expected 6 spaces before asterisk; 5 found
(#86) Expected 6 spaces before asterisk; 5 found
(#87) Expected 6 spaces before asterisk; 5 found
(#88) Expected 6 spaces before asterisk; 5 found
(#89) Expected 6 spaces before asterisk; 5 found
(#90) Expected 6 spaces before asterisk; 5 found
(#91) Expected 6 spaces before asterisk; 5 found
(#92) Expected 6 spaces before asterisk; 5 found
(#101) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#306) There should be a comma after the last array item in a multi-line array.
(#321) There should be a comma after the last array item in a multi-line array.
(#323) There should be a comma after the last array item in a multi-line array.
enrol/teameo/classes/external/meta_get_instances.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#58) Expected 6 spaces before asterisk; 5 found
(#59) Expected 6 spaces before asterisk; 5 found
(#60) Expected 6 spaces before asterisk; 5 found
(#61) Expected 6 spaces before asterisk; 5 found
(#62) Expected 6 spaces before asterisk; 5 found
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) Whitespace found at end of line
(#84) Short array syntax must be used to define arrays
enrol/teameo/classes/external/unenrol_users.php
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#78) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
enrol/teameo/classes/external/unenrol_users_teameo.php
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#78) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
enrol/teameo/db/access.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#47) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#53) There should be a comma after the last array item in a multi-line array.
enrol/teameo/db/services.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#106) Whitespace found at end of line
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) There should be a comma after the last array item in a multi-line array.
(#121) There should be a comma after the last array item in a multi-line array.
enrol/teameo/lang/en/enrol_teameo.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#25) Unexpected string end, it should be a line feed after a semicolon
(#26) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#29) Unexpected string end, it should be a line feed after a semicolon
(#30) Unexpected string end, it should be a line feed after a semicolon
(#31) Unexpected string end, it should be a line feed after a semicolon
(#32) Unexpected string end, it should be a line feed after a semicolon
(#34) Unexpected string end, it should be a line feed after a semicolon
(#35) Unexpected string end, it should be a line feed after a semicolon
(#36) Unexpected string end, it should be a line feed after a semicolon
enrol/teameo/lang/es/enrol_teameo.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#25) Unexpected string end, it should be a line feed after a semicolon
(#26) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#29) Unexpected string end, it should be a line feed after a semicolon
(#30) Unexpected string end, it should be a line feed after a semicolon
(#31) Unexpected string end, it should be a line feed after a semicolon
(#32) Unexpected string end, it should be a line feed after a semicolon
(#34) Unexpected string end, it should be a line feed after a semicolon
(#35) Unexpected string end, it should be a line feed after a semicolon
(#36) Unexpected string end, it should be a line feed after a semicolon
enrol/teameo/lang/fr/enrol_teameo.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#25) Unexpected string end, it should be a line feed after a semicolon
(#26) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#29) Unexpected string end, it should be a line feed after a semicolon
(#30) Unexpected string end, it should be a line feed after a semicolon
(#31) Unexpected string end, it should be a line feed after a semicolon
(#32) Unexpected string end, it should be a line feed after a semicolon
(#34) Unexpected string end, it should be a line feed after a semicolon
(#35) Unexpected string end, it should be a line feed after a semicolon
(#36) Unexpected string end, it should be a line feed after a semicolon
enrol/teameo/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
enrol/teameo/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".

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]

enrol/teameo/classes/external/meta_get_instances.php
(#60) Phpdocs for function meta_get_instances::execute 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

(0 errors, 0 warnings)

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


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]