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

(159 errors, 30 warnings)

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

filter/simplequestion/filter.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#25) Whitespace found at end of line
(#33) Whitespace found at end of line
(#39) Line indented incorrectly; expected 4 spaces, found 2
(#39) Visibility must be declared on method "filter"
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Line indented incorrectly; expected at least 8 spaces, found 2
(#42) Line indented incorrectly; expected at least 8 spaces, found 2
(#42) Variable "START_TAG" must be all lower-case
(#42) Variable "START_TAG" must not contain underscores.
(#43) Line indented incorrectly; expected at least 8 spaces, found 2
(#43) Variable "END_TAG" must be all lower-case
(#43) Variable "END_TAG" must not contain underscores.
(#44) Line indented incorrectly; expected at least 8 spaces, found 2
(#44) Variable "LINKTEXTLIMIT" must be all lower-case
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Line indented incorrectly; expected at least 8 spaces, found 2
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line indented incorrectly; expected at least 8 spaces, found 4
(#49) Line indented incorrectly; expected 8 spaces, found 4
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line indented incorrectly; expected at least 12 spaces, found 6
(#51) Line indented incorrectly; expected at least 12 spaces, found 6
(#52) Line indented incorrectly; expected 8 spaces, found 4
(#53) Line indented incorrectly; expected 8 spaces, found 4
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Line indented incorrectly; expected at least 12 spaces, found 6
(#55) Line indented incorrectly; expected at least 12 spaces, found 6
(#56) Line indented incorrectly; expected 8 spaces, found 4
(#58) Line indented incorrectly; expected at least 8 spaces, found 4
(#59) Line indented incorrectly; expected at least 8 spaces, found 4
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line indented incorrectly; expected at least 8 spaces, found 4
(#61) Line indented incorrectly; expected at least 8 spaces, found 4
(#61) Variable "START_TAG" must be all lower-case
(#61) Variable "START_TAG" must not contain underscores.
(#61) Variable "END_TAG" must be all lower-case
(#61) Variable "END_TAG" must not contain underscores.
(#61) Variable "LINKTEXTLIMIT" must be all lower-case
(#61) Whitespace found at end of line
(#63) Line indented incorrectly; expected at least 8 spaces, found 4
(#64) Line indented incorrectly; expected 4 spaces, found 2
(#68) Expected 1 space(s) before asterisk; 0 found
(#69) Expected 1 space(s) before asterisk; 0 found
(#70) Expected 1 space(s) before asterisk; 0 found
(#71) Expected 1 space(s) before asterisk; 0 found
(#72) Expected 1 space(s) before asterisk; 0 found
(#74) Whitespace found at end of line
(#75) Line indented incorrectly; expected at least 4 spaces, found 2
(#76) Line indented incorrectly; expected 4 spaces, found 2
(#76) WHILE keyword must be lowercase; expected "while" but found "While"
(#77) Line indented incorrectly; expected at least 8 spaces, found 4
(#78) Line indented incorrectly; expected 8 spaces, found 4
(#79) Line indented incorrectly; expected at least 12 spaces, found 7
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// get up to string" but found "//get up to string"
(#80) Line indented incorrectly; expected at least 12 spaces, found 7
(#81) Line indented incorrectly; expected at least 12 spaces, found 7
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Whitespace found at end of line
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Line indented incorrectly; expected at least 12 spaces, found 7
(#84) Line indented incorrectly; expected at least 12 spaces, found 7
(#85) Line indented incorrectly; expected at least 12 spaces, found 7
(#86) Whitespace found at end of line
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Line indented incorrectly; expected at least 12 spaces, found 7
(#88) Line indented incorrectly; expected at least 12 spaces, found 7
(#89) Whitespace found at end of line
(#90) Line indented incorrectly; expected at least 12 spaces, found 7
(#91) Line indented incorrectly; expected at least 12 spaces, found 7
(#92) Whitespace found at end of line
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Line indented incorrectly; expected at least 12 spaces, found 7
(#94) Line indented incorrectly; expected at least 12 spaces, found 7
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Line indented incorrectly; expected at least 12 spaces, found 7
(#97) Line indented incorrectly; expected 12 spaces, found 7
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Line indented incorrectly; expected at least 16 spaces, found 9
(#99) Line indented incorrectly; expected at least 16 spaces, found 9
(#99) Whitespace found at end of line
(#100) Line indented incorrectly; expected at least 16 spaces, found 9
(#101) Line indented incorrectly; expected 12 spaces, found 7
(#102) Whitespace found at end of line
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Line indented incorrectly; expected at least 12 spaces, found 7
(#104) Line indented incorrectly; expected 12 spaces, found 7
(#105) Line indented incorrectly; expected at least 16 spaces, found 12
(#105) Whitespace found at end of line
(#106) Line indented incorrectly; expected at least 16 spaces, found 12
(#107) Line indented incorrectly; expected 12 spaces, found 7
(#108) Whitespace found at end of line
(#109) Line indented incorrectly; expected 12 spaces, found 7
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Line indented incorrectly; expected at least 16 spaces, found 8
(#111) Line indented incorrectly; expected at least 16 spaces, found 8
(#112) Line indented incorrectly; expected 12 spaces, found 7
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Line indented incorrectly; expected at least 12 spaces, found 7
(#115) Line indented incorrectly; expected at least 12 spaces, found 7
(#116) Line indented incorrectly; expected at least 12 spaces, found 7
(#117) Line indented incorrectly; expected 8 spaces, found 4
(#118) Line indented incorrectly; expected 4 spaces, found 2
(#119) Line indented incorrectly; expected at least 4 spaces, found 2
filter/simplequestion/lang/en/filter_simplequestion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
filter/simplequestion/preview.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Whitespace found at end of line
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Expected 1 space before "+"; 2 found
(#181) Expected 1 space before "+"; 4 found
(#183) Expected 1 space before "+"; 2 found
filter/simplequestion/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#31) Line indented incorrectly; expected at least 4 spaces, found 2
(#32) Expected 3 space(s) before asterisk; 2 found
(#33) Expected 3 space(s) before asterisk; 2 found
(#34) Expected 3 space(s) before asterisk; 2 found
(#35) Expected 3 space(s) before asterisk; 2 found
(#36) Line indented incorrectly; expected 4 spaces, found 2
(#37) Line indented incorrectly; expected at least 8 spaces, found 4
(#38) Line indented incorrectly; expected at least 8 spaces, found 4
(#39) Line indented incorrectly; expected at least 8 spaces, found 4
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Line indented incorrectly; expected at least 8 spaces, found 4
(#42) Line indented incorrectly; expected at least 8 spaces, found 4
(#42) Whitespace found at end of line
(#44) Line indented incorrectly; expected at least 8 spaces, found 4
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Line indented incorrectly; expected at least 8 spaces, found 4
(#46) Line indented incorrectly; expected at least 8 spaces, found 4
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#47) Whitespace found at end of line
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line indented incorrectly; expected at least 8 spaces, found 4
(#49) Line indented incorrectly; expected 8 spaces, found 4
(#49) Expected "if (...) {\n"; found "if (...) { "
(#49) Closing brace must be on a line by itself
(#50) Whitespace found at end of line
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Line indented incorrectly; expected at least 8 spaces, found 4
(#52) Line indented incorrectly; expected at least 8 spaces, found 4
(#52) Whitespace found at end of line
(#53) Line indented incorrectly; expected at least 8 spaces, found 4
(#54) Line indented incorrectly; expected 4 spaces, found 2
filter/simplequestion/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks

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

(12 errors, 3 warnings)

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

filter/simplequestion/filter.php
(#2) Empty line found after PHP open tag
(#39) Function filter_simplequestion::filter is not documented
(#29) No one-line description found in phpdocs for class filter_simplequestion
(#67) Phpdocs for function filter_simplequestion_insert_questions has incomplete parameters list
(#29) Class filter_simplequestion does not have @copyright tag
(#29) Class filter_simplequestion does not have @license tag
(#21) Package filter is not valid
filter/simplequestion/lang/en/filter_simplequestion.php
(#2) Empty line found after PHP open tag
(#23) Package filter is not valid
filter/simplequestion/preview.php
(#25) Package moodlecore is not valid
filter/simplequestion/renderer.php
(#2) Empty line found after PHP open tag
(#29) Class filter_simplequestion_renderer is not documented
(#31) Phpdocs for function filter_simplequestion_renderer::get_question has incomplete parameters list
(#21) Package filter is not valid
filter/simplequestion/version.php
(#20) Package filter is not valid

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]